dbus sensors how to determine power on/off state
John Wang
wangzqbj at inspur.com
Mon Apr 15 18:26:52 AEST 2019
I noticed that dbus-sensors determines the power/on status
by getting the value of pgood in the
xyz.openbmc_project.Chassis.Control.Power interface.
but, refer to
https://github.com/openbmc/phosphor-dbus-interfaces/blob/a641728c6923d9fb374f973b1c216515a082e21f/xyz/openbmc_project/Chassis/Control/Power.interface.yaml#L17
It's PGood not pgood
There is a patch here[
https://github.com/Intel-BMC/openbmc/blob/intel/meta-openbmc-mods/meta-common/recipes-phosphor/dbus/phosphor-dbus-interfaces/0003-Chassis-Power-Control-are-implemented.patch],it
seems to work well with dbus-sensors
Is there a plan to merge this patch to the trunk, or let the dbus-sensors
get the power on/off status via other interfaces?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190415/d8c2a731/attachment.htm>
More information about the openbmc
mailing list