[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: USB devices work with uhci, not with ehci



I have seen this as well (on an x86-32 desktop machine), and it turned out that my USB wireless adapter didn't work fully with ehci. When I have ehci-hcd loaded and the wireless adapter (rt2570 chipset) plugged in, I get scsi timeouts on my USB thumb drive (also SanDisk Cruzer Mini...) so that nothing works (flash drive or wireless). On the flip side, if I remove ehci-hcd and only use ohci-hcd both work fine (the wireless is only 11 Mbps, so speed isn't an issue, but the flash is much slower). This is on an older machine (my wife's), and so I have the wireless in the onboard uhci-hcd driven controller, and the rest on the add-on PCI board driven by ehci-hcd.

This just happens to work for this machine, but isn't a real solution. Is there any way to force a USB device to run at lower speed with high speed module loaded and enabled for all other devices?

Joel


-----Original Message-----

Hi folks,

Has anyone seen this kind of thing before? All my low or full speed devices 
work fine. My *high* speed devices don't work if ehci_hcd is loaded, but if 
I remove it, they work as fall-back full speed devices.

For example, when I install a USB storage device without ehci_hcd loaded, 
I'll get:

Jan  2 16:14:24 localhost kernel: ACPI: PCI interrupt for device 
0000:00:10.4 disabled
Jan  2 16:14:25 localhost kernel: usb 4-2: new full speed USB device using 
uhci_hcd and address 2
Jan  2 16:14:25 localhost kernel: scsi2 : SCSI emulation for USB Mass 
Storage devices
Jan  2 16:14:30 localhost kernel:   Vendor: SanDisk   Model: Cruzer Mini       
Rev: 0.2
Jan  2 16:14:30 localhost kernel:   Type:   Direct-Access                      
ANSI SCSI revision
: 02
Jan  2 16:14:30 localhost kernel: SCSI device sdb: 2001888 512-byte hdwr 
sectors (1025 MB)
Jan  2 16:14:30 localhost kernel: sdb: Write Protect is off
Jan  2 16:14:30 localhost kernel: SCSI device sdb: 2001888 512-byte hdwr 
sectors (1025 MB)
Jan  2 16:14:30 localhost kernel: sdb: Write Protect is off
Jan  2 16:14:30 localhost kernel:  sdb: sdb1
Jan  2 16:14:30 localhost kernel: Attached scsi removable disk sdb at scsi2, 
channel 0, id 0, lun
 0

However, if I try it with ehci_hcd loaded, I'll get:

Jan  2 16:17:34 localhost kernel: usb 1-5: new high speed USB device using 
ehci_hcd and address 7
Jan  2 16:17:35 localhost kernel: usb 1-5: new high speed USB device using 
ehci_hcd and address 8
Jan  2 16:17:35 localhost kernel: usb 1-5: new high speed USB device using 
ehci_hcd and address 9
Jan  2 16:17:36 localhost kernel: usb 1-5: new high speed USB device using 
ehci_hcd and address 1
0

But nothing else shows up, and the device isn't shown with lsusb.

For reference this is with the following devices on an ASUS A8V-E Deluxe 
motherboard:

0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)

Thanks for any pointers you might have. =)

-- 
Wesley J. Landaker <wjl@icecavern.net> <xmpp:wjl@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2



Reply to: