[Pkg-acpi-devel] Bug#522756: Disabling input layer access in acpid

Stefan Tomanek stefan at pico.ruhr.de
Wed Jul 15 10:14:45 UTC 2009


Package: acpid
Version: 1.0.10-2
Severity: normal


I've created a small patch to acpid that adds an command line switch
"--noinput/-i" to the daemon that prohibits it from accessing the input device
files. Therefore, it won't crash when devices are removed, however, it cannot
react to button presses. The SW_LID, KEY_POWER, KEY_SLEEP and KEY_SUSPEND must
be handled elsewhere. I did this using my daemon "magmakeys" I originally created
to handle thinkpad event keys that ceased to generate ACPI events some time ago,
it can also handle the cases named above quite fine.

acpid patch: http://wertarbyte.de/debian/acpid-noinput.diff
  magmakeys: http://stefans.datenbruch.de/magmakeys/
       debs: http://wertarbyte.de/apt/

The patch is also attached to this message.





More information about the Pkg-acpi-devel mailing list