Messages in this thread | | | Subject | Re: [patch] Re: ps/2 mouse (synaptics touchpad) | Date | Sat, 29 Jul 2000 15:46:47 +0100 (BST) | From | Alan Cox <> |
| |
> 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/
| |