Re: Keys that generate ACPI events

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

 



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.

>
> Fedora 8 recognized my laptop volume controls without having to do
> this. :)

Unfortunately, this was not the case here :(  However, at least now 
something shows up in the logs, that's a progress. With F7, nothing 
happens at all when the Fn keys are pressed at this laptop.

[]'s
Marcelo



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

  Powered by Linux