Hi all. I'm connecting my Arduino (Mega ADK) to my Android device (Galaxy Nexus running CyanogenMod 10.1 Nightlies, based on Jelly Bean 4.2.1), and i'm having some issues.
Thus, I would like to ask from someone who actually has this
Android USB Accessory stuff working, that is the output of the command
adb logcat -s UsbDeviceManager:*
Mine only says "exited USB accessory mode", and nothing else, when connecting and Arduino. On the Arduino serial monitor, i'm getting first a message that the Android is identified and supports protocol 1 and up, and then setup package error D on
acc.isConnected(), when Arduino is trying to setup the file descriptors. I'm using the normal USB Host Shield libraries, not the 2.0 -flavour.
Thanks, i would really appreciate to see the
logcat output of a normal, operating Android Accessory (=Arduino) handshake.