On Sat, Jan 07, 2006 at 05:24:46PM +0000, Matthew Garrett wrote: > a) Hal should assume that all hardware has a sleep key, since there's no > way to actually tell.
Why bring Hal into this equation? > b) Events generated in cases (1) and (2) should, for now, be caught by > acpid (or something similar) and then fed back into the input layer via > uinput. This should be scancode 142, which will end up as X keycode 223. And how would this work for users who doesn't have Hal installed? Having ACPI hotkey events delivered as normal keyboard input makes it difficult to run system scripts as root:root. Regards, Brix -- Henrik Brix Andersen <[EMAIL PROTECTED]> Gentoo Metadistribution | Mobile computing herd
pgpyACDLxGI7a.pgp
Description: PGP signature
