bin/75177: bug in moused
bugReporter at ib-haakh.de
Fri Dec 17 00:30:36 PST 2004
The following reply was made to PR bin/75177; it has been noted by GNATS.
From: Andreas Haakh <bugReporter at ib-haakh.de>
To: freebsd-gnats-submit at FreeBSD.org
Subject: bin/75177: bug in moused
Date: Fri, 17 Dec 2004 06:34:14 GMT
>Synopsis: bug in moused
>Arrival-Date: Fri Dec 17 06:40:13 GMT 2004
>Originator: Andreas Haakh
>Release: FreeBSD 5.3-STABLE i386
System: FreeBSD alestia.Haakh.de 5.3-STABLE FreeBSD 5.3-STABLE #5: Thu Nov 11 16:22:24 CET 2004 root at abaton.Haakh.de:/usr/src/sys/i386/compile/DISKLESS i386
Trying to get a Labtech optical ps/2 [and usb] wheel mouse working under X11 I failed to get z-axis movement on the ps/2-port (usb worked fine).
Finally I found the solution: adding option -l 1 to moused
(/usr/sbin/moused -z 4 -d /dev/psm0 -t ps/2 -l 1)
Thus, having a working configuration, I added the following lines to rc.conf:
moused_flags="-z 4 -l 1"
and again the mouse did not work!!!
next I changed
moused_type="ps/2 - l 1"
and everything is OK now.
Looking at moused.c you find line 709 where rodent.level is assigned,
no matter which value was set before...
Workaround: Add the level-option to the moused_type option.
Check if level was set before modifying rodent.level in moused.c line 709
Maybe change the default-level of operation for psm0 to 1 which seems reasonable...
freebsd-bugs at freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"
More information about the freebsd-bugs