Solved Thinkpad X1 Multimedia Keys

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!
 
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.
 
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.
 
Back
Top