Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a developer tablet, and I also need some peripherals connected via USB to my tablet and debug cable at the same time. I tried to connect USB hub to my tablet using OTG cable, by got the problem - tablet can use peripherals, but PC doesn't show the device in adb devices.

Is it possible to connect debug cable and USB peripherals to my tablet at the same time?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

No, this is not possible. In order for your device to be in debug mode/ connect to the computer with the debug cable, it needs to be connected as a slave device. The OTG cable tells the tablet to go into host mode. So now your computer is telling your tablet to be a slave but through the enumeration with the OTG cable the tablet believes it needs to be the master, there's a quarrel and it appears the tablet wins and is the master and thus your computer does not acknowledge the tablets existence.

If you need the debugging tools have you looked into adv wireless debugging? (Sorry I can't find the link right now but I've used it in the past and know it is somewhere on the developer.android.com site)

I couldn't find the link so I figured out how to do it again:

1) Open the command prompt and navigate to your sdk/platform-tools/ folder.

2) Type adb tcpip 5555

3) Type adb connect <your device ip address>:5555

4) At this point you unplug your device and type adb logcat

5) At times, such as unplugging/plugging into a USB device, the logcat will become disconnected, just redo steps 3 & 4.

share|improve this answer
1  
Thank you, I'll test it –  skayred May 30 '13 at 15:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.