Glad you got that sorted out. Happy hacking!

On Tue, Apr 1, 2014 at 2:53 PM, Rémy Grandin <[email protected]> wrote:

> It was that, a god damn faulty usb port. I've straghten up the contact
> plate and now it work like a charm.
>
> Nevertheless, thank you Ytai for your support in this (long) story !! It's
> great to see a developper who care so much about it's creation ^^
>
> Le mardi 1 avril 2014 23:43:26 UTC+2, Rémy Grandin a écrit :
>
>> Ok, the weird just gets weirder :
>> It worked, ... but one time only
>> The story :
>> After flashing several firmware ont the phone with no better luck  to get
>> the ioio working i tried with a different USB cable (A big one, normaly
>> used to charge my mouse) and it worked !! the Hello IOIO App was able to
>> light up the stat led. But, when i just tried to disconnect and reconnect
>> it the magic was gone, no more connection. I've also notice something, my
>> phone have sometime some trouble to connect to the PC (Ive got the
>> Ting-Ding from widows but don't see any perephirical and the phone don't
>> show me a new notification asking if i what to connect the data storage).
>> It may be the data pins of my phone usb connector who are messed up, i will
>> look into it.
>>
>> PS : I've tested the voltage like you asked and i've got the save value
>> (5V) ont the 5V rail with or without the phone connected
>>
>> Le vendredi 28 mars 2014 16:46:09 UTC+1, Ytai a écrit :
>>>
>>> Do you have a way to measure voltage? If so, I'd like to see what is the
>>> voltage on the 5V rail while the phone is connected.
>>> I'm pretty much out of ideas. There might be something special about
>>> this phone's OS version or settings which make it misbehave. As I said,
>>> this phone model is a known-working one and also your IOIO is a known
>>> working one.
>>> Might be interesting to inspect logcat in the following case:
>>>
>>>    1. Start HelloIOIO.
>>>    2. Power-cycle the IOIO.
>>>    3. Attach the IOIO.
>>>    4. Exit HelloIOIO.
>>>
>>>
>>>
>>> On Fri, Mar 28, 2014 at 2:34 AM, Rémy Grandin <[email protected]>wrote:
>>>
>>>> I'm using a fully charged 3S 3000mAh LiPo (this one actualy :
>>>> https://www.hobbyking.com/hobbyking/store/uh_viewItem.
>>>> asp?idProduct=10298)
>>>> It's able to power 4 Brushless motor for 15 min so i hope it have
>>>> enough juice to sustain the ioio ^^
>>>>
>>>> Le jeudi 27 mars 2014 22:56:31 UTC+1, Ytai a écrit :
>>>>
>>>>> 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/ParcelFil
>>>>>>>> eDescriptor;
>>>>>>>> 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.Blu
>>>>>>>> etoothIOIOConnectionBootstrap
>>>>>>>> 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.
>>>>
>>>
>>>  --
> 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