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.

AM335X USB unable to enumerate USB device on port

Hi Ti

I don't know  whether it is probably to be post here. 

We use AM335X and the ubuntu filesystem which is not released with Ti. 

I found this thread similarly with my problem, but I don't know how does he to fix it.

root@ubuntu-armhf:~# [  176.218200] usb 2-1.2: device v192f p0916 is not supported (USB mouse)
                                      [  176.224334] hub 2-1:1.0: unable to enumerate USB device on port 2

please give me some suggestions, thank you.

  • Disable CONFIG_USB_OTG_WHITELIST in your .config.

    # CONFIG_USB_OTG_WHITELIST is not set

  • Hi Bin

    USB mouse looks like can be worked now,but the message "usb 2-1.2: device v192f p0916 is not supported" still appeared,could you tell me why we need disable the CONFIG_USB_OTG_WHITELIST

    Thank you very much.

    BestRegards

    Bernie 

  • Bernie,

    CONFIG_USB_OTG_WHITELIST is for OTG, which only supports limited USB devices when it is acting as a host. Please refer to "Targeted Peripheral List" in the OTG Specs.

    To get rid of "device xxx is not supported", you have to disable CONFIG_USB_OTG as while.

  • Hello Bin

    1 When I connect USB mouse, the message "device xxx is not supported" appeared that means the mouse is probably still not worked, although the mouse is lighting?  Because the mouse's doesn't in TPL?  

    2 So, another of thing is that we need to disable the CONFIG_USB_OTG to get rid of "device XXX is not supported", right?

    CONFIG_USB_OTG=y → CONFIG_USB_OTG is not set

     

    Thanks for your patient reply.

  • Bernie Chen said:
    1 When I connect USB mouse, the message "device xxx is not supported" appeared that means the mouse is probably still not worked, although the mouse is lighting?  Because the mouse's doesn't in TPL?  

    Your mouse is supposed to be fully working. That message is kind of informative when OTG_WHITELIST is disabled.

    Please read the function is_targeted() in drivers/usb/core/otg_whitelist.h, and usb_enumerate_device_otg() in drivers/usb/core/hub.c for the relationship of CONFIG_OTG_WHITELIST and CONFIG_USB_OTG. The source code is worth hundreds line of explanation. ;)

    Bernie Chen said:

    2 So, another of thing is that we need to disable the CONFIG_USB_OTG to get rid of "device XXX is not supported", right?

    CONFIG_USB_OTG=y → CONFIG_USB_OTG is not set

    Correct.

  • I have replace TI default kernel to our board, CONFIG_USB_OTG_WHITELIST is disable, CONFIG_USB_OTG = y is enabled

    and "device XXX is not supported" disappeard