> So the fix is to remove this code entirely - and then _both_ gpm and
> Xserver work. (and no Xserver couldn't decipher bogus data either.
> Apparently after each "reconnect" the kernel attempted to reset the mouse
> - oh my..).
Removing this code isnt the right answer
> +#if 0
> + else if((scancode == AUX_RECONNECT)){
> queue->head = queue->tail = 0; /* Flush input queue */
> aux_write_ack(AUX_ENABLE_DEV); /* ping the mouse :) */
> return;
Does it behave if you just drop the queue->head=queue->tail=0. Without the
AUX_ENABLE_DEV writeback quite a few mice die the first time you use
a keyboard/mouse switch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:30 EST