summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8ac88a2..b6fce54 100644
--- a/README.md
+++ b/README.md
@@ -10,3 +10,18 @@ To build this package, do the following steps:
To full clean the repository again run `./bootstrap.sh clean`.
```
+
+## D-Bus bus names
+
+```
+To enable the use of Linux features like cgroups prioritization and
+udev/systemd control, one instance of phosphor-hwmon is intended to
+be run per hwmon sysfs class instance.
+
+This requires an algorithm for selecting a stable, well-known D-Bus busname.
+
+The algorithm is <PREFIX>-<ID>.Hwmon<N> where PREFIX is an autoconf
+configurable prefix (BUSNAME_PREFIX, xyz.openbmc_project by default),
+ID is a std::hash of the /sys/devices path backing the hwmon class
+instance, and N is the implemented phosphor-hwmon D-Bus API version.
+```
OpenPOWER on IntegriCloud