button handler w/o python

Matt Spinler mspinler at linux.vnet.ibm.com
Thu Nov 8 06:13:05 AEDT 2018


In our quest to be able to remove python, I put up a review for a button
handler in C++ in phosphor-state-manager called phosphor-button-handler:

It uses the signals sent by the phosphor-button code to support the 
power, ID,
and reset buttons, though it doesn't require them all to be present.

I realize systems may want to do their own unique things on button 
presses, but
I think this gives a good reference implementation.


More information about the openbmc mailing list