Hi, I'm going to lump a bunch of things into one email to save your patience.

kernel: 2.6.13 SMP

First, my PCI card probes as ehci but doesn't really seem to work very well:

$ cat /proc/bus/usb/devices

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 4
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.13-rc6-3124-smp ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:02:06.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.13-rc6-3124-smp uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:02:06.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.13-rc6-3124-smp uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:02:06.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.13-rc6-3124-smp uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:07.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

relevant lspci -v output:

00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
(prog-if 00 [UHCI])
        Flags: bus master, medium devsel, latency 64, IRQ 19
        I/O ports at dce0 [size=32]

02:06.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 61) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Flags: bus master, medium devsel, latency 64, IRQ 18
        I/O ports at ece0 [size=32]
        Capabilities: [80] Power Management version 2

02:06.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 61) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Flags: bus master, medium devsel, latency 64, IRQ 19
        I/O ports at ecc0 [size=32]
        Capabilities: [80] Power Management version 2

02:06.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
(prog-if 20 [EHCI])
        Subsystem: VIA Technologies, Inc. USB 2.0
        Flags: bus master, medium devsel, latency 64, IRQ 16
        Memory at fafffc00 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

# cat /proc/interrupts  | grep -i usb; sleep 10; cat /proc/interrupts 
| grep -i usb
 16:          6         29   IO-APIC-level  ehci_hcd:usb4
 18:    3200127    3561228   IO-APIC-level  uhci_hcd:usb2
 19:    7971448   13299277   IO-APIC-level  libata, uhci_hcd:usb1, uhci_hcd:usb3
 16:          6         29   IO-APIC-level  ehci_hcd:usb4
 18:    3200127    3561228   IO-APIC-level  uhci_hcd:usb2
 19:    7971448   13301709   IO-APIC-level  libata, uhci_hcd:usb1, uhci_hcd:usb3

Typical errors:

