From owner-freebsd-bugs Fri Jul 9 10:10: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5AD1315647 for ; Fri, 9 Jul 1999 10:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA54369; Fri, 9 Jul 1999 10:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 9 Jul 1999 10:10:01 -0700 (PDT) Message-Id: <199907091710.KAA54369@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kazutaka YOKOTA Subject: Re: i386/11597: cmouse complaints: "/kernel: psmintr: out of sync (00c0 != 0008)". FAQ150 outdated. Reply-To: Kazutaka YOKOTA Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/11597; it has been noted by GNATS. From: Kazutaka YOKOTA To: Steven Knight Cc: freebsd-gnats-submit@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: i386/11597: cmouse complaints: "/kernel: psmintr: out of sync (00c0 != 0008)". FAQ150 outdated. Date: Sat, 10 Jul 1999 02:09:56 +0900 >I am experiencing this problem on a freshly-installed 3.2 system >on my newly-purchased Gateway Essential 400cSE (low-end home line). > >Recap: The general symptom is erratic behavior of the mouse under >moused, accompanied by a cascade of "out of sync" messages whenever >any button is pressed or the mouse is moved: > > Jul 9 04:18:41 new /kernel: psmintr: out of sync (0000 != 0008). [...] I have a test patch which I would like you to try out. 1. cd /sys/i386/isa 2. cp psm.c psm.c-dist # always make backup! patch < _this_mail_ 3. Run `config' on your kernel configuration file, rebuild and install a new kernel, and reboot. 4. After the system has rebooted, send me the entire output from `dmesg'. 5. And see how the mouse behaves now. 6. If you could run the moused daemon in the debugging mode and send its output to me, that would be of a great help. moused -d -f -p /dev/psm0 -l 2 Thank you for your cooperation. Kazu yokota@FreeBSD.ORG --- psm.c-1.11 Mon Jun 28 22:36:52 1999 +++ psm.c Mon Jun 28 22:40:45 1999 @@ -992,9 +992,14 @@ sc->mode.packetsize = vendortype[i].packetsize; /* set mouse parameters */ + sc->mode.resolution = set_mouse_resolution(sc->kbdc, + sc->dflt_mode.resolution); + sc->mode.rate = set_mouse_sampling_rate(sc->kbdc, sc->dflt_mode.rate); +#if 0 i = send_aux_command(sc->kbdc, PSMC_SET_DEFAULTS); if (verbose >= 2) printf("psm%d: SET_DEFAULTS return code:%04x\n", unit, i); +#endif if (sc->config & PSM_CONFIG_RESOLUTION) { sc->mode.resolution = set_mouse_resolution(sc->kbdc, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message