help: OpenBMC host power on from power button press

A, Maheswari maheswari.a at atos.net
Fri Oct 26 15:52:08 AEDT 2018


Hi,

I am new to openBMC project.

We are in the process of porting power button gpio interrupt handling in openBMC.

After some a lot of analysis, I found that obmc-button-power related service are necessary to power on the host using power button press event.

I have added POWER_BUTTON and machine specific GPIO number and polarity in gpio_defs.json.

While starting the "org.openbmc.button.Power" service, I am getting the below error.

   org.openbmc.buttons.Power at 1.service<mailto:org.openbmc.buttons.Power at 1.service> - Phosphor Power Button1
   Loaded: [[0;1;31merror[[0m (Reason: File exists)
   Active: inactive (dead)

Oct 22 14:14:13 hwmi systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31morg.openbmc.buttons.Power at 1.service: Two services allocated for the same bus name org.open
bmc.butto.Power, refusing operation.[[0m

Please help to figure out and proceed.

Thanks
Maheswari A

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20181026/d919f9ea/attachment.html>


More information about the openbmc mailing list