try a shorter usb cable
I'm having some trouble getting a phone to work with the IOIO-OTG if anyone can offer some help?
Samsung Galaxy S2 (SCH-R760)
Android 4.0.4
With ADB debugging enabled on the phone, after plugging in the USB cable from IOIO-OTG to phone, IOIO Hardware Tester continues to read "Status: Not Connected"; although the battery symbol shows that the phone is charging. When plugging the phone into the computer, I get the "USB connected" and "Android debugging enabled" statuses (which I didn't get when plugged into the IOIO). ADB over USB works on the phone as I was able to install HelloIOIO from Eclipse to the phone (but HelloIOIO had no effect on the IOIO status LED). I've also tried both applications with ADB disabled (in hopes OpenAccessory might work) but I get the same results (charging the phone but no IOIO connection). I also tried turning the "chg" all the way clockwise on the IOIO.
When I try plugging in another phone, a Motorola Triumph for example, into the IOIO it works as expected and IOIO Hardware Tester reports:
Device Name: Triumph
Android Version: 2.3.7
IOIO Hardware: SPRK0020
IOIO Bootloader: IOIO0400
IOIO Firmware: IOIO0330
I've tried a few other phones with the IOIO with success as well.
The logcat when running HelloIOIO then IOIO Hardware Tester from the Samsung Galaxy S2 (with a filter of "ioio") produces:
05-11 13:10:15.882: I/ActivityManager(1903): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=ioio.examples.hello/.MainActivity bnds=[0,254][120,405]} from pid 2134
05-11 13:10:16.072: I/ActivityManager(1903): Start proc ioio.examples.hello for activity ioio.examples.hello/.MainActivity: pid=2757 uid=10047 gids={3003, 3002}
05-11 13:10:16.117: D/IOIOConnectionRegistry(2757): Successfully added bootstrap class: ioio.lib.impl.SocketIOIOConnectionBootstrap
05-11 13:10:16.122: D/IOIOConnectionRegistry(2757): Successfully added bootstrap class: ioio.lib.android.accessory.AccessoryConnectionBootstrap
05-11 13:10:16.122: D/IOIOConnectionRegistry(2757): Successfully added bootstrap class: ioio.lib.android.bluetooth.BluetoothIOIOConnectionBootstrap
05-11 13:10:16.182: D/IOIOImpl(2757): Waiting for IOIO connection
05-11 13:10:16.182: D/IOIOImpl(2757): Waiting for IOIO connection
05-11 13:10:16.232: I/ActivityManager(1903): Displayed ioio.examples.hello/.MainActivity: +181ms (total +22s309ms)
05-11 13:10:33.347: D/IOIOBaseApplicationHelper(2757): IOIOThread is exiting
05-11 13:10:33.347: D/IOIOBaseApplicationHelper(2757): IOIOThread is exiting
05-11 13:10:37.356: I/ActivityManager(1903): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=ioio.example.ioiohardwaretester cmp=ioio.example.ioiohardwaretester/.MainActivity bnds=[0,103][120,254]} from pid 2134
05-11 13:10:37.527: I/ActivityManager(1903): Start proc ioio.example.ioiohardwaretester for activity ioio.example.ioiohardwaretester/.MainActivity: pid=2781 uid=10063 gids={3003, 3002, 3001}
05-11 13:10:37.662: D/IOIOConnectionRegistry(2781): Successfully added bootstrap class: ioio.lib.impl.SocketIOIOConnectionBootstrap
05-11 13:10:37.667: I/dalvikvm(2781): Could not find method com.android.future.usb.UsbManager.openAccessory, referenced from method ioio.lib.android.accessory.AccessoryConnectionBootstrap.openStreams
05-11 13:10:37.667: I/dalvikvm(2781): Could not find method com.android.future.usb.UsbManager.getInstance, referenced from method ioio.lib.android.accessory.AccessoryConnectionBootstrap.onCreate
05-11 13:10:37.667: I/dalvikvm(2781): Could not find method com.android.future.usb.UsbManager.getAccessoryList, referenced from method ioio.lib.android.accessory.AccessoryConnectionBootstrap.open
05-11 13:10:37.667: D/IOIOConnectionRegistry(2781): No runtime support for: ioio.lib.android.accessory.AccessoryConnectionBootstrap. Not adding.
05-11 13:10:37.667: D/IOIOConnectionRegistry(2781): Successfully added bootstrap class: ioio.lib.android.bluetooth.BluetoothIOIOConnectionBootstrap
05-11 13:10:37.747: D/IOIOImpl(2781): Waiting for IOIO connection
05-11 13:10:37.867: D/IOIOAndroidApplicationHelper(2781): IOIOThread is exiting
05-11 13:10:38.147: I/ActivityManager(1903): Displayed ioio.example.ioiohardwaretester/.MainActivity: +677ms
05-11 13:10:40.322: D/IOIOImpl(2781): Waiting for IOIO connection
05-11 13:10:50.967: D/IOIOAndroidApplicationHelper(2781): IOIOThread is exiting
Any help would be greatly appreciated.
Thanks,
Travis
--
You received this message because you are subscribed to the Google Groups "ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+...@googlegroups.com.
To post to this group, send email to ioio-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ioio-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.