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 host mode issue with pre-built android ICS on beagleboardXM

Hello,

I have ported pre-built android OS on BeagleboardXM. Does it support the USB host Mode?

I was trying to enumerate the USB devices connected to board and UsbManager.getDeviceList returned empty list. I checked the UsbManager class and it returns empty list only for two possibilities

1. USB host mode is unsupported

2.USB host mode is inactive.

I am not sure whether host mode is unsupported as I have connected USB mouse and keyboard n they are working fine. Could anybody help me by giving some inputs?

  • Perhaps the API fails because the platform does not indicate USB Host support.

    Could you try adding the following line in your device.mk and rebuilding

    PRODUCT_COPY_FILES += \
        frameworks/base/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml