Re: Keys that generate ACPI events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Marcelo,


On Mon, 3 Dec 2007 20:02:39 -0300 "Marcelo Magno T. Sales" <mmtsales@xxxxxxxxx> wrote:

> Em Seg 03 Dez 2007, Phil Meyer escreveu:
> > 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
> 
> Thanks for your help, but to do this the keys would have to be 
> recognized by X already, wouldn't they? In my case, xev shows nothing. 
> X does not know when the keys are pressed. The only response I get when 
> I press the Fn keys are these acpi events registered in system log.
[snip]

And nothing in /var/log/messages like the following?

kernel: atkbd.c: Unknown key pressed (translated set 2, code 0x85 on isa0060/serio0).
kernel: atkbd.c: Use 'setkeycodes e005 <keycode>' to make it known.


Regards,

-- 
wwp


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux