I've got a Kingston DataTraveller Elite 1GB USB pen drive that I'm using with an Asus A8N-SLI Deluxe motherboard (nForce4 chipset). I was able to get the USB 2.0 to basically work in 2.6.10 thanks to the patch that David Brownell kindly provided. However, I'm having the following problem:

This USB drive works in 2.6.9, although the kernel is not too happy about it at first:

hub 1-0:1.0: connect-debounce failed, port 9 disabled
ehci_hcd 0000:00:02.1: port 7 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:02.1: port 7 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:02.1: port 7 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:02.1: port 7 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:02.1: port 7 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: Cannot enable port 7.  Maybe the USB cable is bad?
ehci_hcd 0000:00:02.1: port 7 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:02.1: port 7 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:02.1: port 7 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
ehci_hcd 0000:00:02.1: port 7 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
usb 1-7: new high speed USB device using address 9
scsi7 : SCSI emulation for USB Mass Storage devices
  Vendor: Kingston  Model: DT Elite HS 2.0   Rev: 5.02
  Type:   Direct-Access                      ANSI SCSI revision: 02

etc.

In 2.6.10 however, I get only the errors below when I plug the drive in. At least most of the time.. I think I may have gotten it to come up once. (This output is with CONFIG_USB_DEBUG=y)

hub 1-0:1.0: state 5 ports 10 chg fc00 evt 0100
ehci_hcd 0000:00:02.1: GetStatus port 8 status 001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 8, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 8: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:02.1: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: port 8 not enabled, trying reset again...
ehci_hcd 0000:00:02.1: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: port 8 not enabled, trying reset again...
ehci_hcd 0000:00:02.1: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: port 8 not enabled, trying reset again...
ehci_hcd 0000:00:02.1: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: port 8 not enabled, trying reset again...
ehci_hcd 0000:00:02.1: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: port 8 not enabled, trying reset again...
hub 1-0:1.0: Cannot enable port 8. Maybe the USB cable is bad?
ehci_hcd 0000:00:02.1: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: port 8 not enabled, trying reset again...
ehci_hcd 0000:00:02.1: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: port 8 not enabled, trying reset again...
ehci_hcd 0000:00:02.1: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: port 8 not enabled, trying reset again...
ehci_hcd 0000:00:02.1: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: port 8 not enabled, trying reset again...
ehci_hcd 0000:00:02.1: port 8 reset error -110
hub 1-0:1.0: hub_port_status failed (err = -32)
hub 1-0:1.0: port 8 not enabled, trying reset again...
hub 1-0:1.0: Cannot enable port 8. Maybe the USB cable is bad?


Now if I rmmod ehci-hcd and plug it in then, it works perfectly with OHCI:

ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [6] = 0x00100103 PRSC PPS PES CCS
usb 2-7: new full speed USB device using ohci_hcd and address 14
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [6] = 0x00100103 PRSC PPS PES CCS
usb 2-7: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-7: default language 0x0409
usb 2-7: Product: DT Elite HS 2.0
usb 2-7: Manufacturer: Kingston
usb 2-7: SerialNumber: 09A11B4150306B2E
usb 2-7: hotplug
usb 2-7: adding 2-7:1.0 (config #1, interface 0)
usb 2-7:1.0: hotplug
usb-storage 2-7:1.0: usb_probe_interface
usb-storage 2-7:1.0: usb_probe_interface - got id
scsi9 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 14
usb-storage: waiting for device to settle before scanning
Vendor: Kingston Model: DT Elite HS 2.0 Rev: 5.02
Type: Direct-Access ANSI SCSI revision: 00


etc.

It looks almost like 2.6.10 with EHCI is not waiting long enough for the device to initialize after the connect and then gives up too quickly, while in 2.6.9 it was eventually able to initialize. This drive has an activity LED on it, which after I plug it in with 2.6.10 just sits there without blinking (power on but no activity).


------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to