[PATCH skeleton] skeleton: Update setValue() method dbus object '/org/openbmc/sensors/…

OpenBMC Patches openbmc-patches at stwcx.xyz
Wed Jan 20 17:00:39 AEDT 2016


…host/OccStatus'

In recent occ_i2c driver, a new hwmon sysfs attribte
'/sys/class/i2c-adapter/i2c-X/X-0050/online' has been used to
instantiate occ_i2c device. Update the 'OccStatus' dbus object
to use the new interface.
Do not use '/sys/class/i2c-adapter/i2c-X/new_device' anymore.

Signed-off-by: Yi Li <adamliyi at msn.com>

https://github.com/openbmc/skeleton/pull/31

Yi Li (1):
  skeleton: Update setValue() method dbus object
    '/org/openbmc/sensors/host/OccStatus'

 bin/Sensors.py         | 11 ++++-------
 bin/sensor_manager2.py |  6 +++++-
 2 files changed, 9 insertions(+), 8 deletions(-)

-- 
2.6.4




More information about the openbmc mailing list