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.

J721EXSOMXEVM: USB 2.0 flash drive not working

Part Number: J721EXSOMXEVM

Hello,

I have a custom board and we have 2X USB 2.0 where I am trying to connect a USB 2.0 Flash drive (8 GB) which is not attaching with bus. by typing "lsusb" I can see that we have USB bus available but when I connect USB Flash drive I don't see any device node under /dev directory. Also I don't see any dmesg message. 

Here is the output of lsusb

root@nova-slot5:~# lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

This is the device tree changes I made: USB0 where I am trying to connect Flash drive

&usbss0 {
	ti,vbus-divider;
	ti,usb2-only;
};

&usb0 {
	dr_mode = "host";
	maximum-speed = "high-speed";
};

&usbss1 {
	ti,usb2-only;
};

&usb1 {
	dr_mode = "host";
	maximum-speed = "high-speed";
};

Any suggestion would be helpful.

Thank you,

Satish

  • Hi Satish,

    Can you provide below info to better understand the issue seen:

    - the complete device tree info related to the usb0 and usb1

    - explain the board difference between the TI EVM and your custom board. Especially how how is the USB_VBUS is handled?

    - To usb instance is the flash driver connect to?

    - Did you verify if the usb is working at the u-boot level?

    Thanks.

  • Hi Praveen,

    Your hunch was right, it turned out that USB_VBUS was not powered up. After adding 5V on VBUS line, we can see that flash drive started detecting now. Here is the log.

    [   65.631901] usb 1-1: new high-speed USB device number 4 using xhci-hcd
    [   65.787180] usb 1-1: New USB device found, idVendor=0930, idProduct=6544, bcdDevice= 1.00
    [   65.795343] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [   65.802468] usb 1-1: Product: DataTraveler 2.0
    [   65.806903] usb 1-1: Manufacturer: Kingston
    [   65.811077] usb 1-1: SerialNumber: C860008863F7CE209A0A24B8
    

    We concluded that this is an HW issue. Thank you for your help here. 

    We can close this now. 

    Thanks,

    Satish