Problem: setkeycodes do not work in 2.6.2-bk1 and 2.6.3-rc1
From: Hagen Pelkner
Date: Sat Feb 07 2004 - 19:45:52 EST
Hello,
the patchsets for 2.6.2-bk1 and 2.6.3-rc1 includes a patch for the
file linux/driver/char/keyboard.c
---------
@@ -202,7 +202,7 @@
return -EINVAL;
oldkey = INPUT_KEYCODE(dev, scancode);
- INPUT_KEYCODE(dev, scancode) = keycode;
+ SET_INPUT_KEYCODE(dev, scancode, oldkey);
....
---------
With the new version of the keyboard-driver, on my machine (*) works
the setkeycodes programm no more.
( is "SET_INPUT_KEYCODE(dev, scancode, keycode)" the right way ? )
(*) Athlon 1400 (i386 arch)
Example: I'm use setkeycodes e05e 120 ( Powerkey send "KeyboardSignal" )
( and others )
bye
Hagen Pelkner ( aka Harry :-) )
-
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/