I'm having trouble getting my USB mouse and keyboard working under
Linux.

I've got a Mitsubishi monitor that has a USB hub built into it, with
two upstream and three downstream ports.  So I plug my mouse and
keyboard into my monitor, and if I switch between the dual monitor
inputs, it also redirects all USB HUB traffic to the computer that's
currently active (monitor/line wise).

Using the alternate (JE) usb-uhci driver in 2.4.9, both my mouse and
keyboard worked just fine.  Upon switching from one box to the other
via the monitor, they'd activate within about 3 seconds.  Mouse first,
then keyboard about 1-2 seconds afterwards.  There were a couple of
occasions where I'd switch to Linux, and the devices would never
activate, and I'd have to reboot.

In any case, ever since 2.4.10, I've not been able to get my keyboard
working properly anymore.  When I switch between boxes now, my mouse
comes up reliably, but my keyboard takes about 2 minutes to activate.

This is a snippet from my logs, after I've booted up, switched out of
Linux, and then back in again.  This exact same behaviour also happens
on boot up when the USB drivers are first initialized.  I get a two
minute delay before I can use my keyboard.

Nov 15 11:24:08 toad kernel: hub.c: USB new device connect on bus1/2, assigned device 
number 6
Nov 15 11:24:08 toad kernel: hub.c: USB hub found
Nov 15 11:24:08 toad kernel: hub.c: 5 ports detected
Nov 15 11:24:09 toad kernel: hub.c: USB new device connect on bus1/2/2, assigned 
device number 7
Nov 15 11:24:09 toad kernel: usb-uhci.c: interrupt, status 3, frame# 1751
Nov 15 11:24:09 toad kernel: input0: USB HID v1.00 Mouse [Microsoft Microsoft 
IntelliMouseŽ Explorer] on usb1:7.0
Nov 15 11:24:09 toad kernel: hub.c: USB new device connect on bus1/2/3, assigned 
device number 8
Nov 15 11:24:14 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:18 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:18 toad kernel: usb-uhci.c: interrupt, status 3, frame# 332
Nov 15 11:24:22 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:26 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:26 toad kernel: usb-uhci.c: interrupt, status 3, frame# 222
Nov 15 11:24:30 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:34 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:34 toad kernel: usb-uhci.c: interrupt, status 3, frame# 66
Nov 15 11:24:38 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:42 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:42 toad kernel: usb-uhci.c: interrupt, status 3, frame# 1998
Nov 15 11:24:46 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:50 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:50 toad kernel: usb-uhci.c: interrupt, status 3, frame# 1828
Nov 15 11:24:54 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:58 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:24:58 toad kernel: usb-uhci.c: interrupt, status 3, frame# 1657
Nov 15 11:25:02 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:06 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:06 toad kernel: usb-uhci.c: interrupt, status 3, frame# 1486
Nov 15 11:25:10 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:14 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:14 toad kernel: usb-uhci.c: interrupt, status 3, frame# 1344
Nov 15 11:25:18 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:22 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:22 toad kernel: usb-uhci.c: interrupt, status 3, frame# 1221
Nov 15 11:25:26 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:30 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:30 toad kernel: usb-uhci.c: interrupt, status 3, frame# 1063
Nov 15 11:25:34 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:38 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:38 toad kernel: usb-uhci.c: interrupt, status 3, frame# 894
Nov 15 11:25:42 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:46 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:46 toad kernel: usb-uhci.c: interrupt, status 3, frame# 884
Nov 15 11:25:50 toad kernel: usb_control/bulk_msg: timeout
Nov 15 11:25:50 toad kernel: : USB HID v1.00 Device [MITSUBISHI 
ELECTRIC?NSB1107U?003005434 ?? NSB1107U?003005434 ????????????????˙????] on usb1:8.0
Nov 15 11:25:51 toad kernel: hub.c: USB new device connect on bus1/2/5, assigned 
device number 9
Nov 15 11:25:51 toad kernel: input1: USB HID v1.00 Keyboard [045e:000b] on usb1:9.0

This is most recently with a 2.4.14 kernel, and both the usb-uhci and
usb-uhci alternate drivers compiled into the kernel.

I've also tried using the HIDBP keyboard and mouse drivers as opposed
to the full HID driver, and that works in terms of activating my mouse
and keyboard almost immediately, but I then found that problems I'd
had with < 2.4.7 kernels resurfaced: namely, that if I typed
"~incoming" very quickly, I'd get "~inncoming" as it would repeat the
'n'.

I've also tried disabling APIC support by recompiling with no
Local/IO-APIC support, and booting with the 'noapic' option.

The machine is an Athlon 1.2Ghz, Asus A7Pro (VIA chipset) with 640MB
of RAM.

Does anyone have any ideas?

I'll turn on verbose USB debugging messages and see if that yields any
more information.

--
Adrian Chung (adrian at enfusion-group dot com)
http://www.enfusion-group.com/~adrian
GPG Fingerprint: C620 C8EA 86BA 79CC 384C E7BE A10C 353B 919D 1A17
[rogue.enfusion-group.com] 3:55pm up 105 days, 7:58, 4 users


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to