[debian] Re: disable power-button
Timo Juhani Lindfors
timo.lindfors at iki.fi
Fri Jan 9 21:19:07 CET 2009
"Davide Scaini" <dscaini at gmail.com> writes:
> I was interested in something similar... I could I change the action of the
> single-press power button? i would like to do something more than just
> supend (like switch down the wifi with wmiconfig that works reliably for me)
> is that something embedded in kernel like the shutdown?
Kernel generates an event via /dev/input/event* and oeventsd subsystem
of fso-frameworkd catches it. Either zhone or your oeventsd (via
rules.yaml) is afaik the one that then calls the actual 'apm -s'
depending on what software you actually run.
More information about the community