TDA2EG-17: usb usb1-port1: Cannot enable. Maybe the USB cable is bad

Part Number: TDA2EG-17
Other Parts Discussed in Thread: TDA2HG

Hello expert

    sdk: PROCESSOR_SDK_VISION_03_08_00_00  Linux version 4.4.84

      We tested several new USB disk, and each USB disk can be stored in the window Read and write on the PC, but there is a  type of U disk (3 USB flash disks) that can’t read and write, the read and write will report the log:

usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
The USB disk cannot be recognized even after re-plugging the USB disk. The linux system must be restarted before the USB flash drive can be recognized.
Here is the log:

sys.log
[11:24:04:427]<6>[    1.783743] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[11:24:04:427]<6>[    1.783773] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[11:24:04:427]<6>[    1.784077] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
[11:24:04:427]<6>[    1.784128] xhci-hcd xhci-hcd.2.auto: irq 454, io mem 0x48890000
[11:24:04:427]<6>[    1.784885] hub 1-0:1.0: USB hub found
[11:24:04:428]<6>[    1.784924] hub 1-0:1.0: 1 port detected
[11:24:04:428]<6>[    1.785311] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[11:24:04:436]<6>[    1.785330] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[11:24:04:436]<6>[    1.785410] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[11:24:04:436]<6>[    1.786064] hub 2-0:1.0: USB hub found
[11:24:04:436]<6>[    1.786100] hub 2-0:1.0: 1 port detected
[11:24:04:437]<6>[    1.987260] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[11:24:04:437]<6>[    1.987287] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
[11:24:04:437]<6>[    1.987560] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
[11:24:04:437]<6>[    1.987610] xhci-hcd xhci-hcd.3.auto: irq 455, io mem 0x488d0000
[11:24:04:437]<6>[    1.988310] hub 3-0:1.0: USB hub found
[11:24:04:437]<6>[    1.988346] hub 3-0:1.0: 1 port detected
[11:24:04:437]<6>[    1.988713] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[11:24:04:437]<6>[    1.988731] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4
[11:24:04:446]<6>[    1.988809] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[11:24:04:446]<6>[    1.989456] hub 4-0:1.0: USB hub found
[11:24:04:446]<6>[    1.989492] hub 4-0:1.0: 1 port detected
[11:24:04:446]<5>[    2.000293] SCSI subsystem initialized
[11:24:04:446]<6>[    2.011951] usbcore: registered new interface driver usb-storage
[11:24:04:894]
[11:24:05:231]root@dra7xx-evm:~# 
[11:24:09:380]root@dra7xx-evm:~# <6>[   16.243480] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[11:24:09:517]<4>[   16.393374] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
[11:24:09:524]<4>[   16.393441] usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
[11:24:09:532]<6>[   16.401208] usb-storage 1-1:1.0: USB Mass Storage device detected
[11:24:09:542]<6>[   16.411527] scsi host0: usb-storage 1-1:1.0
[11:24:10:546]<5>[   17.415599] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 3.0      PQ: 0 ANSI: 6
[11:24:10:555]<5>[   17.417205] sd 0:0:0:0: [sda] 60437492 512-byte logical blocks: (30.9 GB/28.8 GiB)
[11:24:10:555]<5>[   17.417492] sd 0:0:0:0: [sda] Write Protect is off
[11:24:10:555]<7>[   17.417506] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00
[11:24:10:564]<5>[   17.417788] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[11:24:10:564]<6>[   17.421997]  sda: sda1
[11:24:10:564]<5>[   17.425112] sd 0:0:0:0: [sda] Attached SCSI removable disk
[11:24:12:718]
[11:24:15:771]root@dra7xx-evm:~# mount /dev/mmcblk0
[11:24:15:780]mmcblk0       mmcblk0boot0  mmcblk0boot1  mmcblk0p1     mmcblk0p2     mmcblk0p3     mmcblk0p4     mmcblk0p5     mmcblk0p6     mmcblk0p7     mmcblk0p8     mmcblk0p9
[11:24:15:964]root@dra7xx-evm:~# mount /dev/mmcblk0
[11:24:15:972]mmcblk0       mmcblk0boot0  mmcblk0boot1  mmcblk0p1     mmcblk0p2     mmcblk0p3     mmcblk0p4     mmcblk0p5     mmcblk0p6     mmcblk0p7     mmcblk0p8     mmcblk0p9
[11:24:20:654]root@dra7xx-evm:~# mount /dev/sda1 /mnt/usb/
[11:24:20:732]root@dra7xx-evm:~# <4>[   27.601193] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[11:24:21:551]
[11:24:32:686]root@dra7xx-evm:~# cp ~/app.tar.gz   /mnt/usb/  -rf
[11:24:58:943]
[11:24:59:262]
[11:24:59:582]
[11:24:59:886]
[11:25:00:174]
[11:25:00:446]
[11:25:08:374][   75.243502] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:08:384]<3>[   75.243502] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:12:484][   79.353501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:12:493]<3>[   79.353501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:16:595][   83.463501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:16:604]<3>[   83.463501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:20:704][   87.573504] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:20:711]<3>[   87.573504] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:20:719]<6>[   87.574471] usb 1-1: USB disconnect, device number 2
[11:25:20:727][   87.593548] blk_update_request: I/O error, dev sda, sector 73663
[11:25:20:735][   87.603531] blk_update_request: I/O error, dev sda, sector 73903
[11:25:20:744][   87.613512] FAT-fs (sda1): FAT read failed (blocknr 823)
[11:25:20:744][   87.614311] FAT-fs (sda1): FAT read failed (blocknr 822)
[11:25:20:745][   87.615063] FAT-fs (sda1): FAT read failed (blocknr 823)
[11:25:20:745][   87.615825] FAT-fs (sda1): FAT read failed (blocknr 822)
[11:25:20:754][   87.616564] FAT-fs (sda1): FAT read failed (blocknr 823)
[11:25:20:754][   87.617323] FAT-fs (sda1): FAT read failed (blocknr 822)
[11:25:20:754]cp: write error: Input/output error
[11:25:20:754]root@dra7xx-evm:~# 
[11:25:20:754]root@dra7xx-evm:~# 
[11:25:20:754]root@dra7xx-evm:~# 
[11:25:20:754]root@dra7xx-evm:~# 
[11:25:20:754]root@dra7xx-evm:~# 
[11:25:20:754]root@dra7xx-evm:~# 
[11:25:20:755]root@dra7xx-evm:~# <6>[   87.593521] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverby[   87.621626] FAT-fs (sda1): unable to read inode block for updating (i_pos 131076)
[11:25:20:755]te=0x00
[11:25:20:755]<6>[   87.593538] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 00 01 1f bf 00 00 f0 00
[11:25:20:755]<3>[   87.593548] blk_update_request: I/O error, dev sda, sector 73663
[11:25:20:755]<5>[   87.594335] random: nonblocking pool is initialized
[11:25:20:764]<6>[   87.603505] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
[11:25:20:764]<6>[   87.603521] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 00 01 20 af 00 00 f0 00
[11:25:20:764]<3>[   87.603531] blk_update_request: I/O error, dev sda, sector 73903
[11:25:20:764]<3>[   87.613512] FAT-fs (sda1): FAT read failed (blocknr 823)
[11:25:20:764]<3>[   87.614311] FAT-fs (sda1): FAT read failed (blocknr 822)
[11:25:20:764]<3>[   87.615063] FAT-fs (sda1): FAT read failed (blocknr 823)
[11:25:20:765]<3>[   87.615825] FAT-fs (sda1): FAT read failed (blocknr 822)
[11:25:20:765]<3>[   87.616564] FAT-fs (sda1): FAT read failed (blocknr 823)
[11:25:20:765]<3>[   87.617323] FAT-fs (sda1): FAT read failed (blocknr 822)
[11:25:20:774]<3>[   87.621626] FAT-fs (sda1): unable to read inode block for updating (i_pos 131076)
[11:25:20:786][   87.653419] FAT-fs (sda1): bread failed in fat_clusters_flush
[11:25:20:794]<3>[   87.653419] FAT-fs (sda1): bread failed in fat_clusters_flush
[11:25:27:273][   91.893504] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:27:273]<3>[   91.893504] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:29:134][   96.003501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:29:144]<3>[   96.003501] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:33:244][  100.113506] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:33:254]<3>[  100.113506] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:37:351][  104.223498] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:37:358][  104.224401] usb usb1-port1: unable to enumerate USB device
[11:25:37:366]<3>[  104.223498] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[11:25:37:375]<3>[  104.224401] usb usb1-port1: unable to enumerate USB device
[11:29:42:367]
[11:31:53:711]root@dra7xx-evm:~# 
[11:31:54:046]root@dra7xx-evm:~# 
[11:32:11:230]root@dra7xx-evm:~# reboot -f
[11:32:11:246][  498.096582] reboot: Restarting system
[11:32:11:430]
[11:32:11:430]U-Boot SPL 2016.05-svn21493 (Jan 28 2021 - 11:22:01)
[11:32:11:430]DRA722-GP ES2.1
[11:32:11:430]Trying to boot from MMC2_2
[11:32:11:430]no pinctrl for ddr_1_8v
[11:32:11:493]reading u-boot.img
[11:32:11:493]reading u-boot.img
.....
[11:32:12:766][    0.674094] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[11:32:12:775][    0.674909] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[11:32:12:775][    0.675722] omap_hsmmc 480b4000.mmc: no pinctrl state for hs200_1_8v mode
[11:32:12:830][    0.734385] omap_voltage_late_init: Voltage driver support not added
[11:32:13:050][    0.954154] Kernel Entry time 16382229 ticks
[11:32:13:406]
[11:32:13:414] _____                    _____           _         _   
[11:32:13:414]|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
[11:32:13:414]|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
[11:32:13:414]|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
[11:32:13:414]              |___|                    |___|            
[11:32:13:414]
[11:32:13:414]Arago Project http://arago-project.org dra7xx-evm /dev/ttyS0
[11:32:13:414]
[11:32:13:422]Arago 2016.12 dra7xx-evm /dev/ttyS0
[11:32:13:422]
[11:32:13:599]dra7xx-evm login: Warning: chip not recognized, running in safe mode (only platform-generic functions allowed).
[11:32:13:599]
[11:32:13:610]/dev/mem opened.
[11:32:13:610]Memory mapped at address 0xb6f42000.
[11:32:13:610]Read at address  0x4A003658 (0xb6f42658): 0x0006000E
[11:32:13:618]Write at address 0x4A003658 (0xb6f42658): 0x0006000E, readback 0x0006000E
[11:32:13:618]./StartApp.sh: line 5: iecho: not found
[11:32:13:618]ash: write error: Operation not permitted
[11:32:13:629]/dev/mem opened.
[11:32:13:629]Memory mapped at address 0xb6fa1000.
[11:32:13:629]Read at address  0x4A0036C8 (0xb6fa16c8): 0x0004000E
[11:32:13:638]Write at address 0x4A0036C8 (0xb6fa16c8): 0x0006000E, readback 0x0006000E
[11:32:13:639]/dev/mem opened.
[11:32:13:639]Memory mapped at address 0xb6f57000.
[11:32:13:639]Read at address  0x4A003670 (0xb6f57670): 0x00040004
[11:32:13:647]Write at address 0x4A003670 (0xb6f57670): 0x0006000E, readback 0x0006000E
[11:32:13:679]mount: special device /dev/mmcblk1p9 does not exist
[11:32:13:692]mount: special device /dev/mmcblk1p1 does not exist
[11:32:13:717]/dev/mem opened.
[11:32:13:717]Memory mapped at address 0xb6f04000.
[11:32:13:717]Read at address  0x4A003440 (0xb6f04440): 0x00040006
[11:32:13:726]Write at address 0x4A003440 (0xb6f04440): 0x00040008, readback 0x00040008
[11:32:13:726]/dev/mem opened.
[11:32:13:726]Memory mapped at address 0xb6f59000.
[11:32:13:733]Read at address  0x4A003444 (0xb6f59444): 0x00040006
[11:32:13:734]Write at address 0x4A003444 (0xb6f59444): 0x00040008, readback 0x00040008
[11:32:14:571]
[11:32:14:571] _____                    _____           _         _   
[11:32:14:571]|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
[11:32:14:579]|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
[11:32:14:580]|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
[11:32:14:580]              |___|                    |___|            
[11:32:14:580]
[11:32:14:580]Arago Project http://arago-project.org dra7xx-evm /dev/ttyS0
[11:32:14:580]
[11:32:14:587]Arago 2016.12 dra7xx-evm /dev/ttyS0
[11:32:14:587]
[11:32:15:427]dra7xx-evm login: root
[11:32:15:427]login[109]: root login on 'ttyS0'
[11:32:17:983]root@dra7xx-evm:~# dmesg
....
[11:32:17:983][    0.000000] Booting Linux on physical CPU 0x0
[11:32:18:164][    1.142539] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[11:32:18:164][    1.158649] EXT4-fs (mmcblk0p8): recovery complete
[11:32:18:164][    1.158668] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)=
[11:32:18:186][    1.487683]  remoteproc0: Booting fw image dra7-ipu2-fw.xem4, size 7348648
[11:32:18:186][    1.487768] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
[11:32:18:186][    1.546752]  remoteproc0: remote processor 55020000.ipu is now up
[11:32:18:186][    1.547714]  remoteproc1: powering up 40800000.dsp
[11:32:18:186][    1.547730]  remoteproc1: Booting fw image dra7-dsp1-fw.xe66, size 6872640
[11:32:18:186][    1.554836] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[11:32:18:186][    1.554876] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[11:32:18:187][    1.554974] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[11:32:18:187][    1.563786] virtio_rpmsg_bus virtio0: rpmsg host is online
[11:32:18:187][    1.563837]  remoteproc0: registered virtio0 (type 7)
[11:32:18:187][    1.655320]  remoteproc1: remote processor 40800000.dsp is now up
[11:32:18:198][    1.655690] virtio_rpmsg_bus virtio1: rpmsg host is online
[11:32:18:198][    1.655746]  remoteproc1: registered virtio1 (type 7)
[11:32:18:198][    1.659518] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x50
[11:32:18:198][    1.662651] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x50
[11:32:18:198][    1.811139] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[11:32:18:198][    1.811168] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[11:32:18:198][    1.811466] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
[11:32:18:198][    1.811517] xhci-hcd xhci-hcd.2.auto: irq 454, io mem 0x48890000
[11:32:18:198][    1.812274] hub 1-0:1.0: USB hub found
[11:32:18:199][    1.812311] hub 1-0:1.0: 1 port detected
[11:32:18:199][    1.812694] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[11:32:18:199][    1.812713] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[11:32:18:199][    1.812810] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[11:32:18:199][    1.813509] hub 2-0:1.0: USB hub found
[11:32:18:199][    1.813546] hub 2-0:1.0: 1 port detected
[11:32:18:211][    2.014935] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[11:32:18:211][    2.014966] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
[11:32:18:211][    2.015230] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
[11:32:18:211][    2.015279] xhci-hcd xhci-hcd.3.auto: irq 455, io mem 0x488d0000
[11:32:18:211][    2.015976] hub 3-0:1.0: USB hub found
[11:32:18:212][    2.016013] hub 3-0:1.0: 1 port detected
[11:32:18:212][    2.016385] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[11:32:18:212][    2.016403] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4
[11:32:18:212][    2.016488] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[11:32:18:212][    2.017128] hub 4-0:1.0: USB hub found
[11:32:18:212][    2.017165] hub 4-0:1.0: 1 port detected
[11:32:18:212][    2.028041] SCSI subsystem initialized
[11:32:18:212][    2.039860] usbcore: registered new interface driver usb-storage
[11:32:18:212][    2.123444] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[11:32:18:212][    3.283438] usb 1-1: new high-speed USB device number 3 using xhci-hcd
[11:32:18:212][    3.433464] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
[11:32:18:220][    3.433539] usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
[11:32:18:220][    3.441274] usb-storage 1-1:1.0: USB Mass Storage device detected
[11:32:18:220][    3.451591] scsi host0: usb-storage 1-1:1.0
[11:32:18:220][    4.455563] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 3.0      PQ: 0 ANSI: 6
[11:32:18:221][    4.457158] sd 0:0:0:0: [sda] 60437492 512-byte logical blocks: (30.9 GB/28.8 GiB)
[11:32:18:221][    4.457457] sd 0:0:0:0: [sda] Write Protect is off
[11:32:18:221][    4.457470] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00
[11:32:18:221][    4.457753] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[11:32:18:221][    4.462167]  sda: sda1
[11:32:18:221][    4.464487] sd 0:0:0:0: [sda] Attached SCSI removable disk

  • Hello,

    We have few queries to provide us input to analyze the issue you have reported:

    -1- Can we get more details on the 3 USB flash disks that you are seeing issues? Is the device "Kingston DataTraveler 3.0" is one of the USB flash device having the issue?

    -2- Are these 3 USB flash disks able to connected to the Ubuntu PC successfully ? Is the PC able to detect them and are you able to read/write to these disks?

    -3- From the log, line 45, we see --> "FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.", So looks like the fat partition on this disk could be bad? Can confirm? We suspect that the "usb usb1-port1: Cannot enable. Maybe the USB cable is bad?" is being reported because of this earlier error. 

    Thanks.

  • Hello,

    The USB flash disk is not broken, it can read and write on the Ubuntu PC,

    It can mkfs.vfat on Ubuntu PC, but not mkfs.vfa on TDA2 Linux

    [ 1.665062] virtio_rpmsg_bus virtio1: creating channel rpmsg-proto addr 0x50
    [ 1.669183] virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x50
    [ 1.822120] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [ 1.822157] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [ 1.822502] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
    [ 1.822560] xhci-hcd xhci-hcd.2.auto: irq 454, io mem 0x48890000
    [ 1.823874] hub 1-0:1.0: USB hub found
    [ 1.823914] hub 1-0:1.0: 1 port detected
    [ 1.824310] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [ 1.824329] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [ 1.824412] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 1.825325] hub 2-0:1.0: USB hub found
    [ 1.825363] hub 2-0:1.0: 1 port detected
    [ 2.106883] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [ 2.106917] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
    [ 2.107252] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
    [ 2.107309] xhci-hcd xhci-hcd.3.auto: irq 455, io mem 0x488d0000
    [ 2.108070] hub 3-0:1.0: USB hub found
    [ 2.108110] hub 3-0:1.0: 1 port[ 421.743489] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    detected
    [ 2.108497] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [ 2.108516] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4
    [ 2.108603] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 2.109266] hub 4-0:1.0: USB hub found
    [ 2.109305] hub 4-0:1.0: 1 port detected
    [ 2.120888] SCSI subsystem initialized
    [ 2.149529] usbcore: registered new interface driver usb-storage
    [ 2.886951] NET: Registered protocol family 41
    [ 6.902493] omap8250 48020000.serial: failed to request DMA
    [ 6.903973] omap8250 48066000.serial: failed to request DMA
    [ 22.350641] random: nonblocking pool is initialized
    [ 325.623449] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [ 325.773413] usb 1-1: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
    [ 325.773548] usb 1-1: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
    [ 325.781316] usb-storage 1-1:1.0: USB Mass Storage device detected
    [ 325.791645] scsi host0: usb-storage 1-1:1.0
    [ 326.795612] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 3.0 PQ: 0 ANSI: 6
    [ 326.797294] sd 0:0:0:0: [sda] 60437492 512-byte logical blocks: (30.9 GB/28.8 GiB)
    [ 326.797582] sd 0:0:0:0: [sda] Write Protect is off
    [ 326.797595] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00
    [ 326.797877] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [ 326.802183] sda:
    [ 326.805165] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [ 346.905250] FAT-fs (sda): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 405.163498] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [ 409.273477] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [ 413.383474] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [ 417.493490] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [ 417.494519] usb 1-1: USB disconnect, device number 2
    [ 417.513487] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [ 417.513505] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 00 00 46 64 00 00 0b 00
    [ 417.513515] blk_update_request: I/O error, dev sda, sector 18020
    [ 417.514287] Buffer I/O error on dev sda, logical block 18020, lost async page write
    [ 417.515275] Buffer I/O error on dev sda, logical block 18021, lost async page write
    [ 417.516250] Buffer I/O error on dev sda, logical block 18022, lost async page write
    [ 417.517225] Buffer I/O error on dev sda, logical block 18023, lost async page write
    [ 417.518208] Buffer I/O error on dev sda, logical block 18024, lost async page write
    [ 417.519197] Buffer I/O error on dev sda, logical block 18025, lost async page write
    [ 417.520171] Buffer I/O error on dev sda, logical block 18026, lost async page write
    [ 417.521145] Buffer I/O error on dev sda, logical block 18027, lost async page write
    [ 417.522119] Buffer I/O error on dev sda, logical block 18028, lost async page write
    [ 417.523100] Buffer I/O error on dev sda, logical block 18029, lost async page write
    [ 417.533904] sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
    [ 417.533921] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 00 00 80 20 00 00 03 00
    [ 417.533931] blk_update_request: I/O error, dev sda, sector 32800
    [ 417.534737] FAT-fs (sda): FAT read failed (blocknr 3283)
    [ 417.535692] FAT-fs (sda): unable to read inode block for updating (i_pos 725027)
    [ 417.538369] FAT-fs (sda): Directory bread(block 32800) failed
    [ 417.539125] FAT-fs (sda): Directory bread(block 32801) failed
    [ 417.540859] FAT-fs (sda): Directory bread(block 32802) failed
    [ 417.541933] FAT-fs (sda): unable to read inode block for updating (i_pos 725030)
    [ 417.545564] FAT-fs (sda): unable to read inode block for updating (i_pos 725033)
    [ 417.547332] FAT-fs (sda): unable to read inode block for updating (i_pos 724486)
    [ 417.548321] FAT-fs (sda): unable to read inode block for updating (i_pos 724488)
    [ 417.549407] FAT-fs (sda): unable to read inode block for updating (i_pos 1137668)
    [ 417.556480] FAT-fs (sda): unable to read inode block for updating (i_pos 1137671)
    [ 419.546924] FAT-fs (sda): Directory bread(block 32800) failed
    [ 419.547712] FAT-fs (sda): Directory bread(block 32801) failed
    [ 419.548455] FAT-fs (sda): Directory bread(block 32802) failed
    [ 419.549193] FAT-fs (sda): Directory bread(block 32803) failed
    [ 419.549960] FAT-fs (sda): Directory bread(block 32804) failed
    [ 419.550701] FAT-fs (sda): Directory bread(block 32805) failed
    [ 419.551472] FAT-fs (sda): Directory bread(block 32806) failed
    root@dra7xx-evm:/mnt/usb/test# [ 425.853477] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [ 429.963480] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [ 434.073477] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [ 434.074452] usb usb1-port1: unable to enumerate USB device

  • Hello,

    Thanks for the log. It clear from it that the driver failed to communicate successfully. There could be many reasons to this. One possible reason is the cable or the adapter used to connect the USB flash disk to the TDA2 board. It is seen that some flash disk's cause enumeration failure if we use lengthy or sub-standard cable/adapters.

    So can you give us below info:

    -1- Can we get more details on the 3 USB flash disks that you are seeing issues.

    -2- Details on the cable/adapters used to connect the flash disk.

    -3- Try to use different  cable/adapters and check if issue still occur.

    Thanks.

  • Hello,

    1 usb 3.0 Kingston DataTraveler 100 G3   32GB.

    2. TDA2eg-17  host USB 2.0

    3.

    I also tested this 3.0 USB flash drive on TDA2HG with USB port, which was also recognized, but could not read or write. Both TDA2EG-17 and TDA2HG boards recognize that USB2.0 reads and writes are normal

    Whether USB 3.0 USB flash drive is supported?

    What can I do to support the current 3.0 USB flash on TDA2EG-17?

  • Hello,

    1 usb 3.0 Kingston DataTraveler 100 G3   32GB.

    2. TDA2eg-17  host USB 2.0

    3.

    I also tested this 3.0 USB flash drive on TDA2HG with USB port, which was also recognized, but could not read or write. Both TDA2EG-17 and TDA2HG boards recognize that USB2.0 reads and writes are normal,

    Whether USB 3.0 USB flash drive is supported?

    What can I do to support the current 3.0 USB flash on TDA2EG-17?

  • Hello,

    We have got information that some of the USB3 flash drivers do not enumerate and the cause of it is still not known. One possible cause that is suspected is the port reset timings. We are checking with our team to see if there is any fix/patch. We will let you know.

    Thanks.

  • Hello,

    The feedback we got from the team is that the kernel being used above is very old.  The suggestion is if you are able to reproduce this issue with a recent kernel such as v5.4. 

    Another recommendation is to use another flash device if this is possible.

    Sorry, nothing much can be done on this issue further.

    Thanks.