Distribution:kubuntu 5.04 Hardware Environment: ide2usb adapter baisad on gl811e chip and usb 2.0 cardbus Software Environment: kerne 2.6.13-rc4 Problem Description: ide2usb adapter do not working with usb 2.0 cardbus. And fault with : hub 2-0:1.0: state 5 ports 5 chg 0000 evt 0002 ehci_hcd 0000:02:00.2: GetStatus port 1 status 001c03 POWER sig=? CSC CONNECT hub 2-0:1.0: port 1, status 0501, change 0001, 480 Mb/s hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501 ehci_hcd 0000:02:00.2: port 1 full speed --> companion ehci_hcd 0000:02:00.2: GetStatus port 1 status 003801 POWER OWNER sig=j CONNECT hub 2-0:1.0: port_wait_reset: err = -107 With internal usb 1.1 it's working.
Created attachment 5434 [details] usb_devices ide to usb adapter attached to usb 1.1
Created attachment 5435 [details] lspci
Did any earlier kernel version work OK? If so, whcih one? Thanks.
I tested with 2.6.8.1, 2.6.10, 2.6.12.3, 2.6.13-rc4* and didn't gat positive result. On the begining i made wrong kernel configuration without OHCI module, but it worked with other usb devices (scaner, printer). However, with OHCI module it dusn't working too.And fault with message: ------------------dmesg-begin--------------------------------------------------- hub 2-0:1.0: port 1 not reset yet, waiting 200ms ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS hub 2-0:1.0: port 1 not reset yet, waiting 200ms ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS hub 2-0:1.0: port 1 not reset yet, waiting 200ms hub 2-0:1.0: port_wait_reset: err = -16 hub 2-0:1.0: port 1 not enabled, trying reset again... ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS hub 2-0:1.0: port 1 not reset yet, waiting 200ms ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS hub 2-0:1.0: port 1 not reset yet, waiting 200ms ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS hub 2-0:1.0: port 1 not reset yet, waiting 200ms hub 2-0:1.0: port_wait_reset: err = -16 hub 2-0:1.0: port 1 not enabled, trying reset again... hub 2-0:1.0: Cannot enable port 1. Maybe the USB cable is bad? hub 2-0:1.0: state 5 ports 3 chg 0000 evt 0002 ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00120101 PRSC PESC PPS CCS hub 2-0:1.0: port 1 enable change, status 00000101 hub 2-0:1.0: reset change on port 1 -----------------------------dmesg-end------------------------------------ after ide2usb adapter plugout -----------------------------dmesg-begin------------------------------- hub 2-0:1.0: state 5 ports 3 chg 0000 evt 0002 ohci_hcd 0000:02:00.0: GetStatus roothub.portstatus [0] = 0x00010100 CSC PPS hub 2-0:1.0: port 1, status 0100, change 0001, 12 Mb/s hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100 hub 4-0:1.0: state 5 ports 5 chg 0000 evt 0002 ehci_hcd 0000:02:00.2: GetStatus port 1 status 001002 POWER sig=se0 CSC hub 4-0:1.0: port 1, status 0100, change 0001, 12 Mb/s hub 4-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
David, any ideas?
GeneSys adapters have never worked well with Linux, reasons unknown. But I thought they were working much better lately ... and these problems are well before usb-storage would trigger those faults. Or: when I was working with CardBus EHCI, I found that it was rather essential to use the external power supply with the card. It seems not all laptops are happy providing 0.5 Amps per USB port. :)
It's working well with intel-uhci port, i use it with cd-borner and 3,5" HDD I tested other device with CardBus EHCI - it's working well with out eny extra power, only with EHCI port power. For example: T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=07b4 ProdID=0211 Rev= 1.00 S: Manufacturer=OLYMPUS CORPORATION S: Product=DIGITAL VOICE RECORDER C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I don't see eny reeson why this device can't working with CardBus EHCI. But maybe you have rite, it's jast broken device. T: Bus=01 Lev=02 Prnt=06 Port=00 Cnt=01 Dev#= 7 Spd=1.5 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=046d ProdID=c00e Rev=11.10 S: Manufacturer=Logitech S: Product=USB-PS/2 Optical Mouse C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
Another thing to try: "modprobe ohci-hcd". Your /proc/bus/usb/devices doesn't list the two OHCI controllers it should list... I've no idea why Ubuntu didn't hotplug that for you.
Created attachment 5523 [details] usb_devices
Created attachment 5524 [details] usb_devices
I'm sorry. After comment #4 i forgot to post new usb-device liste. Ubuntu hotplug working perfecly.
I tested usb2ide adapter on some more computers and found that it's not workin on OHCI base controllers. Not exacly laptops, desktops too.
Created attachment 5547 [details] usb_devices Here is working example with EHCI+UHCI Controller
I didn't found OHCI only controller to test it.
So, 2.6.13-rc6 or later now works properly for you?
Not. with kernel 2.6.13-rc6 it didn't worked and i didn't so any changes in a git tree bis now wich mus to fix it. Thank you!
I'm sorry, I don't understand your last response. Does 2.6.13-rc6 work properly or does it cause the same error as before?
Sorry :-) Kernel 2.6.13-rc6 cause the same error as before with all OHCI controllers. It work properly with UHCI controllers.
Ok, I'm going to attribute this to just bad hardware, as David stated. If you have any other information that might help fix this, please feel free to reopen this bug, thanks.