BUG FIX: atkbd.c keyboard driver bug [Was: keyboard problem with 2.6.6]

From: Sau Dan Lee
Date: Tue Jun 01 2004 - 04:14:50 EST



Dan> Relatedly, drivers/char/keyboard.c assumes that SysRq cannot
Dan> be activated unless the Alt key(s) is/are pressed (and not
Dan> yet released). I'm going to fix this. But since this not a
Dan> module, I need to reboot to test it. So, please be patient.

Fixed. The patch is already added to Bugzilla.

Using these patches, the keyboard behaviour is correct again on my
notebook:

SysRq ==> Input Event with code KEY_SYSRQ
PrintScreen ==> Input Event with code KEY_KPASTERISK
(because PrintScreen is Alt-KP_ASTERISK)

SysRq SPACE gives sysrq help screen
Alt-PrintScreen SPACE gives sysrq help screen
PrintScreen SPACE gives "*" and no sysrq help screen

Dan> See http://bugzilla.kernel.org/show_bug.cgi?id=2808 for more
Dan> info.

Both patches are there at the Bugzilla site.


(BTW, why did Vojtech REJECT this bug report at Bugzilla? Give me a
reason! I do observe the bug and I have even found a fix.)


--
Sau Dan LEE ???(Big5) ~{@nJX6X~}(HZ)

E-mail: danlee@xxxxxxxxxxxxxxxxxxxxxxxxxx
Home page: http://www.informatik.uni-freiburg.de/~danlee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/