Subject: misc/14464: Logitech USB mouse and XFree86
To: None <gnats-bugs@gnats.netbsd.org>
From: None <teemu@rinta-aho.org>
List: netbsd-bugs
Date: 11/05/2001 02:57:53
>Number:         14464
>Category:       misc
>Synopsis:       Logitech USB mouse and XFree86
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 05 02:59:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Teemu Rinta-aho
>Release:        1.5.3_ALPHA (i386)
>Organization:
>Environment:
NetBSD 1.5.3_ALPHA (D800) #3: Sun Oct 21 15:43:39 EEST 2001
    root@d800:/usr/src/sys/arch/i386/compile/D800
>Description:
I have a Logitech Cordless Mouseman Optical mouse, which can be
used through PS/2 or USB. It works fine through PS/2, but not through
USB, even though it looks like it should. The mouse is detected
OK and there are no error messages. The mouse works fine with two
other operating systems so it is not a hardware problem. I have
tried to change the mouse protocol and device in XF86Config, but
nothing helps. When I start X, the pointer just won't move.
I can't find any help to this kind of situation from man pages,
web site or other docs so I guess there is a problem _somewhere_.

Here are the essential lines from my dmesg:

uhci0 at pci0 dev 4 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x10)
uhci0: interrupting at irq 15
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 4 function 3: VIA Technologies VT83C572 USB Controller (rev. 0x10)
uhci1: interrupting at irq 15
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at uhub1 port 2
uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2
uhub2: 4 ports with 4 removable, self powered
ums0 at uhub2 port 3 configuration 1 interface 0
ums0: Logitech USB Receiver, rev 1.10/9.10, addr 3, iclass 3/1
ums0: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0

Looks great, doesn't it?

Then my XF86Config:

    Identifier	"Mouse1"
    Driver	"mouse"
    Option      "Protocol"    "wsmouse"
    Option      "Device"      "/dev/wsmouse0"

Yes, I have tried protocols: wsmouse, WSMouse, MouseMan, usb and Auto,
and devices wsmouse0, wsmouse and ums0.

Then few lines from the XFree86.0.log after starting X:

XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
...
(**) Option "Protocol" "wsmouse"
(**) Mouse1: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/wsmouse0"
(==) Mouse1: Buttons: 3
>How-To-Repeat:
I guess you need the same hardware unless this is a more general
level problem. I can repeat it anytime...
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: