From owner-freebsd-current Fri Jul 28 10: 2:27 2000 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 8AB0C37B75A for ; Fri, 28 Jul 2000 10:02:21 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id NAA07539; Fri, 28 Jul 2000 13:01:52 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 28 Jul 2000 13:01:51 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Kazutaka YOKOTA Cc: Donn Miller , freebsd-current@FreeBSD.org Subject: Re: Mouse behaving funny since 5.0-CURRENT upgrade In-Reply-To: <200007280030.JAA02407@zodiac.mech.utsunomiya-u.ac.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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