Try the attached patch for /sys/isa/psm.c, and please report the
result.

Kazu

>Robert Watson wrote:
>> 
>> I'm using a Micron P133 box with a PS/2 mouse.  Up until this morning, I
>> was running 4.0-STABLE from a month or two back.  I upgraded to
>> 5.0-CURRENT, and since that time, my mouse has been responding slowly and
>> erratically, jumping as it moves, et al.
>
>> I'm using the default arguments to moused, with moused enabled in
>> /etc/rc.conf.  I'm not sure what changed, but it would be nice if it
>> hadn't :-).
>
>Yep.  It's been that way in 5.0-current for about 2-3 weeks now.  When
>I use /dev/sysmouse in X, my mouse is really jumpy.  It's so bad that
>I don't use moused anymore in X.  When I use my mouse normally, i.e.
>without moused (/dev/mouse), in X, mouse movements are OK.  Also,
>cursor motion is jumpy as well.  Must be the recent commits to
>syscons.
>
>-- 
>- Donn


Index: psm.c
===================================================================
RCS file: /src/CVS/src/sys/isa/psm.c,v
retrieving revision 1.27
diff -u -r1.27 psm.c
--- psm.c       2000/07/22 04:08:12     1.27
+++ psm.c       2000/07/27 06:53:24
@@ -1827,9 +1827,11 @@
 {
     struct psm_softc *sc;
     int unit;
+    int s;
 
     unit = (int)arg;
     sc = devclass_get_softc(psm_devclass, unit);
+    s = spltty();
     if (sc->watchdog && kbdc_lock(sc->kbdc, TRUE)) {
        if (verbose >= 4)
            log(LOG_DEBUG, "psm%d: lost interrupt?\n", unit);
@@ -1837,6 +1839,7 @@
        kbdc_lock(sc->kbdc, FALSE);
     }
     sc->watchdog = TRUE;
+    splx(s);
     sc->callout = timeout(psmtimeout, (void *)unit, hz);
 }
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to