Subject: Xfree86 4.1.0 and USB mouse
To: None <tech-x11@netbsd.org>
From: Teemu Rinta-aho <teemu@rinta-aho.org>
List: tech-x11
Date: 10/31/2001 22:48:55
Hi all,

I have a Logitech Cordless Mouseman Optical which worked fine when
attached to the PS/2 connector, but I can't make it work through USB.
My kernel supports USB, as can be seen here:

NetBSD 1.5.3_ALPHA (D800) #3: Sun Oct 21 15:43:39 EEST 2001
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
uhub2: port 4, set config at addr 4 failed
uhub2: device problem, disabling port 4

Port 4 probably has the Logitech Wingman Extreme gamepad and is
stating a problem because of that.

If I start X, I get no error messages. The mouse just won't work.
I use XFree86 4.1.0.

In XF86Config, I have the following:

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

This is what I get in XFree86.0.log:

(**) Option "Protocol" "wsmouse"
(**) Mouse1: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/wsmouse0"
(==) Mouse1: Buttons: 3

I have also tried protocol "Auto" and device "/dev/wsmouse", but
it doesn't work any better.

Any suggestions?

BR,
Teemu

P.S. Please cc: me, as I don't subscribe to this list