Hello developers!

I have a problem with an external 2.5" ATA USB storage using a sl11r chip
as USB/IDE converter. The chip is already updated with the latest firmware.
The harddisk operates considerably well under linux but has a problem.
When connecting (hot-plug) the the device while usb-uhci and usbcore
are running the device initialisation fails:

========= /var/log/messages ============
May  4 18:57:58 (none) kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s
May  4 18:57:58 (none) kernel: hub.c: port 1 connection change
May  4 18:57:58 (none) kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s
May  4 18:57:59 (none) kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s
May  4 18:57:59 (none) last message repeated 3 times
May  4 18:57:59 (none) kernel: hub.c: port 1, portstatus 103, change 0, 12 Mb/s
May  4 18:57:59 (none) kernel: hub.c: USB new device connect on bus1/1, assigned 
device number 3
May  4 18:57:59 (none) kernel: usb-uhci.c: interrupt, status 2, frame# 1019
May  4 18:57:59 (none) kernel: usb.c: USB device not accepting new address=3 
(error=-110)
May  4 18:57:59 (none) kernel: hub.c: port 1, portstatus 103, change 0, 12 Mb/s
May  4 18:57:59 (none) kernel: hub.c: USB new device connect on bus1/1, assigned 
device number 4
May  4 18:57:59 (none) kernel: usb.c: USB device not accepting new address=4 
(error=-110)
May  4 18:57:59 (none) kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s
May  4 18:57:59 (none) kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s
May  4 18:57:59 (none) kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s
==============================

But if I reload "cold-plug" the usb chipset driver while leaving
the harddisk attached it works properly:

$ rmmod usb-uhci
$ modprobe usb-uhci

====== /var/log/messages ======
May  4 19:02:32 (none) kernel: usb-uhci.c: $Revision: 1.275 $ time 14:22:01 Mar 27 2002
May  4 19:02:32 (none) kernel: usb-uhci.c: High bandwidth mode enabled
May  4 19:02:32 (none) kernel: PCI: Found IRQ 11 for device 00:1f.2
May  4 19:02:32 (none) kernel: PCI: Sharing IRQ 11 with 01:00.0
May  4 19:02:32 (none) kernel: PCI: Setting latency timer of device 00:1f.2 to 64
May  4 19:02:32 (none) kernel: usb-uhci.c: USB UHCI at I/O 0x1820, IRQ 11
May  4 19:02:32 (none) kernel: usb-uhci.c: Detected 2 ports
May  4 19:02:32 (none) kernel: usb.c: new USB bus registered, assigned bus number 1
May  4 19:02:32 (none) kernel: usb.c: kmalloc IF c14e2560, numif 1
May  4 19:02:32 (none) kernel: usb.c: new device strings: Mfr=0, Product=2, 
SerialNumber=1
May  4 19:02:32 (none) kernel: usb.c: USB device number 1 default language ID 0x0
May  4 19:02:32 (none) kernel: Product: USB UHCI Root Hub
May  4 19:02:32 (none) kernel: SerialNumber: 1820
May  4 19:02:32 (none) kernel: hub.c: USB hub found
May  4 19:02:32 (none) kernel: hub.c: 2 ports detected
May  4 19:02:32 (none) kernel: hub.c: standalone hub
May  4 19:02:32 (none) kernel: hub.c: ganged power switching
May  4 19:02:32 (none) kernel: hub.c: global over-current protection
May  4 19:02:32 (none) kernel: hub.c: Port indicators are not supported
May  4 19:02:32 (none) kernel: hub.c: power on to power good time: 2ms
May  4 19:02:32 (none) kernel: hub.c: hub controller current requirement: 0mA
May  4 19:02:32 (none) kernel: hub.c: port removable status: RR
May  4 19:02:32 (none) kernel: hub.c: local power source is good
May  4 19:02:32 (none) kernel: hub.c: no over-current condition exists
May  4 19:02:32 (none) kernel: hub.c: enabling power on all ports
May  4 19:02:32 (none) kernel: usb.c: hub driver claimed interface c14e2560
May  4 19:02:32 (none) kernel: usb.c: kusbd: /sbin/hotplug add 1
May  4 19:02:32 (none) kernel: usb.c: kusbd policy returned 0xfffffffe
May  4 19:02:32 (none) kernel: usb-uhci.c: v1.275:USB Universal Host Controller 
Interface driver
May  4 19:02:32 (none) kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s
May  4 19:02:32 (none) kernel: hub.c: port 1 connection change
May  4 19:02:32 (none) kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s
May  4 19:02:32 (none) kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s
May  4 19:02:32 (none) kernel: hub.c: port 1, portstatus 103, change 0, 12 Mb/s
May  4 19:02:32 (none) kernel: hub.c: USB new device connect on bus1/1, assigned 
device number 2
May  4 19:02:32 (none) kernel: usb.c: kmalloc IF c4cbe420, numif 1
May  4 19:02:32 (none) kernel: usb.c: new device strings: Mfr=1, Product=1, 
SerialNumber=2
May  4 19:02:32 (none) kernel: usb.c: USB device number 2 default language ID 0x409
May  4 19:02:32 (none) kernel: Manufacturer: SL IDE
May  4 19:02:32 (none) kernel: Product: SL IDE
May  4 19:02:32 (none) kernel: SerialNumber: 11204EC
May  4 19:02:32 (none) kernel: usb.c: unhandled interfaces on device
May  4 19:02:32 (none) kernel: usb.c: USB device 2 (vend/prod 0x4ce/0x2) is not 
claimed by any active driver.
  ... device information skipped ...
====================================

This error is reproducable with all motherboards I have, namely a 
intel LX, an VIA KT266A and a intel 82801AA.

The only information I found regarding the "device not accepting
new address" was the debounce timeout. I played with a lot of
values but only 1000(HUB_DEBOUNCE_TIMEOUT)/100(HUB_DEBOUNCE_STEP)
had some partial success. I think that the debounce timeout is
not the reason why it doesn't work.

When using a fresh WinXP installation the harddisk is recorgnised
without even installing a device driver. Either the harddisk relies
on some Win(XP)-Bug or there are still problems with some initial
wait cycle (e.g. harddisk spinup). The harddisk uses USB as its
power source.

tia
Eduard Hasenleithner

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to