AnsweredAssumed Answered

USB OTG isn't detecting devices

Question asked by Michael Worster on Aug 1, 2017
Latest reply on Aug 5, 2017 by CarlosCasillas

I have a custom board with an i.MX6DL on it. Given the current setup, I'm not seeing any reaction in the kernel when I plug in devices to the USB OTG port.

When my USB device is in the port and the board is in U-Boot, it seems to work. i.e.:

 

U-Boot# usb start
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found

U-Boot#

 

However when I'm in the kernel and plug a device in to the USB OTG (USB1) port there is NO reaction what so ever:

 

root@imx6dlboard:~#       // Inserted the USB device here

root@imx6dlboard:~#

 

I included all the kernel config options for USB debugging and verbose messaging, but whenever I plug into the USB OTG port on the board, there's no reaction.

Any hints or thoughts on what to do here?

 

 

My USB OTG device tree input:

    pinctrl_usbotg: usbotggrp {
        fsl,pins = <
    MX6QDL_PAD_KEY_COL4__USB_OTG_OC        ( PAD_CTL_STD_INPUT | PAD_CTL_HYS )
    MX6QDL_PAD_KEY_ROW4__USB_OTG_PWR    PAD_CTL_STD_OUTPUT_SWAP_DS(PAD_CTL_DSE_88ohm)
        >;
    };


&usbotg {
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_usbotg>;
    vbus-supply = <&vbat>;
    disable-over-current;
    srp-disable;
    hnp-disable;
    adp-disable;
    status = "okay";
};

Outcomes