Hi,

I'm trying to interface to a USB device from my googleIO galaxy tab 10.1. 
 I've been through the documentation on developer.android.com and stack 
overflow and I can't find anything on this.  Here's the problem:

I connect the USB device:

I've set up device filters as per the docs, and nothing happens.
If I look in logcat when I connect the device, nothing happens.
If getDeviceList() says there are 0 devices connected.

But if I connect to my galaxy tab 10.1 using "adb shell" then run dmesg, I 
discover the device is being detected after all:
<6>[ 1685.332067] usb 1-1: new low speed USB device using tegra-ehci and 
address 45
<3>[ 1685.370073] usb 1-1: device v1267 p0000 is not supported
<6>[ 1685.392656] host_notify: ndev name=tegra-ehci.0: from state=5 -> to 
state=5
<3>[ 1685.392726] hub 1-0:1.0: unable to enumerate USB device on port 1
<6>[ 1685.551797] usb 1-1: new low speed USB device using tegra-ehci and 
address 46
<3>[ 1685.881732] usb 1-1: device v1267 p0000 is not supported
<6>[ 1685.903018] host_notify: ndev name=tegra-ehci.0: from state=5 -> to 
state=5
<3>[ 1685.903089] hub 1-0:1.0: unable to enumerate USB device on port 1

Not only is it being detected, but it seems to be repeatedly:
- detecing the device
- reading the vid and pid
- declaring that they are not supported
- giving up on enumerating the device

and then starting all over again, about 5 times a second.  I tried this with 
a different USB device (different VID/PID), and saw the same pattern. My 
questions are:

- Could this be because I've managed to cock up setting up the intent 
filters, or is there some lower level problem stopping the device even 
getting that far?
- What constraints are there on which usb devices are supported on android 
(e.g. are there limits to which protocols are supported? Or which VIDs/PIDs 
are supported? Or some other constraints?)
- Is there any detailed documentation on USB on android (besides the 
hardware.usb. api reference)?
- Has anyone else had this problem?  Have they found a solution?

Any help would be much appreciated

W

-- 
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