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.

USB detection problem on DM37XX EVM on android platform

Hi

I have MISTRAL DM37XX EVM.

I am using android release GingerBread 2.3 Devkit 1.0.

I am trying to integrate USB mouse and keyboard in my application using USB port provided on this port.

But when I connect USB keyboard/mouse to SUB port. It says,

hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
hub 1-0:1.0: unable to enumerate USB device on port 2

Can somebody suggest me something so that I can debug this problem.

Thanks.

Reagrds

Prashant.

  • Hi Prashant,

    As per the User Guide, you need to connect the USB Keyboard/Mouse using a self-powered USB hub. Connecting them directly may not work.

    http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3-DevKit-1.0_UserGuide#Setting_up_Hardware

  • Hi Prashant,

    I have seen this earlier, try using a externally powered USB hub instead of connecting USB mouse/keyboard directly onto the board.

    Post your observations.

     

    Regards,

    N.S.SriHarsha

  • Hi SriHarsha

    Thanks for the reply.

    You want to say, Even DM37XX has USB power issues on Host interface as they are  in the beagleboard.

    Is there any version of android kernel on which I can use usb devices without self powered external hub. For at least a patch in the kernel which will make USB devices

    working.


    Why I am saying this is that with linux distribution which I got with the board The USB host interface just works fine. Devices doesnt need ecternal power suply

    Even on my EVM I am able to get my usb device  (at least thumb drive) enumerated without external self powered hub.

    usb 1-2: new high speed USB device using ehci-omap and address 3
    usb 1-2: New USB device found, idVendor=058f, idProduct=6387
    usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 1-2: Product: Mass Storage Device
    usb 1-2: Manufacturer: JetFlash
    usb 1-2: SerialNumber: G860QDD8
    scsi0 : usb-storage 1-2:1.0
    scsi 0:0:0:0: Direct-Access     JetFlash Transcend 8GB    8.07 PQ: 0 ANSI: 2
    sd 0:0:0:0: [sda] 15687680 512-byte logical blocks: (8.03 GB/7.48 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sd 0:0:0:0: [sda] Assuming drive cache: write through
     sda: sda1
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sd 0:0:0:0: [sda] Attached SCSI removable disk

    Thanks.

    Regards,

    Prashant.