patch-2.4.22 linux-2.4.22/drivers/input/keybdev.c

Next file: linux-2.4.22/drivers/isdn/Config.in
Previous file: linux-2.4.22/drivers/ieee1394/video1394.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/input/keybdev.c linux-2.4.22/drivers/input/keybdev.c
@@ -172,7 +172,8 @@
 	if (type != EV_KEY) return;
 
 	if (emulate_raw(code, down))
-		printk(KERN_WARNING "keyboard.c: can't emulate rawmode for keycode %d\n", code);
+		if(code < BTN_MISC)
+			printk(KERN_WARNING "keybdev.c: can't emulate rawmode for keycode %d\n", code);
 
 	tasklet_schedule(&keyboard_tasklet);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)