USB host mode on ICS 4.0.3 - what am I missing?

I have an Android tablet running ICS 4.0.3 with kernel 3.0.8 that has 2 USB host ports and both ports work with things like USB sticks, keyboards, mice and 3G dongles, so I know that the hardware is working, I want to use the tablet with the USB Host Mode app, but it doesn't recognize the device I'm plugging into. After doing a little search on stackoverflow and other places, I found the /system/etc/permissions

file android.hardware.usb.host.xml

> is missing , so I used adb to put it there and reboot, but still it seems that USB Host mode is not working. I am using "USB Device Info" in Play Store and it reports my device on Linux side but not Android.

I haven't tried it yet, but this answer - Android Host and Hidden Android Devices - says that I also need android.hardware.usb.host

in handheld_core_hardware.xml

or tablet_core_hardware.xml

(also in a directory /system/etc/permissions

), but other posts suggest that I only need to get the correct list of apps in the Play Store, so what is it right?

My concern is that I am missing something else - so what can I check to see if the device is compatible with the USB host? Is it possible to build 4.0.3 without USB host support, and if so, what's missing?

Or maybe host mode only works with OTG ports and not host-only ports.

Any suggestions for further research were greatly appreciated!

+3


source to share


1 answer


I decided to double-check everything. The android.hardware.usb.host.xml file was definitely in the / system / etc / permissions directory and had the appropriate file permissions, but when I came to see the content, I found that it contains the HTML description for the page on http : //code.google.com/p/ics-nexus-s-4g/source/browse/trunk/system/etc/permissions/android.hardware.usb.host.xml instead of the original text file that can download from there. It looks like my instruction to "install a file from this link" was taken too literally! Putting the correct content into the file made it work. Relief!!



+2


source







All Articles