You are not logged in.
Hi,
I replaced my x60 (stolen, but I had fresh backups) with a x201 laptop, and some keys that used to work on the x60 don't on the x201.
- the Thinkvantage button.
It has no symbol on xev, and acpi_listen says:
button/prog1 PROG1 00000080 00000000 KI have no idea what to do for that.
- the audio volume controls show symbols (X86AudioMute etc...) but they are not linked to alsa mixer. I have
options thinkpad_acpi volume_control=1in modprobe.conf.
While I can setup i3-wm to bind the audio controls, I prefer a more universal/direct way, like alsa reacting to these events even outside X.
I have tp_smapi and thinkpad_acpi installed and running.
If someone has some tips/clues, please share.
Thanks,
--
Charlot
Last edited by cgo (2012-06-13 08:37:13)
Offline
- the Thinkvantage button.
It has no symbol on xev, and acpi_listen says:button/prog1 PROG1 00000080 00000000 KI have no idea what to do for that.
From [ibm-acpi-devel] ThinkVantage key on ThinkPad X61
Is the mask value for this key 0x00000080 or 0x00001018?
Neither. In the documentation, you'll see a table with an entry for
each key. The table shows the "ACPI event" code (0x1018 in your]
example) and the "scan code" (0x17 corresponds to that event).
The documentation mentioned above is the README of the ibm-acpi,
where you hav ACPI events and scan codes explained. But, that's low-level thingy.
To configure the ThinkVantage button, simply follow instructions from the How to get special keys to work. For example, Open an application
where you can find out keycode with xev and map desired action with xmodmap.
(On my T400, under X11 the ThinkVantage button generates event with keycode 156. You need to check yours using xev.)
- the audio volume controls show symbols (X86AudioMute etc...) but they are not linked to alsa mixer.
...
If someone has some tips/clues, please share.
Check the ThinkWiki article above, there are audio buttons explained too.
Mateusz Loskot | github | archlinux-config
Arch (x86-64) | ThinkPad T400 | Intel P8600| Intel i915
Arch (x86-64) | ThinkPad W700 | Intel T9600 | NVIDIA Quadro FX 2700M
Offline
Hi,
thanks for your answer.
I found the problem, it was my fault.
1/ i3 (obviously) grabs the keys before xev, AND (obviously) does not forward the key to the client, so a key bound to an action in i3's config shows without its keycode/keysym in xev.
2/ I had a typo in i3's config, thus preventing the ThinkVantage button to work.
Offline