Inline

On Thu, Mar 27, 2014 at 1:25 PM, Rémy Grandin <[email protected]>wrote:

> For all my previous test i used the Vin and ground pin and i recently
> brought a JST male connector (which by the way was a bit to large for the
> jst connector of the IOIO OTG)
>

I meant what power supply are you using (voltage and current rating). It is
possible that the supply doesn't keep up with the charging current or for
any other reason drops the voltage below 5V.


> The weird thing is that it work well with my galaxy s 4 via open accessory
> but it dosn't work with the standard "debug mode" way
>

This is not weird. IOIO over ADB does not work with Android >= 4.2 and in
this case you *have* to use OpenAccessory.


>
> I'm starting to ask myself if i should realy use the orange adaptator for
> connection the ioio or if i should use a microA <-> microA cable
>

You probably mean micro-A <-> micro-B. That shouldn't make any difference
(except mechanical). Connecting the red adapter to a standard USB cable
effectively gives you the exact same cable as the one-piece one.
Please note that this cable is *not* symmetrical even though it may appear
to be. It should have an "A" side and a "B" side. The "A" side is always
the host (supplies power to the other, manages the bus). Typically, unless
you have a host-capable Android, which you want to power the IOIO, you need
to ensure the "A" side (e.g. the red cable) is on the IOIO side.


