diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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. +``` |