I've recently purchased a Google Nexus 7 (2013), and am having trouble getting it to talk to IOIO OTG. At this staging, trying another android ROM is the only option i can think of. Any ideas?
I have 4 IOIO OTG's, all purchased from Sparkfun in the last 2-3 months. Not sure software/bootloader versions.
I am connecting them to power via a 12v wall adapter, which is rated for 2.0 amps. This is connected to the IOIO via the JTAG port.
The IOIO is connected to the Nexus via the included OTG cable, using new Micro USB cables (i have tried at least 3).
Charge turnpot turned to max.
I cannot get either Hello IOIO or IOIO Hardware Tester to toggle the Status LED.
I installed IOIO Hardware Tester on the tablet. I then tried to toggle the LED, without USB Debugging enabled. This did not work. I then tried turning on USB Debugging and tried toggling the LED, this did not work. I also tried toggling USB Debugging on/off a few times, as per the wiki article (albiet for the earlier nexus 7), this did not work.
After trying different OTG and USB cables without success, i figured maybe it was something wrong with the stock rom. So i flashed it with the latest CyanogenMod rom.
I tried everything mentioned as above.
I rooted the device and collected LogCat logs (using CatLog application). Here is the outputs:
10-04 18:40:02.753 D/PicasaUploaderSyncManager(28967): battery info: true
10-04 18:40:10.461 D/ACDB-LOADER(202): ACDB -> send_afe_cal
10-04 18:40:10.461 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher} from pid 638
10-04 18:40:10.541 D/dalvikvm(638): GC_FOR_ALLOC freed 1119K, 32% free 24243K/35352K, paused 68ms, total 68ms
10-04 18:40:10.601 D/dalvikvm(638): GC_FOR_ALLOC freed 1120K, 34% free 23677K/35352K, paused 58ms, total 58ms
10-04 18:40:14.765 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=ioio.examples.hello/.MainActivity bnds=[600,893][792,1085]} from pid 1131
10-04 18:40:14.765 D/ACDB-LOADER(202): ACDB -> send_afe_cal
10-04 18:40:14.835 D/dalvikvm(638): GC_FOR_ALLOC freed 589K, 32% free 24237K/35352K, paused 61ms, total 61ms
10-04 18:40:14.905 D/dalvikvm(638): GC_FOR_ALLOC freed 1111K, 34% free 23678K/35352K, paused 64ms, total 64ms
10-04 18:40:14.925 D/AccessoryIOIOConnection(1853): No accessory found.
10-04 18:40:14.925 D/AccessoryIOIOConnection(1853): No accessory found.
10-04 18:40:14.925 D/BluetoothAdapter(1853): 1104625560: getState() : mService = null. Returning STATE_OFF
10-04 18:40:14.925 D/IOIOImpl(1853): Waiting for IOIO connection
10-04 18:40:14.925 V/IOIOImpl(1853): Waiting for underlying connection
10-04 18:40:14.925 V/SocketIOIOConnection(1853): Creating server socket
10-04 18:40:14.925 V/SocketIOIOConnection(1853): Waiting for TCP connection
10-04 18:40:14.925 D/IOIOImpl(1853): Waiting for IOIO connection
10-04 18:40:14.925 V/IOIOImpl(1853): Waiting for underlying connection
10-04 18:40:22.192 D/ACDB-LOADER(202): ACDB -> send_afe_cal
10-04 18:40:22.192 D/audio_hw_primary(202): enable_snd_device: snd_device(2: speaker)
10-04 18:40:22.192 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher} from pid 638
10-04 18:40:22.282 D/dalvikvm(638): GC_FOR_ALLOC freed 600K, 32% free 24239K/35352K, paused 75ms, total 76ms
10-04 18:40:22.352 D/dalvikvm(638): GC_FOR_ALLOC freed 1111K, 34% free 23681K/35352K, paused 65ms, total 66ms
10-04 18:40:22.843 D/IOIOImpl(1853): Client requested disconnect.
10-04 18:40:22.843 V/SocketIOIOConnection(1853): Client initiated disconnect
10-04 18:40:22.843 D/IOIOImpl(1853): Client requested disconnect.
10-04 18:40:22.843 D/IOIOImpl(1853): Connection lost / aborted
10-04 18:40:22.843 D/IOIOBaseApplicationHelper(1853): IOIOThread is exiting
10-04 18:40:22.843 D/IOIOImpl(1853): Connection lost / aborted
10-04 18:40:22.843 D/IOIOBaseApplicationHelper(1853): IOIOThread is exiting
10-04 18:40:23.954 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.nolanlawson.logcat cmp=com.nolanlawson.logcat/.LogcatActivity bnds=[984,221][1176,413]} from pid 1131
10-04 18:47:05.145 D/dalvikvm(8200): GC_CONCURRENT freed 1099K, 76% free 4948K/20048K, paused 3ms+3ms, total 93ms
10-04 18:47:06.837 I/EntropyMixer(638): Writing entropy...
10-04 18:47:06.847 D/PicasaUploaderSyncManager(28967): battery info: true
10-04 18:47:09.339 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher} from pid 638
10-04 18:47:09.349 D/ACDB-LOADER(202): ACDB -> send_afe_cal
10-04 18:47:09.419 D/dalvikvm(638): GC_FOR_ALLOC freed 2159K, 33% free 23738K/35352K, paused 62ms, total 62ms
10-04 18:47:09.710 E/qdoverlay(199): Failed to call ioctl MSMFB_OVERLAY_SET err=Invalid argument
10-04 18:47:09.710 E/qdoverlay(199): MdpCtrl failed to setOverlay, restoring last known good ov info
10-04 18:47:09.710 E/qdoverlay(199): == Bad OVInfo is: mdp_overlay z=1 fg=0 alpha=20 mask=-1 flags=0x60000 id=2
10-04 18:47:09.710 E/qdoverlay(199): src msmfb_img w=1216 h=1824 format=14 MDP_RGBX_8888
10-04 18:47:09.710 E/qdoverlay(199): src_rect mdp_rect x=0 y=51 w=1200 h=1772
10-04 18:47:09.710 E/qdoverlay(199): dst_rect mdp_rect x=205 y=345 w=790 h=1167
10-04 18:47:09.710 E/qdoverlay(199): == Last good known OVInfo is: mdp_overlay z=1 fg=0 alpha=42 mask=-1 flags=0x60000 id=2
10-04 18:47:09.710 E/qdoverlay(199): src msmfb_img w=1216 h=1824 format=14 MDP_RGBX_8888
10-04 18:47:09.710 E/qdoverlay(199): src_rect mdp_rect x=0 y=50 w=1200 h=1774
10-04 18:47:09.710 E/qdoverlay(199): dst_rect mdp_rect x=189 y=322 w=822 h=1215
10-04 18:47:09.710 E/qdoverlay(199): Ctrl commit failed set overlay
10-04 18:47:09.710 E/qdhwcomposer(199): configureLowRes: commit failed for low res panel
10-04 18:47:11.021 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=ioio.examples.hello/.MainActivity bnds=[600,893][792,1085]} from pid 1131
10-04 18:47:11.111 D/dalvikvm(638): GC_FOR_ALLOC freed 1726K, 33% free 23725K/35352K, paused 70ms, total 70ms
10-04 18:47:11.151 D/AccessoryIOIOConnection(1853): No accessory found.
10-04 18:47:11.151 D/AccessoryIOIOConnection(1853): No accessory found.
10-04 18:47:11.151 D/BluetoothAdapter(1853): 1104625560: getState() : mService = null. Returning STATE_OFF
10-04 18:47:11.151 D/IOIOImpl(1853): Waiting for IOIO connection
10-04 18:47:11.151 V/IOIOImpl(1853): Waiting for underlying connection
10-04 18:47:11.151 V/SocketIOIOConnection(1853): Creating server socket
10-04 18:47:11.151 V/SocketIOIOConnection(1853): Waiting for TCP connection
10-04 18:47:11.151 D/IOIOImpl(1853): Waiting for IOIO connection
10-04 18:47:11.151 V/IOIOImpl(1853): Waiting for underlying connection
10-04 18:47:22.412 D/ACDB-LOADER(202): ACDB -> send_afe_cal
10-04 18:47:22.412 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher} from pid 638
10-04 18:47:22.502 D/dalvikvm(638): GC_FOR_ALLOC freed 1734K, 33% free 23724K/35352K, paused 76ms, total 76ms
10-04 18:47:22.992 D/IOIOImpl(1853): Client requested disconnect.
10-04 18:47:22.992 V/SocketIOIOConnection(1853): Client initiated disconnect
10-04 18:47:22.992 D/IOIOImpl(1853): Client requested disconnect.
10-04 18:47:22.992 D/IOIOImpl(1853): Connection lost / aborted
10-04 18:47:22.992 D/IOIOBaseApplicationHelper(1853): IOIOThread is exiting
10-04 18:47:22.992 D/IOIOImpl(1853): Connection lost / aborted
10-04 18:47:22.992 D/IOIOBaseApplicationHelper(1853): IOIOThread is exiting
10-04 18:47:25.185 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.settings/.Settings} from pid 1131
10-04 18:47:25.265 D/dalvikvm(638): GC_FOR_ALLOC freed 1699K, 33% free 23725K/35352K, paused 69ms, total 70ms
10-04 18:47:25.335 D/dalvikvm(3875): GC_EXPLICIT freed 865K, 31% free 13187K/18948K, paused 4ms+10ms, total 62ms
10-04 18:47:25.355 D/BluetoothAdapter(3875): 1104670432: getState() : mService = null. Returning STATE_OFF
10-04 18:47:25.375 D/WifiService(638): setWifiEnabled: true pid=3875, uid=1000
10-04 18:47:25.385 D/BluetoothAdapter(3875): 1104670432: getState() : mService = null. Returning STATE_OFF
10-04 18:47:25.445 D/WifiService(638): setWifiEnabled: true pid=3875, uid=1000
10-04 18:47:25.455 D/BluetoothAdapter(3875): 1104670432: getState() : mService = null. Returning STATE_OFF
10-04 18:47:31.261 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 3875
10-04 18:47:31.351 D/dalvikvm(638): GC_FOR_ALLOC freed 1731K, 33% free 23723K/35352K, paused 80ms, total 81ms
10-04 18:47:31.361 D/ACDB-LOADER(202): ACDB -> send_afe_cal
10-04 18:47:31.421 W/Settings(3875): Setting bugreport_in_power_menu has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
10-04 18:47:31.431 E/Cryptfs (193): not running with encryption, aborting
10-04 18:47:31.611 I/ActivityManager(638): Displayed com.android.settings/.SubSettings: +252ms
10-04 18:47:32.722 E/UsbDebuggingManager(638): got -1 reading
10-04 18:47:32.722 E/UsbDebuggingManager(638): Communication error:
10-04 18:47:32.722 E/UsbDebuggingManager(638): java.io.IOException: No such file or directory
10-04 18:47:32.722 E/UsbDebuggingManager(638): at android.net.LocalSocketImpl.connectLocal(Native Method)
10-04 18:47:32.722 E/UsbDebuggingManager(638): at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:258)
10-04 18:47:32.722 E/UsbDebuggingManager(638): at android.net.LocalSocket.connect(LocalSocket.java:108)
10-04 18:47:32.722 E/UsbDebuggingManager(638): at com.android.server.usb.UsbDebuggingManager.listenToSocket(UsbDebuggingManager.java:79)
10-04 18:47:32.722 E/UsbDebuggingManager(638): at com.android.server.usb.UsbDebuggingManager.run(UsbDebuggingManager.java:115)
10-04 18:47:32.722 E/UsbDebuggingManager(638): at java.lang.Thread.run(Thread.java:841)
10-04 18:47:35.605 W/InputMethodManagerService(638): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@42402d40 attribute=null, token = android.os.BinderProxy@427d8940
10-04 18:47:36.646 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher} from pid 638
10-04 18:47:36.726 D/dalvikvm(638): GC_FOR_ALLOC freed 1883K, 33% free 23736K/35352K, paused 74ms, total 75ms
10-04 18:47:38.107 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=ioio.examples.hello/.MainActivity bnds=[600,893][792,1085]} from pid 1131
10-04 18:47:38.187 D/dalvikvm(638): GC_FOR_ALLOC freed 1705K, 33% free 23727K/35352K, paused 75ms, total 75ms
10-04 18:47:38.217 D/AccessoryIOIOConnection(1853): No accessory found.
10-04 18:47:38.217 D/AccessoryIOIOConnection(1853): No accessory found.
10-04 18:47:38.217 D/BluetoothAdapter(1853): 1104625560: getState() : mService = null. Returning STATE_OFF
10-04 18:47:38.217 D/IOIOImpl(1853): Waiting for IOIO connection
10-04 18:47:38.217 V/IOIOImpl(1853): Waiting for underlying connection
10-04 18:47:38.217 V/SocketIOIOConnection(1853): Creating server socket
10-04 18:47:38.217 V/SocketIOIOConnection(1853): Waiting for TCP connection
10-04 18:47:38.217 D/IOIOImpl(1853): Waiting for IOIO connection
10-04 18:47:38.217 V/IOIOImpl(1853): Waiting for underlying connection
10-04 18:47:41.871 D/ACDB-LOADER(202): ACDB -> send_afe_cal
10-04 18:47:41.871 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher} from pid 638
10-04 18:47:41.971 D/dalvikvm(638): GC_FOR_ALLOC freed 1701K, 33% free 23724K/35352K, paused 92ms, total 93ms
10-04 18:47:42.461 D/IOIOImpl(1853): Client requested disconnect.
10-04 18:47:42.461 V/SocketIOIOConnection(1853): Client initiated disconnect
10-04 18:47:42.461 D/IOIOImpl(1853): Client requested disconnect.
10-04 18:47:42.461 D/IOIOImpl(1853): Connection lost / aborted
10-04 18:47:42.461 D/IOIOBaseApplicationHelper(1853): IOIOThread is exiting
10-04 18:47:42.461 D/IOIOImpl(1853): Connection lost / aborted
10-04 18:47:42.461 D/IOIOBaseApplicationHelper(1853): IOIOThread is exiting
10-04 18:47:42.502 D/dalvikvm(8200): GC_CONCURRENT freed 449K, 73% free 5191K/18952K, paused 2ms+7ms, total 30ms
10-04 18:47:43.132 D/dalvikvm(1131): GC_FOR_ALLOC freed 7173K, 26% free 31281K/41900K, paused 28ms, total 28ms
10-04 18:47:43.152 I/ActivityManager(638): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=com.nolanlawson.logcat cmp=com.nolanlawson.logcat/.LogcatActivity bnds=[984,221][1176,413]} from pid 1131
10-04 18:47:43.232 D/dalvikvm(638): GC_FOR_ALLOC freed 1694K, 33% free 23725K/35352K, paused 68ms, total 68ms
Looking at the logcat from the above, it kinda looks like USB Debugging isn't working correctly. I might try another rom, in case this is a bug with this particular ROM.