Date: Fri, 28 Jul 2000 13:01:51 -0400 (EDT) From: Robert Watson <rwatson@FreeBSD.org> To: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Cc: Donn Miller <dmmiller@cvzoom.net>, freebsd-current@FreeBSD.org Subject: Re: Mouse behaving funny since 5.0-CURRENT upgrade Message-ID: <Pine.NEB.3.96L.1000728130107.7536A-100000@fledge.watson.org> In-Reply-To: <200007280030.JAA02407@zodiac.mech.utsunomiya-u.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Kazu, Nope, it didn't appear to help. When I move the mouse around, it intermitently pauses, perhaps once a second, for a short period of time. Robert On Fri, 28 Jul 2000, Kazutaka YOKOTA wrote: > 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); > } > > > Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services 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?Pine.NEB.3.96L.1000728130107.7536A-100000>