From: Matt Spinler <mspinler@linux.vnet.ibm.com>
To: "A, Maheswari" <maheswari.a@atos.net>
Cc: OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Re: help: OpenBMC host power on from power button press
Date: Fri, 26 Oct 2018 15:15:26 -0500 [thread overview]
Message-ID: <8d187aba-eba1-f68b-17c5-62686e0227a8@linux.vnet.ibm.com> (raw)
In-Reply-To: <DB7PR02MB43932ACAD795B6BB37676D1192F00@DB7PR02MB4393.eurprd02.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]
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@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.
>
Hi Maheswari,
I'm guessing you already have an org.openbmc.buttons.Power@0.service
running.
You can check with:
# systemctl status org.openbmc.buttons.Power@0.service
or just check for the button_power.exe process already running.
> Thanks
>
> Maheswari A
>
[-- Attachment #2: Type: text/html, Size: 4774 bytes --]
next prev parent reply other threads:[~2018-10-26 20:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-26 4:52 help: OpenBMC host power on from power button press A, Maheswari
2018-10-26 20:15 ` Matt Spinler [this message]
2018-10-29 12:05 ` A, Maheswari
2018-10-29 19:04 ` Matt Spinler
2018-11-09 8:20 ` A, Maheswari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8d187aba-eba1-f68b-17c5-62686e0227a8@linux.vnet.ibm.com \
--to=mspinler@linux.vnet.ibm.com \
--cc=maheswari.a@atos.net \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).