Messages in this thread | | | Date | Sun, 6 Feb 2005 09:29:21 +0100 | From | Vojtech Pavlik <> | Subject | Re: [RFC/RFT] Better handling of bad xfers/interrupt delays in psmouse |
| |
On Sun, Feb 06, 2005 at 12:29:20AM -0500, Dmitry Torokhov wrote: > On Saturday 05 February 2005 16:11, Vojtech Pavlik wrote: > > On Sat, Feb 05, 2005 at 02:48:56PM -0500, Dmitry Torokhov wrote: > > > Hi, > > > > > > The patch below attempts to better handle situation when psmouse interrupt > > > is delayed for more than 0.5 sec by requesting a resend. This will allow > > > properly synchronize with the beginning of the packet as mouse is supposed > > > to resend entire package. > > > > Have you actually tested the mouse is really sending the whole packet? > > I'd suspect it could just resend the last byte. :I Maybe using the > > Well, I did test and my touchpad behaved properly. But then I tried 2 external > mice and they are both sending ACK (and they should not) and then the last byte > only. So I guess we'll have to scrap using 0xfe idea... > > > GET_PACKET command would be more useful in this case. > > > > Are you talking about 0xeb?
Yes, sorry for the wrong name, it should've been "CMD_POLL".
> We could also try sending "set stream" mode as a sync marker...
That's an interesting idea, too. But I suspect we'll also have to turn the stream mode off first (CMD_DISABLE).
-- Vojtech Pavlik SuSE Labs, SuSE CR - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |