Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2001 15:17:48 GMT
From:      "Eric P Liedtke" <jesus@musinghalfwit.org>
To:        Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: psm0 out of sync
Message-ID:  <courier.3BCDA11C.000045D4@fizzbang.musinghalfwit.org>
In-Reply-To: <200110170621.PAA02508@zodiac.mech.utsunomiya-u.ac.jp>
References:  <courier.3BCC64CB.00003D14@fizzbang.musinghalfwit.org> <15308.28757.640334.764871@zircon.zircon.seattle.wa.us> <200110170621.PAA02508@zodiac.mech.utsunomiya-u.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

Kazutaka YOKOTA writes:

> 
> >Eric P Liedtke writes:
> > > I am currently having a problem with my mice losing sync
> > > when using a belkin KVM switch. Any time I switch over and
> > > back the mouse loses sync. Is there any way I can regain 
> > > sync without rebooting. I've tried killing and restarting 
> > > moused but of course that didn't help cuz moused isn't out of
> > > sync the actual device is. Any help would be appreciated.
> >
> >Set bit 0x8000 in the psm device by modifying your loader.conf:
> >
> >psm_flags=0x8000
> >
> >This will force a mouse reset when switching with the kvm box.
> 
> Not quite "reset". It disables and then re-enable the mouse operation.
> 
> >This should be installed as the default mode and not called a "hack"
> >since it is the most logical thing to do.  Unfortunately, the maintainer
> >of psm.c has some sort of reservations about making this behavior the
> >default.  My wireless mouse requires this setting with no intervening
> >switch box.  I never see multiple instances of reset behavior, so I
> >don't know why this completely logical code path is relegated to the
> >euphemism of "hack" and not made default.
> 
> This flag has remained an option in -STABLE, because it doesn't always
> work.  It works in some cases, but there are cases it just doesn't. 
> When it doesn't, it will produce a stream of disable/enable sequence
> repeatedly, and that's too bad.
> 
> -CURRENT now has much better recovery code for the "out of sync"
> error.  That will be merged to -STABLE in the next few weeks, after
> initial glitches are sorted out in -CURRENT.
> 
> But, if you cannot wait,  you can find the patch for -STABLE at:
> 
> http://people.freebsd.org/~yokota/psm-out-of-sync-STABLE.diff
> 
> Apply the patch to /sys/isa/psm.c and see how it performs
> in you system.
> 
> Kazu
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message


I am pleased to report that this patch works like a champ. I didn't need
to set any flags on my psm device. I lost sync , hit the 20 bad byte count
and the mouse was reset and began working correctly. Thanks for the patch
Kazu.

Eric Liedtke



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?courier.3BCDA11C.000045D4>