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.

Mounting USB in Gingerbread

Hello

I'm using Beaglebone Android GingerBread 2_3_4. I need to use my beaglebone as HOST and want to connect a USB device ( Vendor specific Class).

I have copy the drivers into system/lib then i mount the usb using following commands in init.rc below the on boot 

mount usbfs none /proc/bus/usb -o devmode=0666

After re-boot,  beaglebone showing my device as unsupported device

I don't know where the mistake is happened. But I'm sure about the drivers are good. i guess its not getting mount.

Any one can help me to get out of this.

Thanks in advance

  • We generally prefer to use built-in class drivers for USB. Is it possible for you to try this way?

    Also could you attach the full kernel log and logcat output if available.

  • Dear Vishveshwar

     Thank you for your reply

       Sorry i can't use Built-in Class drivers of USB. I need to communicate with sensor its connected via USB with android device. Sensor communicate with device with its own driver ( vendor specific class USB), I have driver for sensor libusb.so and libusb-1.0.so, already i have copied this into system/lib folder.

    and mounted it with mount usbfs none /proc/bus/usb -o devmode=0666.  

    Below i have attached log details while its booting


    [ 30.791864] adb_open
    [ 33.568446] warning: `dhcpcd' uses 32-bit capabilities (legacy support in use
    )
    [ 33.594977]
    [ 33.594986] CPSW phy found : id is : 0x7c0f1
    [ 33.601802] PHY 0:01 not found
    [ 35.255085] gadget: Gadget Zero, version: Cinco de Mayo 2008
    [ 35.261199] gadget: zero ready
    [ 35.264500] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 35.270070] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numbe
    r 2
    [ 35.278493] hub 2-0:1.0: USB hub found
    [ 35.282465] hub 2-0:1.0: 1 port detected
    [ 35.300616] android_usb: already disabled
    [ 35.305136] adb_bind_config
    [ 35.639290] gadget: high speed config #1: android
    [ 35.739379] usb 2-1: new full speed USB device number 2 using musb-hdrc
    [ 35.880643] usb 2-1: device v138a p0005 is not supported
    [ 38.782394] ti81xx_interrupt 863: CAUTION: musb1: Babble Interrupt Occured
    [ 38.789575] ti81xx_interrupt 864: Please issue long reset to make usb functio
    nal !!
    [ 38.797595] ti81xx_interrupt 950: Babble: devtcl(88)Restarting musb....
    [ 38.804577] evm_deferred_musb_restart 808: deferred musb restart musbid(1)
    [ 39.093302] usb 2-1: USB disconnect, device number 2
    [ 39.379389] usb 2-1: new full speed USB device number 3 using musb-hdrc
    [ 39.520639] usb 2-1: device v138a p0005 is not supported

    I guess the USB is not mounted. can you help me ?

    Thanks in advance


  • We have not tested user-mode USB drivers with our TI Android DevKits.

    Suggest you to ask at our rowboat community forum http://groups.google.com/group/rowboat  or beagleboard forum http://groups.google.com/group/beagleboard