USB mouse disconnect/reconnect

Jan Kasprzak (kas@informatics.muni.cz)
Tue, 11 Dec 2001 22:20:14 +0100


Hello,

I have (maybe HW) problem w/ my USB mouse. From time to time,
the kernel thinks it was disconnected and then reconnected again,
altough nobody touched the cables.

It would be OK, but there is a problem: after the reconnect, it become
active as /dev/input/mouse1 instead of /dev/input/mouse0, and my
X server cannot (of course) find it.

The system is RH7.2, kernel 2.4.16, Athlon 850 (ABIT KT7).
Here is the dmesg output of the USB after boot:

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.268 $ time 19:53:08 Dec 5 2001
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 10 for device 00:07.2
PCI: Sharing IRQ 10 with 00:07.3
PCI: Sharing IRQ 10 with 00:0b.0
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 10 for device 00:07.3
PCI: Sharing IRQ 10 with 00:07.2
PCI: Sharing IRQ 10 with 00:0b.0
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.268:USB Universal Host Controller Interface driver
usb.c: registered new driver hid
hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
hub.c: USB new device connect on bus2/1, assigned device number 2
input0: USB HID v1.00 Mouse [KYE Systems Genius USB Wheel Mouse ] on usb2:2.0
hub.c: USB new device connect on bus2/2, assigned device number 3
input1: USB HID v1.10 Keyboard [Chicony USB Keyboard] on usb2:3.0

And the disconnect/reconnect looks like this:

usb.c: USB disconnect on device 2
hub.c: USB new device connect on bus2/1, assigned device number 4
input0: USB HID v1.00 Mouse [KYE Systems Genius USB Wheel Mouse ] on usb2:4.0

Where the disconnect/reconnect come from, and why the mouse
changes its device number?

-Yenya

-- 
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/   Czech Linux Homepage: http://www.linux.cz/ |
Having your own personal custom language dialect might be tempting but it is
normally something only the lisp community do.                    (Alan Cox)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/