help: OpenBMC host power on from power button press
Matt Spinler
mspinler at linux.vnet.ibm.com
Sat Oct 27 07:15:26 AEDT 2018
On 10/25/2018 11:52 PM, A, Maheswari wrote:
>
> 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.
>
Hi Maheswari,
I'm guessing you already have an org.openbmc.buttons.Power at 0.service
running.
You can check with:
# systemctl status org.openbmc.buttons.Power at 0.service
or just check for the button_power.exe process already running.
> Thanks
>
> Maheswari A
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20181026/59150dae/attachment-0001.html>
More information about the openbmc
mailing list