>
>
> Le jeudi 27 mars 2014 16:45:29 UTC+1, Ytai a écrit :
>>
>> What power supply are you using for the IOIO? How is it connected?
>>
>>
>> On Wed, Mar 26, 2014 at 11:47 AM, Rémy Grandin <[email protected]>wrote:
>>
>>> I've tried with and without, no more success.
>>> I've flashed it back with a stock samsung rom 2.3.6 but still no luck
>>> with the ioio
>>>
>>> nevertheless the phone work fine with standard usb debugging. Here is
>>> the logcat output when debugging the helloIOIO app :
>>>
>>> 03-26 19:01:37.828: D/IOIOConnectionRegistry(2613): Successfully added
>>> bootstrap class: ioio.lib.impl.SocketIOIOConnectionBootstrap
>>> 03-26 19:01:37.828: W/dalvikvm(2613): VFY: unable to resolve virtual
>>> method 49: Lcom/android/future/usb/UsbManager;.openAccessory
>>> (Lcom/android/future/usb/UsbAccessory;)Landroid/os/ParcelFileDescriptor;
>>> 03-26 19:01:37.828: D/dalvikvm(2613): VFY: replacing opcode 0x6e at
>>> 0x0004
>>> 03-26 19:01:37.828: D/dalvikvm(2613): VFY: dead code 0x0007-0026 in
>>> Lioio/lib/android/accessory/AccessoryConnectionBootstrap;.openStreams
>>> ()V
>>> 03-26 19:01:37.828: D/dalvikvm(2613): VFY: dead code 0x0028-002f in
>>> Lioio/lib/android/accessory/AccessoryConnectionBootstrap;.openStreams
>>> ()V
>>> 03-26 19:01:37.835: W/dalvikvm(2613): VFY: unable to resolve static
>>> method 47: Lcom/android/future/usb/UsbManager;.getInstance
>>> (Landroid/content/Context;)Lcom/android/future/usb/UsbManager;
>>> 03-26 19:01:37.835: D/dalvikvm(2613): VFY: replacing opcode 0x71 at
>>> 0x0002
>>> 03-26 19:01:37.835: D/dalvikvm(2613): VFY: dead code 0x0005-000b in
>>> Lioio/lib/android/accessory/AccessoryConnectionBootstrap;.onCreate
>>> (Landroid/content/ContextWrapper;)V
>>> 03-26 19:01:37.835: W/dalvikvm(2613): VFY: unable to resolve virtual
>>> method 46: Lcom/android/future/usb/UsbManager;.getAccessoryList
>>> ()[Lcom/android/future/usb/UsbAccessory;
>>> 03-26 19:01:37.835: D/dalvikvm(2613): VFY: replacing opcode 0x6e at
>>> 0x000b
>>> 03-26 19:01:37.835: D/dalvikvm(2613): VFY: dead code 0x000e-0025 in
>>> Lioio/lib/android/accessory/AccessoryConnectionBootstrap;.open ()V
>>> 03-26 19:01:37.835: D/dalvikvm(2613): VFY: dead code 0x0029-0054 in
>>> Lioio/lib/android/accessory/AccessoryConnectionBootstrap;.open ()V
>>> 03-26 19:01:37.835: D/IOIOConnectionRegistry(2613): No runtime support
>>> for: ioio.lib.android.accessory.AccessoryConnectionBootstrap. Not
>>> adding.
>>> 03-26 19:01:37.843: D/IOIOConnectionRegistry(2613): Successfully added
>>> bootstrap class: ioio.lib.android.bluetooth.
>>> BluetoothIOIOConnectionBootstrap
>>> 03-26 19:01:37.984: D/IOIOImpl(2613): Waiting for IOIO connection
>>> 03-26 19:01:37.984: V/IOIOImpl(2613): Waiting for underlying connection
>>> 03-26 19:01:37.984: V/SocketIOIOConnection(2613): Creating server socket
>>> 03-26 19:01:38.000: V/SocketIOIOConnection(2613): Waiting for TCP
>>> connection
>>> 03-26 19:01:41.367: D/IOIOImpl(2613): Client requested disconnect.
>>> 03-26 19:01:41.367: V/SocketIOIOConnection(2613): Client initiated
>>> disconnect
>>> 03-26 19:01:41.375: D/IOIOImpl(2613): Connection lost / aborted
>>> 03-26 19:01:41.375: D/IOIOBaseApplicationHelper(2613): IOIOThread is
>>> exiting
>>> 03-26 19:01:43.335: D/dalvikvm(2613): Debugger has detached; object
>>> registry had 1 entries
>>> 03-26 19:03:24.382: D/dalvikvm(2613): Debugger has detached; object
>>> registry had 1 entries
>>> 03-26 19:21:05.531: D/IOIOImpl(2613): Waiting for IOIO connection
>>> 03-26 19:21:05.531: V/IOIOImpl(2613): Waiting for underlying connection
>>> 03-26 19:21:05.531: V/SocketIOIOConnection(2613): Creating server socket
>>> 03-26 19:21:05.531: V/SocketIOIOConnection(2613): Waiting for TCP
>>> connection
>>>
>>> It don't seam to have any problem exept the missing open accessory
>>> classes, understandable beacause of the android version i'm running
>>>
>>> I've also see in the phone compatibility table that the galaxy Y worked
>>> under android 2.3.4. I will attempt to downgrade to this version (i don't
>>> have any other idea)
>>>
>>> Le vendredi 21 mars 2014 22:19:09 UTC+1, Ytai a écrit :
>>>>
>>>> Do you have USB debugging on at this point? Can you verify that it
>>>> works against a PC (and make sure it is* not* configured for wireless
>>>> mode)?
>>>> I've seen the Galaxy Y working with the IOIO with my own eyes, so
>>>> whatever issues you're seeing should be fixable.
>>>> Also, look at logcat for any clues regarding what's going on.
>>>>
>>>>
>>>> On Fri, Mar 21, 2014 at 11:31 AM, Rémy Grandin <[email protected]>wrote:
>>>>
>>>>> I've tested it with an old needle voltmetter wich game me about 5V for
>>>>> the 5volts rail (+- 0.3V) and around 3.1V for the 3.3 one (+- 0.3V), for
>>>>> each of the setting bellow :
>>>>>
>>>>> - Powered from the PC
>>>>> - Powered from the LiPo, nothing attached to the usb
>>>>> - Powered from the LiPo, connected to the phone via the setup 4 post
>>>>> above
>>>>> - Powered from the LiPo, connected to the BT adapter via the orange
>>>>> cable
>>>>>
>>>>>
>>>>> A change this time, my phone seam to change from the ioio bus with or
>>>>> withou the usb debugging, still no "connection".
>>>>> It also show me a notification to activate the USB File traspher as if
>>>>> it recognised the ioio as a PC
>>>>>
>>>>>
>>>>> Le jeudi 20 mars 2014 16:33:09 UTC+1, Ytai a écrit :
>>>>>>
>>>>>> Possibly this is a power supply issue. A 3s LiPo should be great
>>>>>> though. Can you measure the voltage on the 5v rail?
>>>>>> On Mar 20, 2014 2:54 AM, "Rémy Grandin" <[email protected]> wrote:
>>>>>>
>>>>>>> Has this IOIO *ever *worked with this phone for you or is this the
>>>>>>>> first time you're trying?
>>>>>>>>
>>>>>>>         It worked indirectly via an adb wifi and my pc as relay with
>>>>>>> ioiobridge
>>>>>>>
>>>>>>>
>>>>>>>> What firmware versions are on the IOIO (ioiodude --port=xxx
>>>>>>>> versions)?
>>>>>>>>
>>>>>>>         Hardware version: SPRK0020
>>>>>>>         Bootloader version: IOIO0400
>>>>>>>         Application version: IOIO0400
>>>>>>>
>>>>>>>
>>>>>>>> Make sure ADB is enabled over USB for the IOIO to work.
>>>>>>>> Are you getting a charging icon on the phone when connecting the
>>>>>>>> IOIO?
>>>>>>>>
>>>>>>>         Yes, but for only half a sec
>>>>>>>
>>>>>>>
>>>>>>>> Are you getting a debugging icon?
>>>>>>>>
>>>>>>>         No
>>>>>>>
>>>>>>>
>>>>>>>> With bluetooth - can your PC pair with the IOIO?
>>>>>>>>
>>>>>>>         The pc don't even see it
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Mar 19, 2014 at 1:01 PM, Rémy Grandin 
>>>>>>>> <[email protected]>wrote:
>>>>>>>>
>>>>>>>>> sorry, me again ... :
>>>>>>>>>
>>>>>>>>> the ioio ->PC->wifi->phone worked well but i can't get it to work
>>>>>>>>> while directly connected to my phone. Here is my setting :
>>>>>>>>>
>>>>>>>>>         µUSB b        standard samsung cable         USB a
>>>>>>>>>  ioio's orange cable
>>>>>>>>>
>>>>>>>>> Phone [[[[<<===========================>>]]]==================>>]]
>>>>>>>>> IOIO
>>>>>>>>>
>>>>>>>>> For this setup, my ioio is powered by an external source (a LiPo
>>>>>>>>> 3S)
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I also tried over bluetooth with one of the recommended dongle
>>>>>>>>> (this one : http://dx.com/p/ultra-mini-b
>>>>>>>>> luetooth-3-0-usb-dongle-65631)
>>>>>>>>> but whe i connect it it glow for half a second and don't glow
>>>>>>>>> again and obviously isn't viewable in the Bluetooth section of my 
>>>>>>>>> phone or
>>>>>>>>> PC
>>>>>>>>>
>>>>>>>>> PS : i checked the potentiometer is all clockwise
>>>>>>>>>
>>>>>>>>> Le mardi 18 mars 2014 01:16:01 UTC+1, Ytai a écrit :
>>>>>>>>>>
>>>>>>>>>> You cannot debug and use the IOIO over USB at the same time.
>>>>>>>>>> Your options are either:
>>>>>>>>>>
>>>>>>>>>>    - Connect to the IOIO over Bluetooth (for development time)
>>>>>>>>>>    and do debugging over USB / WiFi.
>>>>>>>>>>    - Connect the IOIO to your development PC (over Bluetooth or
>>>>>>>>>>    USB), your phone to the PC over USB / Wifi and use 
>>>>>>>>>> IOIOBridge<https://github.com/ytai/ioio/wiki/IOIO-Bridge>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Mar 17, 2014 at 10:54 AM, Rémy Grandin <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>>  Hi everyone,
>>>>>>>>>>>
>>>>>>>>>>> I recently receive my beautifull ioio and i'm starting to play
>>>>>>>>>>> around with it. My project is to uste it ton manage a half 
>>>>>>>>>>> automatic quad
>>>>>>>>>>> copter drone. But, i'm a bit stuck at square one :
>>>>>>>>>>> I brought an cheap android phone to be the computation core of
>>>>>>>>>>> my drone but i have trouble get it to connect to the ioio. It's a 
>>>>>>>>>>> samsung
>>>>>>>>>>> galaxy Y (GT-S5360) under android 2.3.6.
>>>>>>>>>>> I'm connecting to it via wifi adb and i have of course the usb
>>>>>>>>>>> debugging on and the ioio connected to it via a standard usb cable 
>>>>>>>>>>> and the
>>>>>>>>>>> orange converter. But i can't seam to be able to light up the stat 
>>>>>>>>>>> led
>>>>>>>>>>> using helo ioio app and nothing valuable show int the console or 
>>>>>>>>>>> logcat
>>>>>>>>>>>
>>>>>>>>>>> Any Idea on how to debug that ?
>>>>>>>>>>>
>>>>>>>>>>> PS : I've upgraded my ioio to the v4 firmware
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> 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 [email protected].
>>>>>>>>>>> To post to this group, send email to [email protected].
>>>>>>>>>>>
>>>>>>>>>>> Visit this group at http://groups.google.com/group/ioio-users.
>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>  --
>>>>>>>>> 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 [email protected].
>>>>>>>>> To post to this group, send email to [email protected].
>>>>>>>>> Visit this group at http://groups.google.com/group/ioio-users.
>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>
>>>>>>>>
>>>>>>>>  --
>>>>>>> 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 [email protected].
>>>>>>> To post to this group, send email to [email protected].
>>>>>>> Visit this group at http://groups.google.com/group/ioio-users.
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>  --
>>>>> 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 [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>> Visit this group at http://groups.google.com/group/ioio-users.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>  --
>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/ioio-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/ioio-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to