You are not logged in.

#1 2011-11-11 18:15:20

ianhoolihan
Member
Registered: 2011-08-20
Posts: 85

[SOLVED] Thinkpad X40 extra keys show in acpi_listen, not "showkeys"

Hi all,

I am trying to get my volume up/down and mute keys working on my Thinkpad X40. There is a great Archwiki on the topic, but unfortunately when I use "showkey", it gives no output for the above keys. However, when I use "acpi_listen", I get

ibm/hotkey HKEY 00000080 00001015
ibm/hotkey HKEY 00000080 00001016
ibm/hotkey HKEY 00000080 00001017

Does anyone know how I can use these codes (or get "showkey" to recognise these keys), so that I can use "setkeycodes", to get my keys working?

Thanks,

Ianhoolihan

Last edited by ianhoolihan (2011-11-13 08:27:18)

Offline

#2 2011-11-11 19:18:22

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Thinkpad X40 extra keys show in acpi_listen, not "showkeys"


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2011-11-13 08:24:29

ianhoolihan
Member
Registered: 2011-08-20
Posts: 85

Re: [SOLVED] Thinkpad X40 extra keys show in acpi_listen, not "showkeys"

Thanks. After lots of learning and lots of fiddling, it turned out the following resources solved most of my problems:

https://bbs.archlinux.org/viewtopic.php?id=66595
https://bbs.archlinux.org/viewtopic.php?id=45710

I've still got some things to figure out, but they are to do with the actual events --- the keys all work. Hence I'm marking this solved.

For any interested, note that for a ThinkPad X40, the volume up/down and mute buttons are wired to the hardware, so the above will not work for them. (They also appear separate to alsamixer etc...if you hit the mute button on the keyboard, it mutes the sound regardless of what you do with alsamixer.) Likewise, Fn+F5 is wired to toggle wireless, and does not need to be set up this way. Everything else I've come across can be configured as in the links above, using acpid.

All the best,

Ianhoolihan

Offline

Board footer

Powered by FluxBB