Comment 309 for bug 415023

Revision history for this message
Martin Pitt (pitti) wrote :

This was just discussed at length in #udev. Summary:

  - keys are not hardware wired if the video modules' brightness_switch_enabled parameter is "N", and hardwired if the parameter is "Y" (which is the default in ubuntu Lucid at least, see "cat /sys/module/video/parameters/brightness_switch_enabled")

 - key presses always generate input events on the LNXVIDEO input device, regardless of the brightness_switch_enabled parameter

 - key presses generate input events on the atkbd device (which is controlled by the udev keymap) _if_ brightness_switch_enabled == Y

So in summary, since we always have the LNXVIDEO ones, but only sometimes the duplicate ones from atkbd, we should explicitly blacklist the keys from atkbd, so that things will work on all configurations.