Hi,
I've been "googling" the web about this issue for hours and tried many 
different things, but I couldn't find any solution yet.

I've an Android Tablet version 4.0.4 and Kernel version 3 with USB OTG 
support.
I simply want to get access to connected USB devices via the Android 
USB-Host API (UsbManager). There is an app called "USB Device Info" which 
does a great job to find out which USB devices are currently connected with 
the tablet. It has two categories:

   1. "Android": lists up all connected USB devices, that are recognized 
   and listed up by the Android USB-Host API (UsbManager.getDevices())
   2. "Linux": lists up all connected USB devices recognized by linux, I 
   guess this is the result of a simple "lsusb" command

The list in the "Linux" category is fine, it correctly lists up all USB 
devices. However, many USB devices are not recognized by the Android 
USB-Host API, so not listed up in the "Android"-category by that "USB 
Device Info"-app. This means I can't access them via the Android USB-Host 
API. Where is the problem and how can I fix that?

I've root access on the tablet and I already fixed some system 
configurations (see 
http://stackoverflow.com/questions/11183792/android-usb-host-and-hidden-devices).
 
Before that, it didn't show up any devices at all.

I've tried several USB devices, all of them were recognized in the linux 
category but only some of them in the android category:

   - Logitech USB keyboard: not recognized by UsbManager, however it works 
   with the tablet, I can use the keyboard on the tablet
   - Logitech USB mouse: not recognized by UsbManager, however it works 
   with the tablet, I can see a cursor and use it instead of the touchscreen
   - some USB memory stick: recognized by UsbManager
   - brother hl-2030 USB printer: recognized by UsbManager, didn't try out 
   printing though
   - some other chinese USB printer: not recognized by UsbManager
   
I've also an android smartphone with version 4.0.4 but kernel 2.6. Its 
UsbManager recognizes the keyboard and mouse, too, but still not all 
devices (e.g. not the chinese USB printer). The problem that only some 
devices are recongized by the UsbManager seems to be pretty common: 
https://groups.google.com/d/topic/android-developers/bn-3QIhqHKw/discussion

Would be great if anybody had a solution for this. Or just a hint would be 
great as well.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to