Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 07:47:06 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: psmintr: out of sync (was: Re: FreeBSD's aggressive keyboard probe/attach) 
Message-ID:  <200108151347.f7FDl6W23619@harmony.village.org>
In-Reply-To: Your message of "Wed, 15 Aug 2001 18:24:39 %2B0900." <200108150924.SAA06230@zodiac.mech.utsunomiya-u.ac.jp> 
References:  <200108150924.SAA06230@zodiac.mech.utsunomiya-u.ac.jp>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200108150924.SAA06230@zodiac.mech.utsunomiya-u.ac.jp> Kazutaka YOKOTA writes:
: Anyway, I am now considering the following experiment.
: 
: - We make the psm driver count the number of the "out-of-sync" errors.
: - When the error is detected for the first time, the psm driver will
:   throw few data bytes (up to entire packet size) and see if it can 
:   get back to sync.
: - If the error still persists, the psm driver disable/enable the mouse 
:   and see if it works.
: - If the error still persists and the count goes up to N (10 or 20?),
:   the psm driver reset and reinitialize the mouse. The counter
:   is reset to zero.
: 
: Too complicated?

I like this idea.  It will allow mechanical KVM switches to "work"
better than they do now (which is to say, not much at all).  I also
have one KVM switch that hits the out-of-sync problem when its power
fails.  Unfortunately, it has a horrible user interface: The power
button and the switch console buttons are next to each other.

I assume that initializing the mouse is somewhat expensive and
something that you wish to avoid?

Warner

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




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