Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 05:11:34 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        "Justin T. Gibbs" <gibbs@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/isa psm.c
Message-ID:  <20040819051134.7f088757@dev.lan.Awfulhak.org>
In-Reply-To: <200408171812.i7HICbLM078769@repoman.freebsd.org>
References:  <200408171812.i7HICbLM078769@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040819051134.7f088757>