Re: Re: generic ACPI video and hotkey drivers vs. platform-specific drivers

=?gb18030?q?Ois=A8=AAn_Mac_Fheara=A8=AA?=
2005-03-11T21:23:25Z

On Friday 11 March 2005 17:43, Stefan Seyfried wrote:
> What pavel wanted to say (IIUC) was, that there are already enough tools
> for grabbing "generic" keys (AKA your keyboard) from the input system
> and reacting on them, so routing ACPI hotkeys through the input layer
> seems a good thing to do. I tend to agree.

Yes, if they all use the same method and all can be made to work consistently
without a bizarre amount of effort, sure.
>
> maybe because your acer does not generate "normal" keystrokes for those
> buttons but ACPI events? So you would benefit from these solution, too.

It seems to send two-byte scancodes for (some, but not all) keys actually, but
I could only make one of them work properly. It's a bit confusing.

Checking just now, I noticed that two of the 'user' hotkeys produce a 2 byte
scancode for keydown and the same value +128 for keyup.

In fact, tailing /proc/acpi/event never produces any output for me, at least
when I watch it while opening and closing the lid and whacking all the
hotkeys.