Linux is unable to correctly use the right device driver for my
JumpDrive trio: It detects it as a high-speed device, but the EHCI
drivers error out when it is plugged in, the UHCI driver can handle it
(although Linux complains "not running at top speed; connect to a high
speed hub". If the UCHI driver is not loaded, then NOTHING happens when
the device is plugged in.
Without USB debugging, Linux doesn't really say why it wont work. With
debugging, though, it spits out a lot more informative information
(with nothing plugged into any of the USB ports):
ehci_hcd 0000:00:10.3: GetStatus port 1 status 001030 POWER sig=se0 OCC OC
hub 1-0:1.0: over-current change on port 1
ehci_hcd 0000:00:10.3: GetStatus port 2 status 001030 POWER sig=se0 OCC OC
hub 1-0:1.0: over-current change on port 2
ehci_hcd 0000:00:10.3: GetStatus port 3 status 001030 POWER sig=se0 OCC OC
hub 1-0:1.0: over-current change on port 3
ehci_hcd 0000:00:10.3: GetStatus port 4 status 001030 POWER sig=se0 OCC OC
hub 1-0:1.0: over-current change on port 4
ehci_hcd 0000:00:10.3: GetStatus port 5 status 001030 POWER sig=se0 OCC OC
hub 1-0:1.0: over-current change on port 5
ehci_hcd 0000:00:10.3: GetStatus port 6 status 001030 POWER sig=se0 OCC OC
hub 1-0:1.0: over-current change on port 6
The "over current" stuff is completely implausible: Nothing is attached
to any of the USB connections, and 2 of 6 ports are on the motherboard
but currently have no USB ports connected to them.
When the device is plugged in, the following errors get spit out:
ehci_hcd 0000:00:10.3: fatal command 010009 (park)=0 ithresh=1
period=256 RUN
ehci_hcd 0000:00:10.3: fatal status 0008 FLR
hub 1-0:1.0: state 5 ports 6 chg 0000 evt 0008
ehci_hcd 0000:00:10.3: GetStatus port 3 status 001813 POWER sig=j OC CSC
CONNECT
hub 1-0:1.0: port 3, status 0509, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x509
ehci_hcd 0000:00:10.3: port 3 full speed --> companion
ehci_hcd 0000:00:10.3: GetStatus port 3 status 003011 POWER OWNER
sig=se0 OC CONNECT
ehci_hcd 0000:00:10.3: fatal command 010009 (park)=0 ithresh=1
period=256 RUN
ehci_hcd 0000:00:10.3: fatal status 0008 FLR
Here's what in /sys/class/usb_host/usb_host1/registers - with the device
NOT plugged in:
bus pci, device 0000:00:10.3 (driver 10 Dec 2004)
EHCI Host Controller
EHCI 1.00, hcd state 1
ownership 01000001 linux
SMI sts/enable 0xe0080000
structural params 0x00003206
capability params 0x00006872
status 0008 FLR
command 010009 (park)=0 ithresh=1 period=256 RUN
intrenable 37 IAA FATAL PCD ERR INT
uframe 215e
port 1 status 001010 POWER sig=se0 OC
port 2 status 001010 POWER sig=se0 OC
port 3 status 001010 POWER sig=se0 OC
port 4 status 001010 POWER sig=se0 OC
port 5 status 001010 POWER sig=se0 OC
port 6 status 001010 POWER sig=se0 OC
irq normal 0 err 0 reclaim 0 (lost 0)
complete 0 unlink 0
Here's what in /sys/class/usb_host/usb_host1/registers - with the device
plugged in:
bus pci, device 0000:00:10.3 (driver 10 Dec 2004)
EHCI Host Controller
EHCI 1.00, hcd state 1
ownership 01000001 linux
SMI sts/enable 0xe0080000
structural params 0x00003206
capability params 0x00006872
status 0008 FLR
command 010009 (park)=0 ithresh=1 period=256 RUN
intrenable 37 IAA FATAL PCD ERR INT
uframe 3188
port 1 status 001010 POWER sig=se0 OC
port 2 status 001010 POWER sig=se0 OC
port 3 status 003810 POWER OWNER sig=j OC
port 4 status 001010 POWER sig=se0 OC
port 5 status 001010 POWER sig=se0 OC
port 6 status 001010 POWER sig=se0 OC
irq normal 0 err 0 reclaim 0 (lost 0)
complete 0 unlink 0
lspci output:
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8375 [KM266/KL266]
Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 80)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 80)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 80)
0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
0000:00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
0000:01:00.0 VGA compatible controller: S3 Inc. VT8375 [ProSavage8
KM266/KL266]
The machine is question is one I built myself. Neither "acpi=off" nor
"noapic" fixes the problem. I'm not sure if the problem the flaky
hardware or if its a driver bug. The device works fine in full-speed
mode (at 12MB/s, of course). This is the only high-speed device I have,
all my other computers only have USB 1.1 ports and all other usb devices
are USB 1.1. Its never worked right as far as I know, tested it on a
kernel as early as vanilla 2.6.8.1 and as late as 2.6.15-rc2-git6.
Current kernel is 2.6.14-gentoo-r2.
I'm stumped on this one, any clue what's going on?
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users