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.

help: DVRRDK_03.50.00.05, linux kernel cannot detect my usb storage device

Hi

I'm facing an issue on USB host port of a ti8148-based custom board ,when boot kernel with usb storage deivce plug in, kernel can detect the usb storage device. But, if I boot kernel without plug the usb storage device, and after kernel boot completely, I plug in the usb storage, the kernel can't detect the device, and print the following messages

musb_stage0_irq <== Power=f0, DevCtl=98, int_usb=0x80
musb->xceiv->state = 0x7
VBUS_ERROR in a_wait_vrise (99, VALID), retry #1, port1 00000100

and after these operation, any other usb devices can't be detected ether.

But when kernel boot completely, I plug in the usb mouse, the kernel can detect the usb mouse.

what's the problem about this issue?

Thanks 

 

  • Hi Tangch,

    Looks like the hop plug feature is not working for you. What is the PSP version that come with your DVR RDK? I am working with EZSDK 5.05.02.00 that come with PSP 04.04.00.01 and USB can detect devices plugged after linux kernel boot up.

    Best Regards,
    Pavel

  • Hi,  

    thank you for your reply ^_^

    I don't know how to get PSP version in DVR RDK? Under directory DVRRDK_03.50.00.05/ti_tools/linux_lsp/kernel, there is only one directory named linux-dvr-rdk.

  • Tangch,

    Should be something similar to the ezsdk:

    ti-ezsdk_dm814x-evm_5_05_02_00/board-support/linux-2.6.37-psp04.04.00.01

    ti-ezsdk_dm814x-evm_5_05_02_00/board-support/u-boot-2010.06-psp04.04.00.01


    Regards,
    Pavel

  • Hi Pavel,

    I just tried to use PSP 04.04.00.01 included in EZSDK 5.05.02.00, and the problem is still exist.

    Thanks

     

    Best Regards

  • Tangch,

    tangch ch said:
    I'm facing an issue on USB host port of a ti8148-based custom board

    Can you try this on the DM814x EVM? Do you have the same issue on the EVM?

    tangch ch said:
    boot kernel without plug the usb storage device

    Make sure you are aligned with the below wiki pages:

    http://processors.wiki.ti.com/index.php/Usbgeneralpage#Mass_Storage_Driver - for DM814x USB host

    http://processors.wiki.ti.com/index.php/Usbgeneralpage#Mass_Storage_Gadget - for DM814x USB gadget/device

    Regards,
    Pavel

  • Tangch,

    tangch ch said:
    I just tried to use PSP 04.04.00.01

    Please try to solve this with applying all USB related patches on top of PSP 04.04.00.01 (I mean the USB patches that are missing from this PSP 04.04.00.01):

    http://arago-project.org/git/projects/?p=linux-omap3.git;a=shortlog;h=refs/heads/ti81xx-master

    http://arago-project.org/git/projects/?p=linux-omap3.git&a=search&h=refs%2Fheads%2Fti81xx-master&st=commit&s=usb

    Best Regards,
    Pavel