* dbus sensors how to determine power on/off state
@ 2019-04-15 8:26 John Wang
0 siblings, 0 replies; 2+ messages in thread
From: John Wang @ 2019-04-15 8:26 UTC (permalink / raw)
To: OpenBMC Maillist
[-- Attachment #1: Type: text/plain, Size: 710 bytes --]
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?
[-- Attachment #2: Type: text/html, Size: 1277 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* dbus sensors how to determine power on/off state
@ 2019-04-16 4:59 Wang, Kuiying
0 siblings, 0 replies; 2+ messages in thread
From: Wang, Kuiying @ 2019-04-16 4:59 UTC (permalink / raw)
To: wangzqbj; +Cc: Li, Yong B, Feist, James, OpenBMC Maillist
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
Hi John,
All patches in https://github.com/Intel-BMC/ currently on Chassis power control will be upstream to https://github.com/openbmc/<https://github.com/openbmc/phosphor-dbus-interfaces/blob/a641728c6923d9fb374f973b1c216515a082e21f/xyz/openbmc_project/Chassis/Control/Power.interface.yaml#L17> step by step.
And all the implementation currently in https://github.com/Intel-BMC/intel-chassis-control will be upstream to https://github.com/openbmc/x86-power-control
All the definition in https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Chassis/Control/Power.interface.yaml will be the final definition.
Thanks,
Kwin.
[-- Attachment #2: Type: text/html, Size: 3396 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-16 4:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-15 8:26 dbus sensors how to determine power on/off state John Wang
2019-04-16 4:59 Wang, Kuiying
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.