Instantiate objects in the correct namespace

Add an hwmon -> dbus namespace map for sensor objects.

For example, the OpenBMC DBus specification mandates that
temperature sensors be instantiated in the temperature
namespace.  Prior to this patch they were simply instantiated
in the temp namespace ( the hwmon sensor type ).

Change-Id: I29c1982cc6b60e818cbc52458009aa6765c1111f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
1 file changed
tree: fc53991486264e689ccaa190733a3ec60f65c75a
  1. test/
  2. xyz/
  3. .gitignore
  4. argument.cpp
  5. argument.hpp
  6. bootstrap.sh
  7. configure.ac
  8. directory.cpp
  9. directory.hpp
  10. env.cpp
  11. env.hpp
  12. hwmon.hpp
  13. interface.hpp
  14. LICENSE
  15. mainloop.cpp
  16. mainloop.hpp
  17. Makefile.am
  18. readd.cpp
  19. README.md
  20. sensorset.cpp
  21. sensorset.hpp
  22. sysfs.cpp
  23. sysfs.hpp
  24. thresholds.hpp
  25. util.hpp
  26. xyz.openbmc_project.Sensor.Threshold.Critical.cpp
  27. xyz.openbmc_project.Sensor.Threshold.Warning.cpp
  28. xyz.openbmc_project.Sensor.Value.cpp
README.md

Exposes generic hwmon entries as DBus objects.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.