From nobody@FreeBSD.org  Fri Dec 17 06:34:14 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5E87416A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2004 06:34:14 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4860643D48
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2004 06:34:14 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id iBH6YEqK029404
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 17 Dec 2004 06:34:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id iBH6YEaY029403;
	Fri, 17 Dec 2004 06:34:14 GMT
	(envelope-from nobody)
Message-Id: <200412170634.iBH6YEaY029403@www.freebsd.org>
Date: Fri, 17 Dec 2004 06:34:14 GMT
From: Andreas Haakh <bugReporter@ib-haakh.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: bug in moused
X-Send-Pr-Version: www-2.3

>Number:         75177
>Category:       bin
>Synopsis:       Bug selecting psm operation level in moused(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    philip
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 17 06:40:13 GMT 2004
>Closed-Date:    
>Last-Modified:  Sat May 24 21:41:29 UTC 2008
>Originator:     Andreas Haakh
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Ingenieurbro Haakh
>Environment:
System: FreeBSD alestia.Haakh.de 5.3-STABLE FreeBSD 5.3-STABLE #5: Thu Nov 11 16:22:24 CET 2004 root@abaton.Haakh.de:/usr/src/sys/i386/compile/DISKLESS i386
>Description:
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_port="/dev/psm0"
moused_type="ps/2"
moused_flags="-z 4 -l 1"
and again the mouse did not work!!!
next I changed
moused_flags="-z 4"
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...


>How-To-Repeat:
See above.
>Fix:
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...
>Release-Note:
>Audit-Trail:

From: Andreas Haakh <bugReporter@ib-haakh.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: bin/75177: bug in moused
Date: Fri, 17 Dec 2004 06:34:14 GMT

 >Number:         75177
 >Category:       bin
 >Synopsis:       bug in moused
 >Confidential:   no
 >Severity:       non-critical
 >Priority:       low
 >Responsible:    freebsd-bugs
 >State:          open
 >Quarter:        
 >Keywords:       
 >Date-Required:
 >Class:          sw-bug
 >Submitter-Id:   current-users
 >Arrival-Date:   Fri Dec 17 06:40:13 GMT 2004
 >Closed-Date:
 >Last-Modified:
 >Originator:     Andreas Haakh
 >Release:        FreeBSD 5.3-STABLE i386
 >Organization:
 Ingenieurbro Haakh
 >Environment:
 System: FreeBSD alestia.Haakh.de 5.3-STABLE FreeBSD 5.3-STABLE #5: Thu Nov 11 16:22:24 CET 2004 root@abaton.Haakh.de:/usr/src/sys/i386/compile/DISKLESS i386
 >Description:
 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_port="/dev/psm0"
 moused_type="ps/2"
 moused_flags="-z 4 -l 1"
 and again the mouse did not work!!!
 next I changed
 moused_flags="-z 4"
 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...
 
 
 >How-To-Repeat:
 See above.
 >Fix:
 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...
 >Release-Note:
 >Audit-Trail:
 >Unformatted:
 _______________________________________________
 freebsd-bugs@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
 To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
Responsible-Changed-From-To: freebsd-bugs->philip 
Responsible-Changed-By: philip 
Responsible-Changed-When: Mon Jan 10 14:29:10 GMT 2005 
Responsible-Changed-Why:  
Grab this, I'm dealing with moused bugs. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75177 
>Unformatted:
