patch-2.4.0-test2 linux/drivers/char/pc_keyb.c
Next file: linux/drivers/char/pcmcia/serial_cb.c
Previous file: linux/drivers/char/pc110pad.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Wed Jun 21 10:10:02 2000
- Orig file:
v2.4.0-test1/linux/drivers/char/pc_keyb.c
- Orig date:
Wed Apr 26 16:34:07 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/char/pc_keyb.c linux/drivers/char/pc_keyb.c
@@ -415,8 +415,7 @@
head = (head + 1) & (AUX_BUF_SIZE-1);
if (head != queue->tail) {
queue->head = head;
- if (queue->fasync)
- kill_fasync(queue->fasync, SIGIO, POLL_IN);
+ kill_fasync(&queue->fasync, SIGIO, POLL_IN);
wake_up_interruptible(&queue->proc_list);
}
}
@@ -452,7 +451,9 @@
scancode = kbd_read_input();
-#if 0
+ /* Error bytes must be ignored to make the
+ Synaptics touchpads compaq use work */
+#if 1
/* Ignore error bytes */
if (!(status & (KBD_STAT_GTO | KBD_STAT_PERR)))
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)