usb 4-4: new high speed USB device using ehci_hcd and address 6
usb 4-4: khubd timed out on ep0out len=0/0
usb 4-4: khubd timed out on ep0out len=0/0
usb 4-4: device not accepting address 6, error -110
hub 4-0:1.0: state 5 ports 4 chg 0000 evt 0000
hub 3-0:1.0: state 5 ports 2 chg 0000 evt 0002
uhci_hcd 0000:02:06.1: port 1 portsc 01a3,00
hub 3-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
usb 3-1: new low speed USB device using uhci_hcd and address 4
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: device descriptor read/64, error -110
usb 3-1: khubd timed out on ep0in len=0/64
ehci_hcd 0000:02:06.2: remove, state 1
ehci_hcd 0000:02:06.2: roothub graceful disconnect
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: device descriptor read/64, error -110
usb 3-1: new low speed USB device using uhci_hcd and address 5
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: device descriptor read/64, error -110
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: device descriptor read/64, error -110
usb 3-1: new low speed USB device using uhci_hcd and address 6
usb 3-1: khubd timed out on ep0out len=0/0
usb 3-1: khubd timed out on ep0out len=0/0
usb 3-1: device not accepting address 6, error -110
usb 3-1: new low speed USB device using uhci_hcd and address 7
usb 3-1: khubd timed out on ep0out len=0/0
usb 3-1: khubd timed out on ep0out len=0/0
usb 3-1: device not accepting address 7, error -110
hub 3-0:1.0: state 5 ports 2 chg 0000 evt 0002
usb usb4: USB disconnect, address 1
usb usb4: usb_disable_device nuking all URBs
ehci_hcd 0000:02:06.2: shutdown urb e5f59560 pipe 40408180 ep1in-intr
usb usb4: unregistering interface 4-0:1.0
usb 4-0:1.0: hotplug
usb usb4: unregistering device
usb usb4: hotplug
ehci_hcd 0000:02:06.2: stop
ehci_hcd 0000:02:06.2: reset command 01000b (park)=0 ithresh=1
period=256 Reset RUN
ehci_hcd 0000:02:06.2: irq normal 2 err 0 reclaim 13 (lost 0)
ehci_hcd 0000:02:06.2: complete 1 unlink 12
ehci_hcd 0000:02:06.2: ehci_stop completed status 1000 Halt
ehci_hcd 0000:02:06.2: USB bus 4 deregistered
hub 3-0:1.0: state 5 ports 2 chg 0000 evt 0004
uhci_hcd 0000:02:06.1: port 2 portsc 0093,00
hub 3-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
ehci_hcd 0000:02:06.2: EHCI Host Controller
ehci_hcd 0000:02:06.2: reset hcs_params 0x2204 dbg=0 cc=2 pcc=2
ordered !ppc ports=4
ehci_hcd 0000:02:06.2: reset hcc_params 6872 thresh 7 uframes 256/512/1024
ehci_hcd 0000:02:06.2: capability 1000001 at 68
ehci_hcd 0000:02:06.2: new USB bus registered, assigned bus number 4
ehci_hcd 0000:02:06.2: irq 16, io mem 0xfafffc00
ehci_hcd 0000:02:06.2: reset command 080002 (park)=0 ithresh=8
period=1024 Reset HALT
ehci_hcd 0000:02:06.2: init command 010009 (park)=0 ithresh=1 period=256 RUN
ehci_hcd 0000:02:06.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
ehci_hcd 0000:02:06.2: supports USB remote wakeup
usb usb4: default language 0x0409
usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: EHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.13-rc6-3124-smp ehci_hcd
usb usb4: SerialNumber: 0000:02:06.2
usb usb4: hotplug
usb usb4: adding 4-0:1.0 (config #1, interface 0)
usb 4-0:1.0: hotplug
uhci_hcd 0000:02:06.1: port 2 portsc 009a,00
hub 4-0:1.0: usb_probe_interface
hub 4-0:1.0: usb_probe_interface - got id
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 4 ports detected
hub 4-0:1.0: standalone hub
hub 4-0:1.0: no power switching (usb 1.0)
hub 4-0:1.0: individual port over-current protection
hub 4-0:1.0: Single TT
hub 4-0:1.0: TT requires at most 8 FS bit times
hub 4-0:1.0: power on to power good time: 20ms
hub 4-0:1.0: local power source is good
uhci_hcd 0000:02:06.1: port 2 portsc 0098,00
uhci_hcd 0000:02:06.1: port 2 portsc 0098,00
uhci_hcd 0000:02:06.1: port 2 portsc 0098,00
uhci_hcd 0000:02:06.1: port 2 portsc 0098,00
uhci_hcd 0000:02:06.1: port 2 portsc 0098,00
hub 3-0:1.0: debounce: port 2: total 200ms stable 100ms status 0x100
hub 4-0:1.0: state 5 ports 4 chg 0000 evt 0000
ehci_hcd 0000:02:06.2: GetStatus port 3 status 001403 POWER sig=k CSC CONNECT
hub 4-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
hub 4-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501
ehci_hcd 0000:02:06.2: port 3 low speed --> companion
ehci_hcd 0000:02:06.2: GetStatus port 3 status 003402 POWER OWNER sig=k CSC
hub 4-0:1.0: port_wait_reset: err = -107
ehci_hcd 0000:02:06.2: GetStatus port 4 status 001803 POWER sig=j CSC CONNECT
hub 4-0:1.0: port 4, status 0501, change 0001, 480 Mb/s
hub 4-0:1.0: debounce: port 4: total 100ms stable 100ms status 0x501
ehci_hcd 0000:02:06.2: port 4 high speed
ehci_hcd 0000:02:06.2: GetStatus port 4 status 001005 POWER sig=se0 PE CONNECT
usb 4-4: new high speed USB device using ehci_hcd and address 3
usb 4-4: khubd timed out on ep0in len=0/64
usb 4-4: khubd timed out on ep0in len=0/64
usb 4-4: khubd timed out on ep0in len=0/64
ehci_hcd 0000:02:06.2: port 4 high speed
ehci_hcd 0000:02:06.2: GetStatus port 4 status 001005 POWER sig=se0 PE CONNECT
usb 4-4: device descriptor read/64, error -110
usb 4-4: khubd timed out on ep0in len=0/64
usb 4-4: khubd timed out on ep0in len=0/64
usb 4-4: khubd timed out on ep0in len=0/64
ehci_hcd 0000:02:06.2: port 4 high speed
ehci_hcd 0000:02:06.2: GetStatus port 4 status 001005 POWER sig=se0 PE CONNECT
usb 4-4: device descriptor read/64, error -110

inserting a device to the PCI card gives:

uhci_hcd 0000:02:06.1: port 1 portsc 01a3,00
hub 3-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
usb 3-1: new low speed USB device using uhci_hcd and address 12
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: device descriptor read/64, error -110
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: device descriptor read/64, error -110
usb 3-1: new low speed USB device using uhci_hcd and address 13
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: device descriptor read/64, error -110
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: device descriptor read/64, error -110
usb 3-1: new low speed USB device using uhci_hcd and address 14
usb 3-1: khubd timed out on ep0out len=0/0
usb 3-1: khubd timed out on ep0out len=0/0
usb 3-1: device not accepting address 14, error -110
usb 3-1: new low speed USB device using uhci_hcd and address 15
usb 3-1: khubd timed out on ep0out len=0/0

The device isn't seen:

# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

However, if I "rmmod ehci-hcd" and then  "modprobe ohci-hcd", nothing happens

Then, if I remove and re-insert the device, it sees it:

ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
hub 3-0:1.0: state 5 ports 2 chg 0000 evt 0002
uhci_hcd 0000:02:06.1: port 1 portsc 018a,00
hub 3-0:1.0: port 1, status 0300, change 0003, 1.5 Mb/s
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x300
hub 3-0:1.0: state 5 ports 2 chg 0000 evt 0002
uhci_hcd 0000:02:06.1: port 1 portsc 01a3,00
hub 3-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
usb 3-1: new low speed USB device using uhci_hcd and address 17
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: khubd timed out on ep0in len=0/64
usb 3-1: device descriptor read/64, error -110
usb 3-1: skipped 1 descriptor after interface
usb 3-1: default language 0x0409
usb 3-1: new device strings: Mfr=3, Product=1, SerialNumber=2
usb 3-1: Product: Back-UPS RS 1000 FW:7.g8 .D USB FW:g8
usb 3-1: Manufacturer: American Power Conversion
usb 3-1: SerialNumber: BB0100009999
usb 3-1: hotplug
usb 3-1: adding 3-1:1.0 (config #1, interface 0)
usb 3-1:1.0: hotplug
usbhid 3-1:1.0: usb_probe_interface
usbhid 3-1:1.0: usb_probe_interface - got id
drivers/usb/core/file.c: looking for a minor, starting at 96
hiddev96: USB HID v1.10 Device [American Power Conversion Back-UPS RS
1000 FW:7.g8 .D USB FW:g8] on usb-0000:02:06.1-1

# lsusb
Bus 003 Device 017: ID 051d:0002 American Power Conversion Back-UPS Pro 500
Bus 003 Device 016: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

What's the deal?  Anyone got any tips?

I can work-around by uncommenting this:

# tail -n 1 /etc/modprobe.conf
#alias ehci-hcd ohci-hcd

However, that's pretty ugly.

Also, sometimes I get these:

Nov 17 04:43:12 hostname kernel: drivers/usb/input/hid-core.c: control
queue full

Do I care?

Thanks for any pointers,
--
http://www.lightconsulting.com/~travis/  -><- Knight of the Lambda Calculus
"We already have enough fast, insecure systems." -- Schneier & Ferguson
GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B


-------------------------------------------------------
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_idv37&alloc_id865&op=click
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to