Re: cvs commit: src/sys/isa psm.c

[ Available lists | Index of cvs-all | Month of Aug 2004 | Week of 19 Aug 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Brian Somers <brian@Awfulhak.org>
Date
19 Aug 2004 04:11:57
Subject
Re: cvs commit: src/sys/isa psm.c
Message-ID
20040819051134.7f088757@dev.lan.Awfulhak.org


[ Hide this part ]
On Tue, 17 Aug 2004 18:12:37 +0000 (UTC), "Justin T. Gibbs" <gibbs@freebsd.org> wrote:
> gibbs 2004-08-17 18:12:37 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/isa psm.c
> Log:
> Defer the capture of the "expected sync bits" until the first "normal"
> data packet is received from the mouse. In the case of many KVM's,
> this avoids a bug in their mouse emulation that sends back incorrect
> sync when you explicitly request a data packet from the mouse. Without
> this change, you must force the driver into stock PS/2 mode or be flooded
> with a never ending stream of "out of sync" messages on these KVMs.
>
> Approved by: re
>
> Revision Changes Path
> 1.79 +13 -20 src/sys/isa/psm.c

This breaks my mouse badly - it never syncs now and just flies all over the
screen doing damage when it's touched.

psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4

As it happens I have a dodgy KVM switch that almost definitely syncs things
up badly, but I see the always-out-of-sync problem without going near the KVM.

--
Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org>
<http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !


Elapsed time: 0.179 seconds