Comment 41 for bug 280646

Revision history for this message
Bryce Harrington (bryce) wrote :

1. The problem with g-p-m not handling the brightness key when numlock is set is in fact an issue local to gnome-power-manager. It's simply neglects to grab the modifiers for the keys.

The first line of the attached patch makes the issue go away (the rest of the patch is just instrumentation). No changes to X are required; it seems to be working properly.

2. On the Thinkpad T61 specific issue, I discussed it with Peter Hutterer. It seems to be that on this hardware, the numlock key doesn't actually send events when the fn is pressed so we have no way of knowing that it is pressed. This was verified via gdb on the xserver. Scroll lock and numlock are shared, so fn has to be pressed to trigger numlock.

So it seems to be either a hardware or kernel bug.