2004-06-01 09:13:47

by Sau Dan Lee

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


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 ???u??(Big5) ~{@nJX6X~}(HZ)

E-mail: [email protected]
Home page: http://www.informatik.uni-freiburg.de/~danlee