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.
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/parameter s/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.