openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* help: OpenBMC host power on from power button press
@ 2018-10-26  4:52 A, Maheswari
  2018-10-26 20:15 ` Matt Spinler
  0 siblings, 1 reply; 5+ messages in thread
From: A, Maheswari @ 2018-10-26  4:52 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 906 bytes --]

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@1.service<mailto:org.openbmc.buttons.Power@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@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


[-- Attachment #2: Type: text/html, Size: 3621 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-11-09  8:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-26  4:52 help: OpenBMC host power on from power button press A, Maheswari
2018-10-26 20:15 ` Matt Spinler
2018-10-29 12:05   ` A, Maheswari
2018-10-29 19:04     ` Matt Spinler
2018-11-09  8:20       ` A, Maheswari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).