Solved Thinkpad X1 Multimedia Keys

drscream

New Member

Reaction score: 1
Messages: 14

I tried to get the multimedia keys working with my Thinkpad X1 (6th Generation) but without any success. Via xev I only receive events for F1-F3 (Mute, Volume Down, Volume Up) all other keys do not provide any event.

Did someone had the same issue or could maybe provide an solution how it would be possible to add commands to all other keys?

Thanks!
 

aragats

Daemon

Reaction score: 541
Messages: 1,301

Lenovo tends to use ACPI for special keys. Do you load acpi_ibm.ko module?
You can add a couple of lines in /etc/devd.conf then:
Code:
notify 10 {
  match "system"      "ACPI";
  match "subsystem" "IBM";
  action "/path/to/myscript.sh $notify";
};
Restart devd and check if those keys are detected by looking into your script output, it can simply print the argument into a file.
If it works, you can create a real script which will provide the actual functionality.
 
OP
OP
drscream

drscream

New Member

Reaction score: 1
Messages: 14

Thanks a lot for your answers! It looks like that the patch is required to get it working with the latest Thinkpad X1 model. After loading the kernel module I also didn't see any sysctl variables available.
 
Top