lkml.org 
[lkml]   [2000]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] Re: ps/2 mouse (synaptics touchpad)
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.089 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site