Question about power_restore_policy one time in phosphor-state-manager repo

Xie, Mei mei.xie at intel.com
Wed Oct 20 22:20:51 AEDT 2021


Hi Geissler/all,

I am Xie Mei from intel. I am focus on OpenBMC development. I met some questions, hope you can help me to figure it out. Thanks. :)

I see the below patch in phosphor-state-manager repo.
We also need to auto power on after bios in-band update.
But I have below questions, could you please help to look at them?

  1.  Do you know where is the definition of /xyz/openbmc_project/control/host0/power_restore_policy/one_time? Because in my code, It doesn't have /xyz/openbmc_project/control/host0/power_restore_policy/one_time path.

[cid:image001.jpg at 01D7C5E7.96C59F50]

  1.  I see your commit info, you use dbus to invoke one_time path. Where will invoke this one time function in code?
  2.  In /user/bin folder, I don't have phosphor-discover-system-state in my platform. So maybe phosphor-state-manager service isn't existed in my platform. There are several service in phosphor-state-manager repo?https://github.com/openbmc/phosphor-state-manager/commit/35ca2e34cd04b7288a5b659e4e7dcd4590056b7d

I am really appreciate if you can do me a favor.

Best Regards,
Mei

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20211020/072b57f9/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 27145 bytes
Desc: image001.jpg
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20211020/072b57f9/attachment-0001.jpg>


More information about the openbmc mailing list