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.

dm385 usb host u盘不能识别



我们做了一块DM385的板子,使用的软件开发包版本是RDK_V3.2,kernel是2.6.37,现在在做USB部分调试中遇到问题。我们把USB0设置为DEVICE模式,可以正常工作,PC能识别为U盘;USB1设置为HOST模式,不能正常工作,其VBUS测量为+5v正常,插上U盘一点反应没有,查看/DEV目录下无任何新增结点,不知是何缘故?kernel里也选了support usb host和mass storage support,但无法找选择EHCI等驱动,不知要如何正确配置内核?

  • 你好,

     请尝试下面的方法:

    1.

    +++ /drivers/usb/musb/musb_core.c
    #endif
    spin_lock_init(&musb->lock);
    musb->ctrl_phys_base = ctrl_phys_addr;
    - musb->board_mode = plat->mode;
    +
    + if (pdev->id==1)
    + musb->board_mode = MUSB_HOST;
    + else
    + musb->board_mode = MUSB_PERIPHERAL;

     

    2.

    Remove g_ether than insert g_zero

    # rmmod g_ether

    # insmod g_zero.ko