cvs commit: src/sys/isa psm.c

Brian Somers brian at Awfulhak.org
Wed Aug 18 21:11:57 PDT 2004


On Tue, 17 Aug 2004 18:12:37 +0000 (UTC), "Justin T. Gibbs" <gibbs at 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 at Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !


More information about the cvs-src mailing list