This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4382: Usb device enumeration failed.

Part Number: AM4382

Hi,

Here, We are attaching a USB device to am438x epos evm Board on usb type A host. And we are getting log as follow.

usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
usb usb1-port1: attempt power cycle
usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
usb usb1-port1: unable to enumerate USB device

If we connect the same device on another board and PC, Device is detected successfully.

Now, we connect the same device to micro-usb port(client) of am438x epos-evm board and we got log as follow.

xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3
xhci-hcd xhci-hcd.4.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
xhci-hcd xhci-hcd.4.auto: irq 262, io mem 0x48390000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4
usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
xhci-hcd xhci-hcd.4.auto: remove, state 1
usb usb4: USB disconnect, device number 1
xhci-hcd xhci-hcd.4.auto: USB bus 4 deregistered
xhci-hcd xhci-hcd.4.auto: remove, state 1
usb usb3: USB disconnect, device number 1
xhci-hcd xhci-hcd.4.auto: USB bus 3 deregistered

Now, The questions are,
1.> Why usb device can not detected, we cheked power rating, usb connection and this are perfect and max curren required for this usb device is 120mA. We replaced cable but same issue.
2.>Is there any driver changes required according to above log?

 

  • Hi,

    To understand the issue, please provide the full kernel dmesg log.

    What is the usb device attached to the usb port?

  • dmesg log file is attached.

    we are using Cypress CYUSB201x USB controller, as a high speed USB device.

    And this device detected on other board and host pc but can not be detected with this board

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.69-g3bf1b0f649 (harsiddh@harsiddh-H110M-S2) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Wed Jul 22 10:30:07 IST 2020
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt:Machine model: TI AM43x EPOS EVM
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] HyperSEAM: Reserved 32505856 bytes @ 0x8e000000.
    [    0.000000] cma: Reserved 48 MiB at 0xba800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] On node 0 totalpages: 245504
    [    0.000000] free_area_init_node: node 0, pgdat c0c45c00, node_mem_map ef6f9000
    [    0.000000]   Normal zone: 1728 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 188672 pages, LIFO batch:31
    [    0.000000]   HighMem zone: 56832 pages, LIFO batch:15
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon)
    [    0.000000] percpu: Embedded 13 pages/cpu @ef6bd000 s21964 r8192 d23092 u53248
    [    0.000000] pcpu-alloc: s21964 r8192 d23092 u53248 alloc=13*4096
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 243776
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=000d1b19-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 911176K/982016K available (7168K kernel code, 289K rwdata, 2420K rodata, 1024K init, 300K bss, 21688K reserved, 49152K cma-reserved, 178176K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                       lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0xc0008000 - 0xc0800000   (8160 kB)
                         .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
                         .data : 0xc0c00000 - 0xc0c486e8   ( 290 kB)
                          .bss : 0xc0c486e8 - 0xc0c93a70   ( 301 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [    0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [    0.000015] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [    0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [    0.000044] OMAP clocksource: timer1 at 25000000 Hz
    [    0.000507] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000518] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000964] Console: colour dummy device 80x30
    [    0.000998] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.001005] This ensures that you still see kernel messages. Please
    [    0.001010] update your kernel commandline.
    [    0.001036] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [    0.060186] pid_max: default: 32768 minimum: 301
    [    0.060370] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.060383] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.061320] CPU: Testing write buffer coherency: ok
    [    0.061760] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.061828] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.062061] HyperSEAM: Initialization succeeded.
    [    0.062144] HyperSEAM: Secure memory configuration succeeded.
    [    0.062216] HyperSEAM: Secondary initialization succeeded.
    [    0.140386] EFI services will not be available.
    [    0.160225] Brought up 1 CPUs
    [    0.160239] SMP: Total of 1 processors activated (1993.93 BogoMIPS).
    [    0.160248] CPU: All CPU(s) started in SVC mode.
    [    0.161227] devtmpfs: initialized
    [    0.180426] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.180826] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.180859] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.184709] pinctrl core: initialized pinctrl subsystem
    [    0.186031] NET: Registered protocol family 16
    [    0.187471] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.271777] omap_hwmod: adc_mag: _wait_target_ready failed: -16
    [    0.271800] omap_hwmod: adc_mag: cannot be enabled for reset (3)
    [    0.300243] cpuidle: using governor ladder
    [    0.330225] cpuidle: using governor menu
    [    0.336626] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [    0.337050] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [    0.338398] OMAP GPIO hardware version 0.1
    [    0.339344] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [    0.339689] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [    0.341560] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [    0.341976] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [    0.343733] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [    0.344091] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [    0.345786] omap_gpio 48320000.gpio: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/display_mux_pins, deferring probe
    [    0.346325] gpio gpiochip4: (gpio): added GPIO chardev (254:4)
    [    0.346679] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio)
    [    0.353054] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/nand_flash_x8, deferring probe
    [    0.358139] No ATAGs?
    [    0.358176] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.358189] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.436920] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.437394] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-sd[0]'
    [    0.437705] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator0[0]'
    [    0.441769] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.441839] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins, deferring probe
    [    0.442004] media: Linux media interface: v0.10
    [    0.442059] Linux video capture interface: v2.00
    [    0.442111] pps_core: LinuxPPS API ver. 1 registered
    [    0.442119] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.442143] PTP clock support registered
    [    0.442182] EDAC MC: Ver: 3.0.0
    [    0.450974] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.451430] Advanced Linux Sound Architecture Driver Initialized.
    [    0.452838] clocksource: Switched to clocksource timer1
    [    0.463058] NET: Registered protocol family 2
    [    0.463873] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.463949] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.464056] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.464206] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.464267] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.464490] NET: Registered protocol family 1
    [    0.485222] RPC: Registered named UNIX socket transport module.
    [    0.485238] RPC: Registered udp transport module.
    [    0.485245] RPC: Registered tcp transport module.
    [    0.485252] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.485268] PCI: CLS 0 bytes, default 64
    [    0.498305] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.504591] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.515561] NFS: Registering the id_resolver key type
    [    0.515607] Key type id_resolver registered
    [    0.515615] Key type id_legacy registered
    [    0.515663] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.517722] bounce: pool size: 64 pages
    [    0.517950] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.517964] io scheduler noop registered
    [    0.517972] io scheduler deadline registered
    [    0.518094] io scheduler cfq registered (default)
    [    0.521738] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [    0.535438] pwm-backlight backlight: GPIO lookup for consumer enable
    [    0.535450] pwm-backlight backlight: using device tree for GPIO lookup
    [    0.535463] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [    0.535471] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [    0.535477] pwm-backlight backlight: using lookup tables for GPIO lookup
    [    0.535485] pwm-backlight backlight: lookup for GPIO enable failed
    [    0.535507] backlight supply power not found, using dummy regulator
    [    0.593268] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.596173] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [    0.597184] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.355402] console [ttyS0] enabled
    [    1.360768] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    1.367967] pub2sec: Driver (v0.83) initialized.
    [    1.372627] pub2sec: sysfs interface is available
    [    1.377537] [drm] Initialized
    [    1.381937] 4832a000.dss supply vdda_video not found, using dummy regulator
    [    1.389150] OMAP DSS rev 2.0
    [    1.392254] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
    [    1.401642] panel-dpi display: GPIO lookup for consumer enable
    [    1.401651] panel-dpi display: using device tree for GPIO lookup
    [    1.401663] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/display[0]'
    [    1.401670] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/display[0]'
    [    1.401676] panel-dpi display: using lookup tables for GPIO lookup
    [    1.401684] panel-dpi display: lookup for GPIO enable failed
    [    1.401690] panel-dpi display: GPIO lookup for consumer reset
    [    1.401695] panel-dpi display: using device tree for GPIO lookup
    [    1.401701] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/display[0]'
    [    1.401707] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/display[0]'
    [    1.401712] panel-dpi display: using lookup tables for GPIO lookup
    [    1.401717] panel-dpi display: lookup for GPIO reset failed
    [    1.401736] display supply vcc not found, using dummy regulator
    [    1.584893] brd: module loaded
    [    1.676543] loop: module loaded
    [    1.684258] libphy: Fixed MDIO Bus: probed
    [    1.762909] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.769052] davinci_mdio 4a101000.mdio: detected phy mask fffeffff
    [    1.786359] libphy: 4a101000.mdio: probed
    [    1.790409] davinci_mdio 4a101000.mdio: phy[16]: device 4a101000.mdio:10, driver NS DP83848C 10/100 Mbps PHY
    [    1.801326] cpsw 4a100000.ethernet: Detected MACID = 04:a3:16:ec:b7:25
    [    1.808212] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.817606] mousedev: PS/2 mouse device common for all mice
    [    1.824120] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[0]' - status (0)
    [    1.824149] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[1]' - status (0)
    [    1.824177] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[2]' - status (0)
    [    1.824211] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[3]' - status (0)
    [    1.824228] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad0[0]' - status (0)
    [    1.824249] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad0[1]' - status (0)
    [    1.824277] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad0[2]' - status (0)
    [    1.824311] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad0[3]' - status (0)
    [    1.824899] input: matrix_keypad0 as /devices/platform/matrix_keypad0/input/input0
    [    1.834523] i2c /dev entries driver
    [    1.840056] cpuidle: enable-method property 'ti,am4372' found operations
    [    1.848018] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [    1.848029] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.848079] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp@44000000/mmc@48060000[0]' - status (0)
    [    1.848098] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.852747] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [    1.852753] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.852760] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@48060000[0]'
    [    1.852768] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@48060000[0]'
    [    1.852775] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.852782] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [    1.917267] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.930385] NET: Registered protocol family 10
    [    1.946720] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.953703] NET: Registered protocol family 17
    [    1.958558] Key type dns_resolver registered
    [    1.963261] omap_voltage_late_init: Voltage driver support not added
    [    1.970332] Registering SWP/SWPB emulation handler
    [    1.981220] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.991766] usim 48034000.usim: 
                    phy i2c is null
    [    1.992075] usim 48036000.usim: 
                    phy i2c is null
    [    1.993127] omapdrm omapdrm.0: DMM not available, disable DMM support
    [    1.993585] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.993589] [drm] No driver support for vblank timestamp query.
    [    2.035491] mmc0: new high speed SDHC card at address 0007
    [    2.046533] mmcblk0: mmc0:0007 SL16G 14.5 GiB 
    [    2.048586]  mmcblk0: p1 p2
    [    2.087985] Console: switching to colour frame buffer device 100x30
    [    2.124062] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    2.154196] pinctrl-single 44e10800.pinmux: pin PIN35 already requested by 44e10800.pinmux; cannot claim for 48320000.gpio
    [    2.165458] pinctrl-single 44e10800.pinmux: pin-35 (48320000.gpio) status -22
    [    2.172663] pinctrl-single 44e10800.pinmux: could not request pin 35 (PIN35) from group display_mux_pins  on device pinctrl-single
    [    2.184520] omap_gpio 48320000.gpio: Error applying setting, reverse things back
    [    2.191988] omap_gpio: probe of 48320000.gpio failed with error -22
    [    2.199226] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    2.204498] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    2.210661] gpiochip_find_base: found new base at 510
    [    2.210713] gpio gpiochip5: (omap-gpmc): added GPIO chardev (254:5)
    [    2.211133] gpiochip_setup_dev: registered GPIOs 510 to 511 on device: gpiochip5 (omap-gpmc)
    [    2.212360] omap2-nand 8000000.nand: GPIO lookup for consumer rb
    [    2.212371] omap2-nand 8000000.nand: using device tree for GPIO lookup
    [    2.212421] of_get_named_gpiod_flags: parsed 'rb-gpios' property of node '/ocp@44000000/gpmc@50000000/nand@0,0[0]' - status (0)
    [    2.212592] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
    [    2.219094] nand: Micron MT29F4G08ABAEAWP
    [    2.223145] nand: 512 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224
    [    2.230964] using OMAP_ECC_BCH16_CODE_HW ECC scheme
    [    2.236036] 10 ofpart partitions found on MTD device omap2-nand.0
    [    2.242161] Creating 10 MTD partitions on "omap2-nand.0":
    [    2.247616] 0x000000000000-0x000000040000 : "NAND.SPL"
    [    2.264561] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
    [    2.281946] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
    [    2.299369] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
    [    2.316758] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"
    [    2.334380] 0x000000180000-0x000000280000 : "NAND.u-boot"
    [    2.351319] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"
    [    2.368625] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"
    [    2.386731] 0x000000300000-0x000000a00000 : "NAND.kernel"
    [    2.404179] 0x000000a00000-0x000020000000 : "NAND.file-system"
    [    2.501032] vdcdc3: Bringing 1350000uV into 1200000-1200000uV
    [    2.517361] tps65218 0-0024: HACK: Removed GPO1 from SEQ7
    [    2.523923] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    2.531457] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [    2.538973] of_get_named_gpiod_flags: parsed 'shutdown-gpio' property of node '/ocp@44000000/i2c@4819c000/tca5013@72[0]' - status (0)
    [    2.642249] omap_i2c 4819c000.i2c: bus 2 rev0.12 at 100 kHz
    [    2.752842] random: fast init done
    [    2.756659] usim 48034000.usim: usim0 driver initialized
    [    2.762510] tca5013 2-0072: Product Version = 0
    [    2.767095] usim 48034000.usim: version is:53
    [    2.876462] usim 48036000.usim: usim1 driver initialized
    [    2.882330] tca5013 2-0072: Product Version = 0
    [    2.886920] usim 48036000.usim: version is:53
    [    2.893776] hctosys: unable to open rtc device (rtc0)
    [    2.899883] vbat: disabling
    [    2.902710] ALSA device list:
    [    2.905833]   No soundcards found.
    [   19.972588] EXT4-fs (mmcblk0p2): recovery complete
    [   19.997898] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   20.006235] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [   20.021449] devtmpfs: mounted
    [   20.027540] Freeing unused kernel memory: 1024K
    [   20.349782] systemd[1]: System time before build time, advancing clock.
    [   20.390654] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [   20.409925] systemd[1]: Detected architecture arm.
    [   20.444769] systemd[1]: Set hostname to <am438x-epos-evm>.
    [   21.074416] systemd[1]: Listening on udev Control Socket.
    [   21.162092] systemd[1]: Reached target Remote File Systems.
    [   21.193748] systemd[1]: Listening on Network Service Netlink Socket.
    [   21.233550] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [   21.280460] systemd[1]: Listening on Process Core Dump Socket.
    [   21.313535] systemd[1]: Listening on Journal Socket (/dev/log).
    [   21.343644] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [   21.711982] cmemk: loading out-of-tree module taints kernel.
    [   21.784602] CMEMK module: reference Linux version 4.9.69
    [   21.828400] no physical memory specified
    [   21.856734] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   21.908247] cmemk initialized
    [   21.957468] cryptodev: driver 1.8 loaded.
    [   23.043732] systemd-journald[120]: Received request to flush runtime journal from PID 1
    [   24.634687] remoteproc remoteproc0: wkup_m3 is available
    [   24.774265] input: ti-mag as /devices/platform/44000000.ocp/4834c000.magadc/TI-am43xx-mag/input/input1
    [   24.904804] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp@44000000/i2c@44e0b000/tlv320aic3111@18[0]'
    [   24.920491] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   25.052016] ov2659 0-0030: GPIO lookup for consumer pwrdn
    [   25.052034] ov2659 0-0030: using device tree for GPIO lookup
    [   25.052049] of_get_named_gpiod_flags: can't parse 'pwrdn-gpios' property of node '/ocp@44000000/i2c@44e0b000/ov2659@30[0]'
    [   25.052057] of_get_named_gpiod_flags: can't parse 'pwrdn-gpio' property of node '/ocp@44000000/i2c@44e0b000/ov2659@30[0]'
    [   25.052063] ov2659 0-0030: using lookup tables for GPIO lookup
    [   25.052071] ov2659 0-0030: lookup for GPIO pwrdn failed
    [   25.073913] ov2659 0-0030: Sensor detection failed (3030, 0)
    [   25.199377] remoteproc remoteproc0: powering up wkup_m3
    [   25.263286] pixcir_ts 0-005c: GPIO lookup for consumer attb
    [   25.263293] pixcir_ts 0-005c: using device tree for GPIO lookup
    [   25.263307] of_get_named_gpiod_flags: can't parse 'attb-gpios' property of node '/ocp@44000000/i2c@44e0b000/pixcir_ts@5c[0]'
    [   25.263419] of_get_named_gpiod_flags: parsed 'attb-gpio' property of node '/ocp@44000000/i2c@44e0b000/pixcir_ts@5c[0]' - status (0)
    [   25.263505] pixcir_ts 0-005c: GPIO lookup for consumer reset
    [   25.263510] pixcir_ts 0-005c: using device tree for GPIO lookup
    [   25.263519] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/i2c@44e0b000/pixcir_ts@5c[0]'
    [   25.263525] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp@44000000/i2c@44e0b000/pixcir_ts@5c[0]'
    [   25.263530] pixcir_ts 0-005c: using lookup tables for GPIO lookup
    [   25.263537] pixcir_ts 0-005c: lookup for GPIO reset failed
    [   25.263544] pixcir_ts 0-005c: GPIO lookup for consumer wake
    [   25.263548] pixcir_ts 0-005c: using device tree for GPIO lookup
    [   25.263553] of_get_named_gpiod_flags: can't parse 'wake-gpios' property of node '/ocp@44000000/i2c@44e0b000/pixcir_ts@5c[0]'
    [   25.263558] of_get_named_gpiod_flags: can't parse 'wake-gpio' property of node '/ocp@44000000/i2c@44e0b000/pixcir_ts@5c[0]'
    [   25.263562] pixcir_ts 0-005c: using lookup tables for GPIO lookup
    [   25.263567] pixcir_ts 0-005c: lookup for GPIO wake failed
    [   25.263572] pixcir_ts 0-005c: GPIO lookup for consumer enable
    [   25.263575] pixcir_ts 0-005c: using device tree for GPIO lookup
    [   25.263581] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp@44000000/i2c@44e0b000/pixcir_ts@5c[0]'
    [   25.263586] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp@44000000/i2c@44e0b000/pixcir_ts@5c[0]'
    [   25.263590] pixcir_ts 0-005c: using lookup tables for GPIO lookup
    [   25.263594] pixcir_ts 0-005c: lookup for GPIO enable failed
    [   25.279687] input: pixcir_tangoc as /devices/platform/44000000.ocp/44e0b000.i2c/i2c-0/0-005c/input/input2
    [   25.399669] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224424
    [   25.575767] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   25.587121] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   25.808988] Driver for 1-wire Dallas network protocol.
    [   25.956926] omap_hdq 48347000.hdq: OMAP HDQ Hardware Rev 0.:. Driver in Interrupt mode
    [   26.108166] w1_master_driver w1_bus_master1: Family 1 for 01.000000000000.3d is not registered.
    [   26.470784] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
    [   26.689356] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
    [   26.749379] omap-aes 53501000.aes: will run requests pump with realtime priority
    [   26.925148] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
    [   26.963062] omap-des 53701000.des: will run requests pump with realtime priority
    [   27.133991] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [   28.431588] net eth0: initializing cpsw version 1.15 (0)
    [   28.559349] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [   28.688016] cpsw 4a100000.ethernet: ALE Table size 1024
    [   28.741366] Bluetooth: Core ver 2.22
    [   28.741472] NET: Registered protocol family 31
    [   28.741476] Bluetooth: HCI device and connection manager initialized
    [   28.741499] Bluetooth: HCI socket layer initialized
    [   28.741510] Bluetooth: L2CAP socket layer initialized
    [   28.741549] Bluetooth: SCO socket layer initialized
    [   29.217629] PM: AM438X HS detected -- Tamper RTC mode supported...
    [   29.409197] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound0[0]'
    [   29.409217] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound0[0]'
    [   29.410737] asoc-simple-card sound0: tlv320aic31xx-hifi <-> 4803c000.mcasp mapping ok
    [   29.563373] NS DP83848C 10/100 Mbps PHY 4a101000.mdio:10: attached PHY driver [NS DP83848C 10/100 Mbps PHY] (mii_bus:phy_addr=4a101000.mdio:10, irq=-1)
    [   29.582988] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   29.932649] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   33.285296] NET: Registered protocol family 15
    [   38.485958] usbcore: registered new interface driver usbfs
    [   38.529442] usbcore: registered new interface driver hub
    [   38.562793] Initializing XFRM netlink socket
    [   38.595974] usbcore: registered new device driver usb
    [   38.709796] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [   38.709854] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [   38.726690] xhci-hcd xhci-hcd.3.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x02010010
    [   38.726790] xhci-hcd xhci-hcd.3.auto: irq 263, io mem 0x483d0000
    [   38.739169] hub 1-0:1.0: USB hub found
    [   38.739290] hub 1-0:1.0: 1 port detected
    [   38.739889] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [   38.739918] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
    [   38.740079] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   38.755748] hub 2-0:1.0: USB hub found
    [   38.755849] hub 2-0:1.0: 1 port detected
    [   38.860114] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
    [   39.903179] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [   40.043679] random: crng init done
    [   40.873420] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [   40.886831] usb usb1-port1: attempt power cycle
    [   42.173035] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [   43.122993] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
    [   43.129743] usb usb1-port1: unable to enumerate USB device
    
    .

  • Have you tried other usb devices such as thumb driver to see if the same issue happens?

    Is the kernel image prebuilt binaries from the TI SDK release or you re-compiled?

  • Hi Bin Liu,

    We tried other usb Devices in am438x, and it works perfectly. Only CYUSB201x causes problems. Also we tried CYUSB201x in other embedded devices with linux and in host pc, and it works perfectly.
    The only problem causes when we attached CYUSB201x with am438x.


    we are using pre-built images.


    Also we plug CYUSB201x in both the port USB A and micro USB of am438x. It causes issue as described in previous log message.
    We checked it with both TI SDK, version am438x-epos-evm-04.03.00.05 and am438x-epos-evm-05.02.00.10. and the result is same. We got the same log with enumeration failed.

  • Thanks for the details. It seems there is a problem during the usb device enumeration. Can you please add a usb bus protocol analyzer to capture the enumeration transactions, it will show where the failure is.