Hello, On Mon, 03 Dec 2007 15:28:10 -0700 Phil Meyer <pmeyer@xxxxxxxxxxxxxxxx> wrote: > Marcelo Magno T. Sales wrote: > > Hi, people > > > > The Fn keys of my notebook do not generate scancodes, but ACPI events > > instead. I would like to map these events to X keysyms, so that the Fn > > keys are usable in X. How do I do that? > > The F8 kernel (2.6.23.1-49.fc8) and acpid get the ACPI events and logs > > messages like the following (F7 kernels and F7 acpid did not): > > --------------------------------------------------------------------- > > Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD 00000050 > > 00000000" > > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68] > > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0] > > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD 00000050 > > 00000000" > > Dec 3 18:17:23 home-03 acpid: received event "hotkey ATKD 00000051 > > 00000000" > > Dec 3 18:17:23 home-03 acpid: notifying client 2169[68:68] > > Dec 3 18:17:23 home-03 acpid: notifying client 2354[0:0] > > Dec 3 18:17:23 home-03 acpid: completed event "hotkey ATKD 00000051 > > 00000000" > > --------------------------------------------------------------------- > > > > > > Other Fn keys (the ones to control LCD brightness) produce errors like: > > --------------------------------------------------------------------- > > Dec 3 18:17:34 home-03 kernel: ACPI Error (psargs-0355): > > [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND > > Dec 3 18:17:34 home-03 kernel: ACPI Error (psparse-0537): Method > > parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0E] (Node f7d07f90), > > AE_NOT_FOUND > > Dec 3 18:17:35 home-03 kernel: ACPI Error (psargs-0355): > > [\_SB_.PCI0.P0P2.VGA_.LCDD] Namespace lookup failure, AE_NOT_FOUND > > Dec 3 18:17:35 home-03 kernel: ACPI Error (psparse-0537): Method > > parse/execution failed [\_SB_.PCI0.SBRG.EC0_._Q0F] (Node f7d07fa8), > > AE_NOT_FOUND > > --------------------------------------------------------------------- > > > > Is it possible to make these work? > > > > Thanks, > > > > Marcelo > > > > > > The <FN>brightness keys work out of the box on all the laptops I have > built. I am no help there. > > As for using other keys, in GNOME, you can map keys with: > > System/Preferences/Personal/Keyboard Shortcuts > > Fedora 8 recognized my laptop volume controls without having to do this. :) Same here w/ a D810 within GNOME, standby, sound, power key work out of the box (LID light does too, but directly from the BIOS apparently - the GNOME applet doesn't do its job here BTW). I think that I've had to add a `setkeycodes e00a 205` in rc.local to get the fn+hibernate key working. Nothing done to the acpi events config (but LID closing detection). Regards, -- wwp