LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   With PCI bridge TI PCI2050, VT6212's EHCI can't work(time out), but its UHCI can work (https://www.linuxquestions.org/questions/linux-kernel-70/with-pci-bridge-ti-pci2050-vt6212s-ehci-cant-work-time-out-but-its-uhci-can-work-764077/)

thisway.diy 10-23-2009 09:32 PM

With PCI bridge TI PCI2050, VT6212's EHCI can't work(time out), but its UHCI can work
 
HI all,
My system is IDT 79RC32K438, kernel 2.4.20;
there is a PCI bridge TI PCI2050, and a USB Host controller VT6212 is connected to the bridge.

With the UHCI(USB 1.1) of VT6212, the usb storage device work well;
but with the EHCI (USB 2.0), it can't work. It is the same for a ZTE USB Modem.

When using EHCI, the log message is :
1. plug the usb storage device, it can be recognized :
/mnt/nfs/tmp # hub.c: new USB device 01:01.2-1, assigned address 2
endpoint max size 00000040
endpoint max size 00000040
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: USB2.0 Model: Flash Disk Rev: 8.07
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 7897088 512-byte hdwr sectors (4043 MB)
sda: Write Protect is off
Partition check:
/dev/scsi/host0/bus0/target0/lun0: p1

2. and can mount:
/mnt/nfs/tmp # mount -t vfat /devfs/scsi/host0/bus0/target0/lun0/part1 /mnt/sd

3. but when 'ls', it is error:
/mnt/nfs/tmp # ls /mnt/sd
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
hub.c: USB device not accepting new address (error=-145)
usb-storage: host_reset() requested but not implemented
scsi: device set offline - command error recover failed: host 0 channel 0 id 0 lun 0
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 6050000
I/O error: dev 08:01, sector 891184
I/O error: dev 08:01, sector 891185
I/O error: dev 08:01, sector 891186
I/O error: dev 08:01, sector 891187



Another message:
1. without PCI bridge, with the same kernel/driver code, with the same device, EHCI is OK.
2. We have try the 2.6 kernel, but the result is same: with PCI bridge EHCI can't work, without PCI bridge ECHI can work.
3. We have try three PCI bridge chip, TI,pericom,PLX. And only with the PLX's bridge, EHCI can work.


Can I change some code to use the TI PCI bridge to make EHCI work?


All times are GMT -5. The time now is 10:35 PM.