Hi all! I wrote some days ago speaking about a problem with my new PCI USB
card: I sould thank Alan Stern which replied to me promptly and intelligently.
I've made what he said: so I recompiled my kernel modules with debug turned on,
obtaining the following from dmesg (I don't want to spam, so i report only the
essential parts)
................................
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
PCI: Enabling device 0000:00:1d.7 (0004 -> 0006)
ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
drivers/usb/core/inode.c: creating file 'devices'
drivers/usb/core/inode.c: creating file '001'
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: reset hcs_params 0x103206 dbg=1 cc=3 pcc=2 ordered !ppc
ports=6
ehci_hcd 0000:00:1d.7: reset hcc_params 6871 thresh 7 uframes 1024 64 bit addr
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: supports USB remote wakeup
ehci_hcd 0000:00:1d.7: irq 17, io mem 0xde800000
ehci_hcd 0000:00:1d.7: reset command 080002 (park)=0 ithresh=8 period=1024
Reset HALT
ehci_hcd 0000:00:1d.7: init command 010001 (park)=0 ithresh=1 period=1024 RUN
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.17.11 ehci_hcd
usb usb1: SerialNumber: 0000:00:1d.7
usb usb1: uevent
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: uevent
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: no power switching (usb 1.0)
hub 1-0:1.0: individual port over-current protection
hub 1-0:1.0: Single TT
hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 1-0:1.0: power on to power good time: 20ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0000
drivers/usb/core/inode.c: creating file '001'
ehci_hcd 0000:00:1d.7: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
PCI: Enabling device 0000:02:0a.2 (0014 -> 0016)
ACPI: PCI Interrupt 0000:02:0a.2[C] -> GSI 20 (level, low) -> IRQ 18
ehci_hcd 0000:02:0a.2: EHCI Host Controller
drivers/usb/core/inode.c: creating file '002'
ehci_hcd 0000:02:0a.2: new USB bus registered, assigned bus number 2
ehci_hcd 0000:02:0a.2: reset hcs_params 0x2395 dbg=0 cc=2 pcc=3 ports=5
ehci_hcd 0000:02:0a.2: reset portroute 1 0 1 0 0
ehci_hcd 0000:02:0a.2: reset hcc_params e806 thresh 0 uframes 256/512/1024 park
ehci_hcd 0000:02:0a.2: park 0
ehci_hcd 0000:02:0a.2: MWI active
ehci_hcd 0000:02:0a.2: ...powerdown ports...
ehci_hcd 0000:02:0a.2: supports USB remote wakeup
ehci_hcd 0000:02:0a.2: irq 18, io mem 0xdc800000
ehci_hcd 0000:02:0a.2: reset command 080b02 park=3 ithresh=8 period=1024 Reset
HALT
ehci_hcd 0000:02:0a.2: init command 010009 (park)=0 ithresh=1 period=256 RUN
ehci_hcd 0000:02:0a.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: default language 0x0409
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.17.11 ehci_hcd
usb usb2: SerialNumber: 0000:02:0a.2
usb usb2: uevent
usb usb2: configuration #1 chosen from 1 choice
usb usb2: adding 2-0:1.0 (config #1, interface 0)
usb 2-0:1.0: uevent
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 5 ports detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: individual port power switching
hub 2-0:1.0: individual port over-current protection
hub 2-0:1.0: Single TT
hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 2-0:1.0: power on to power good time: 20ms
hub 2-0:1.0: local power source is good
hub 2-0:1.0: enabling power on all ports
hub 1-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x501
drivers/usb/core/inode.c: creating file '001'
b44.c:v1.00 (Apr 7, 2006)
PCI: Enabling device 0000:02:05.0 (0004 -> 0006)
ACPI: PCI Interrupt 0000:02:05.0[A] -> GSI 20 (level, low) -> IRQ 18
eth0: Broadcom 4400 10/100BaseT Ethernet 00:0c:6e:f3:4b:7a
ehci_hcd 0000:00:1d.7: port 5 full speed --> companion
ehci_hcd 0000:00:1d.7: GetStatus port 5 status 003801 POWER OWNER sig=j CONNECT
hub 2-0:1.0: state 7 ports 5 chg 0000 evt 0000
i8xx TCO timer: initialized (0xe460). heartbeat=30 sec (nowayout=0)
PCI: Enabling device 0000:00:1f.5 (0004 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1f.5 to 64
AC'97 0 analog subsections not ready
intel8x0_measure_ac97_clock: measured 50051 usecs
intel8x0: clocking to 48000
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
drivers/usb/core/inode.c: creating file '003'
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.0: detected 2 ports
uhci_hcd 0000:00:1d.0: uhci_check_and_reset_hc: cmd = 0x0000
uhci_hcd 0000:00:1d.0: Performing full reset
uhci_hcd 0000:00:1d.0: irq 20, io base 0x0000b800
usb usb3: default language 0x0409
usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.17.11 uhci_hcd
usb usb3: SerialNumber: 0000:00:1d.0
usb usb3: uevent
usb usb3: configuration #1 chosen from 1 choice
usb usb3: adding 3-0:1.0 (config #1, interface 0)
usb 3-0:1.0: uevent
hub 3-0:1.0: usb_probe_interface
hub 3-0:1.0: usb_probe_interface - got id
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
hub 3-0:1.0: standalone hub
hub 3-0:1.0: no power switching (usb 1.0)
hub 3-0:1.0: individual port over-current protection
hub 3-0:1.0: power on to power good time: 2ms
hub 3-0:1.0: local power source is good
hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
drivers/usb/core/inode.c: creating file '001'
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
drivers/usb/core/inode.c: creating file '004'
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.1: detected 2 ports
uhci_hcd 0000:00:1d.1: uhci_check_and_reset_hc: cmd = 0x0000
uhci_hcd 0000:00:1d.1: Performing full reset
uhci_hcd 0000:00:1d.1: irq 21, io base 0x0000b400
usb usb4: default language 0x0409
usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.17.11 uhci_hcd
usb usb4: SerialNumber: 0000:00:1d.1
usb usb4: uevent
usb usb4: configuration #1 chosen from 1 choice
usb usb4: adding 4-0:1.0 (config #1, interface 0)
usb 4-0:1.0: uevent
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: 2 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: power on to power good time: 2ms
hub 4-0:1.0: local power source is good
hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0000
drivers/usb/core/inode.c: creating file '001'
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
drivers/usb/core/inode.c: creating file '005'
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.2: detected 2 ports
uhci_hcd 0000:00:1d.2: uhci_check_and_reset_hc: cmd = 0x0000
uhci_hcd 0000:00:1d.2: Performing full reset
uhci_hcd 0000:00:1d.2: irq 16, io base 0x0000b000
usb usb5: default language 0x0409
usb usb5: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: UHCI Host Controller
usb usb5: Manufacturer: Linux 2.6.17.11 uhci_hcd
usb usb5: SerialNumber: 0000:00:1d.2
usb usb5: uevent
usb usb5: configuration #1 chosen from 1 choice
usb usb5: adding 5-0:1.0 (config #1, interface 0)
usb 5-0:1.0: uevent
hub 5-0:1.0: usb_probe_interface
hub 5-0:1.0: usb_probe_interface - got id
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
hub 5-0:1.0: standalone hub
hub 5-0:1.0: no power switching (usb 1.0)
hub 5-0:1.0: individual port over-current protection
hub 5-0:1.0: power on to power good time: 2ms
hub 5-0:1.0: local power source is good
hub 5-0:1.0: state 7 ports 2 chg 0000 evt 0000
drivers/usb/core/inode.c: creating file '001'
uhci_hcd 0000:00:1d.2: port 1 portsc 009b,00
hub 5-0:1.0: port 1, status 0101, change 0003, 12 Mb/s
PCI: Enabling device 0000:02:0d.0 (0004 -> 0005)
ACPI: PCI Interrupt 0000:02:0d.0[A] -> GSI 21 (level, low) -> IRQ 23
Audigy2 value: Special config.
hub 5-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 5-1: new full speed USB device using uhci_hcd and address 2
Bluetooth: Core ver 2.8
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
usb 5-1: ep0 maxpacket = 8
Bluetooth: HCI USB driver ver 2.9
usb 5-1: default language 0x0409
usb 5-1: new device strings: Mfr=2, Product=3, SerialNumber=1
usb 5-1: Product: USB SIR-IRDA Adapter
usb 5-1: Manufacturer: Moschip Semiconductor
usb 5-1: SerialNumber: MOSCHIP
usb 5-1: uevent
usb 5-1: configuration #1 chosen from 1 choice
usb 5-1: adding 5-1:1.0 (config #1, interface 0)
usb 5-1:1.0: uevent
drivers/usb/core/inode.c: creating file '002'
hub 5-0:1.0: state 7 ports 2 chg 0000 evt 0002
usbcore: registered new driver hci_usb
uhci_hcd 0000:00:1d.0: suspend_rh (auto-stop)
uhci_hcd 0000:00:1d.1: suspend_rh (auto-stop)
The problem is present on the following pci devices: 02:0a.0, 02:0a.2 and
02:0a.1, which are handled by ehci.
Now I will report the output of the kernel when i plug in the SanDisk USB flash
device which is the only that works....
usb 2-2: new high speed USB device using ehci_hcd and address 2
usb 2-2: Product: Cruzer Micro
usb 2-2: Manufacturer: SanDisk Corporation
usb 2-2: SerialNumber: 20044530800c80505555
usb 2-2: configuration #1 chosen from 1 choice
Then, loading usb-storage:
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: SanDisk Model: Cruzer Micro Rev: 0.4
Type: Direct-Access ANSI SCSI revision: 02
hub 2-0:1.0: state 7 ports 5 chg 0000 evt 0004
ehci_hcd 0000:02:0a.2: GetStatus port 2 status 001002 POWER sig=se0 CSC
hub 2-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
And all works with this. Now I will disconnect the flash from the bus:
usb 2-2: USB disconnect, address 2
usb 2-2: usb_disable_device nuking all URBs
usb 2-2: unregistering interface 2-2:1.0
usb 2-2:1.0: uevent
usb 2-2: unregistering device
usb 2-2: uevent
hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
Now I will connect a mouse... for example, but this happens with any
peripheral different than the USB flash I've connected.
I get the following mewssages:
hub 2-0:1.0: state 7 ports 5 chg 0000 evt 0004
ehci_hcd 0000:02:0a.2: GetStatus port 2 status 001403 POWER sig=k CSC CONNECT
hub 2-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501
ehci_hcd 0000:02:0a.2: port 2 low speed --> companion
ehci_hcd 0000:02:0a.2: GetStatus port 2 status 003002 POWER OWNER sig=se0 CSC
Ok: from now the USB bus will be unusable ... and I should restart the
computer to get these ports working again. What should I do? Is this an
hardware or a software problem?
Is the problem that the hub is not able to handle 1.1 devices? E deduce it from
the line:
ehci_hcd 0000:02:0a.2: port 2 low speed --> companion
I hope someone has some ideas, thank to all the people reading this.
P.S.: I'm not subscribed to this list, so someone is pleased to send me
eventual replies. If this is a problem I will subscribe myself to this list.
I'ven't done this for now since I'm subscribed to many mailing lists and so I
don't want to be overloaded...
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users