Re: Keys that generate ACPI events

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

 



Hi, wwp

Em Seg 03 Dez 2007, wwp escreveu:
> 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.

Unfortunately not. This would happen if the keys generated scancodes 
unknown to the kernel, but mine only generate acpi events. My desktop's 
keyboard has some extended keys that generate messages like the one you 
posted. These were a bit easier to make work in X.

Thanks,

Marcelo

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux