[PATCH skeleton] skeleton: fixed hard-coding for master OCC hwmon sysfs path

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Feb 20 06:10:57 AEDT 2016


Currently master OCC hwmon sysfs path is hardcoded to '/sys/class/hwmon/hwmon3/'.
This make the '/org/openbmc/sensors/host/PowerCap' interface cannot work when
master OCC is initilized as hwmon device other than 'hwmon3'.

This would fix the issue: https://github.com/openbmc/skeleton/issues/42

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

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

Yi Li (1):
  skeleton: fixed hard-coding for master OCC hwmon sysfs path

 bin/sensor_manager2.py | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

-- 
2.7.1




More information about the openbmc mailing list