All of lore.kernel.org
 help / color / mirror / Atom feed
* Changing Power Button behavior
@ 2017-06-16  3:05 Adi Gangidi
  2017-06-16 12:57 ` Andrew Geissler
  0 siblings, 1 reply; 2+ messages in thread
From: Adi Gangidi @ 2017-06-16  3:05 UTC (permalink / raw)
  To: openbmc@lists.ozlabs.org; +Cc: Brad DeBauche, Chad Somerlot, Kenneth Wilke

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

Hi Nice folks on the mailing list,


In our testing on Barreleye G2 server we noticed that:


BMC short press:  Doesn't effect power state

BMC long press:   Reboots the host (instead of poweroff)


Is that what its coded to ? Where can I find the code that dictates this behavior ? Any tips on how to go about changing this would be helpful.

?


-Adi

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

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

* Re: Changing Power Button behavior
  2017-06-16  3:05 Changing Power Button behavior Adi Gangidi
@ 2017-06-16 12:57 ` Andrew Geissler
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Geissler @ 2017-06-16 12:57 UTC (permalink / raw)
  To: Adi Gangidi; +Cc: openbmc@lists.ozlabs.org, Chad Somerlot, Brad DeBauche

Hey Adi, issues 771 and 776 track the refactoring work for the
buttons.  If you want to take a stab at it the old code is out in
skeleton, skeleton/pwrbutton/button_power_obj.c is for the button
monitoring and signal generation,
skeleton/pychassisctl/chassis_control.py for the handling  of the
signal.

You'll want to make sure the POWER_BUTTON gpio is configured right for
your system.  https://github.com/openbmc/openbmc/issues/1593 would
also be something to look out for.  A quick glance shows
chassis_control.py using the right targets for power on so nothing
obvious to me on why it wouldn't work.

Andrew

On Thu, Jun 15, 2017 at 10:05 PM, Adi Gangidi <adi.gangidi@rackspace.com> wrote:
> Hi Nice folks on the mailing list,
>
>
> In our testing on Barreleye G2 server we noticed that:
>
>
> BMC short press:  Doesn't effect power state
>
> BMC long press:   Reboots the host (instead of poweroff)
>
>
> Is that what its coded to ? Where can I find the code that dictates this
> behavior ? Any tips on how to go about changing this would be helpful.
>
>
>
> -Adi

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

end of thread, other threads:[~2017-06-16 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-16  3:05 Changing Power Button behavior Adi Gangidi
2017-06-16 12:57 ` Andrew Geissler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.