Hooray...that fixed it.  I connected the USB directly to the Mac and 
ioiodude now works and finds versions...but when I put the ioio board in 
the programming (3 blinks) and try versions I get:

VicMacMini:~ VicMini$ ls /dev/tty.usb*

/dev/tty.usbmodem1441

VicMacMini:~ VicMini$ ./ioiodude --port=/dev/tty.usbmodem1441 versions

[Boot] INFO:  setProperties(com.simontuffs.onejar.JarClassLoader@7440e464)

[Boot] INFO:  using JarClassLoader: com.simontuffs.onejar.JarClassLoader

[JarClassLoader] INFO:  findResource() found: 
"com/sun/jna/darwin/libjnidispatch.jnilib" for caller null in codebase 
lib/jna-4.0.0.jar

[JarClassLoader] INFO:  findResource() found: 
"com/sun/jna/darwin/libjnidispatch.jnilib" for caller null in codebase 
lib/jna-4.0.0.jar


What is wrong now?

On Monday, March 14, 2016 at 9:35:17 PM UTC-7, Ytai wrote:
>
> Vic, I have no idea what the problem might be. I have a very similar setup 
> (same OS version, same Java major version - mine is 1.8.0_72) and it works 
> for me without issues.
>
> Maybe try connecting to different USB ports, bypass the hub if you're 
> using one, etc?
>
> PJC is not part of the environment, it is compiled into the apps/tools 
> themselves. I.e. in order to upgrade you'd need to build IOIODude/Bridge 
> yourself, then tweak the PJC version number in the build.gradle file. 
> However, I suspect that there's something else going on.
>
> On Sun, Mar 13, 2016 at 10:00 PM, Vic Wintriss <[email protected] 
> <javascript:>> wrote:
>
>> I tried ioiodude 1.03 and still got:
>>
>> VicMacMini:~ VicMini$ ls /dev/tty.usb*
>>
>> /dev/tty.usbmodem1A121371
>>
>> VicMacMini:~ VicMini$ mv /Users/VicMini/Desktop/IOIODude-0103/ioiodude ~
>>
>> VicMacMini:~ VicMini$ mv 
>> /Users/VicMini/Desktop/IOIODude-0103/ioiodude.jar ~
>>
>> VicMacMini:~ VicMini$ ./ioiodude --port=/dev/tty.usbmodem1A121371 versions
>>
>> Exception in thread "main" java.lang.reflect.InvocationTargetException
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
>> at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>
>> at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>
>> at java.lang.reflect.Method.invoke(Method.java:483)
>>
>> at com.simontuffs.onejar.Boot.run(Boot.java:313)
>>
>> at com.simontuffs.onejar.Boot.main(Boot.java:161)
>>
>> Caused by: purejavacomm.PureJavaIllegalStateException: JTermios call 
>> returned -1 at class purejavacomm.PureJavaSerialPort line 1291
>>
>> at 
>> purejavacomm.PureJavaSerialPort.checkReturnCode(PureJavaSerialPort.java:1302)
>>
>> at purejavacomm.PureJavaSerialPort.access$12(PureJavaSerialPort.java:1291)
>>
>> at purejavacomm.PureJavaSerialPort$2.read(PureJavaSerialPort.java:835)
>>
>> at purejavacomm.PureJavaSerialPort$2.read(PureJavaSerialPort.java:730)
>>
>> at 
>> ioio.dude.SerialPortIOIOConnection$GracefullyClosingInputStream.read(SerialPortIOIOConnection.java:179)
>>
>> at ioio.dude.IOIODudeMain.connect(IOIODudeMain.java:406)
>>
>> at ioio.dude.IOIODudeMain.main(IOIODudeMain.java:113)
>>
>> ... 6 more
>> I don't know how to update purejavacomm on my mac.  Instructions, please.
>>
>> On Thursday, August 21, 2014 at 2:35:12 PM UTC-7, Ytai wrote:
>>>
>>> It might be a purejavacomm problem. There is a newer version that the 
>>> one used by the IOIO tools. Can any of you try to update the 
>>> purejavacomm.jar file to the latest and see if it fixes the issue? If it 
>>> does, I can build new versions fairly easily.
>>>
>>>
>>> On Wed, Aug 20, 2014 at 7:55 AM, Tim Frisch <[email protected]> wrote:
>>>
>>>> Hey Ytai; I've got a similar error.
>>>>
>>>> Added the ADB to the PATH.
>>>>
>>>> Now when running the ioiobridge we receive this:
>>>>
>>>>
>>>>
>>>> Connecting to IOIO... Connected!
>>>>
>>>> Connecting to Android application... Connected!
>>>>
>>>> Bridge is running...
>>>>
>>>> Exception in thread "Thread-1" java.lang.IllegalStateException: File 
>>>> descriptor is -1 < 0, maybe closed by previous error condition
>>>>
>>>> at 
>>>> purejavacomm.PureJavaSerialPort.checkState(PureJavaSerialPort.java:906)
>>>>
>>>> at 
>>>> purejavacomm.PureJavaSerialPort.access$000(PureJavaSerialPort.java:46)
>>>>
>>>> at purejavacomm.PureJavaSerialPort$2.read(PureJavaSerialPort.java:567)
>>>>
>>>> at java.io.InputStream.read(InputStream.java:101)
>>>>
>>>> at ioio.bridge.Main$GracefullyClosingInputStream.read(Unknown Source)
>>>>
>>>> at ioio.bridge.Main$BridgeThread.run(Unknown Source)
>>>>
>>>> Bridge closed.
>>>>
>>>> Connecting to IOIO... Connected!
>>>>
>>>> Connecting to Android application... Connecting to IOIO... Connected!
>>>>
>>>> Connecting to Android application... Connected!
>>>>
>>>> Bridge is running...
>>>>
>>>> Exception in thread "Thread-1" java.lang.IllegalStateException: File 
>>>> descriptor is -1 < 0, maybe closed by previous error condition
>>>>
>>>> at 
>>>> purejavacomm.PureJavaSerialPort.checkState(PureJavaSerialPort.java:906)
>>>>
>>>> at 
>>>> purejavacomm.PureJavaSerialPort.access$000(PureJavaSerialPort.java:46)
>>>>
>>>> at purejavacomm.PureJavaSerialPort$2.read(PureJavaSerialPort.java:567)
>>>>
>>>> at java.io.InputStream.read(InputStream.java:101)
>>>>
>>>> at ioio.bridge.Main$GracefullyClosingInputStream.read(Unknown Source)
>>>>
>>>> at ioio.bridge.Main$BridgeThread.run(Unknown Source)
>>>>
>>>> Bridge closed.
>>>>
>>>> Connecting to IOIO... Connected!
>>>>
>>>> Connecting to Android application... 
>>>>
>>>> On Saturday, August 16, 2014 5:13:44 PM UTC-5, Ytai wrote:
>>>>
>>>>> The adb tool is a part of the Android SDK. Locate it and add its 
>>>>> directory to the PATH environment variable.
>>>>> On Aug 13, 2014 1:34 PM, "Luke Zahalka" <[email protected]> wrote:
>>>>>
>>>>>> Trying to run an emulator through the ioiobridge and I receive this 
>>>>>> error:
>>>>>>
>>>>>> ./ioiobridge: line 4: adb: command not found
>>>>>>
>>>>>>
>>>>>> I got the chmod and followed the instructions online
>>>>>>
>>>>>>
>>>>>> Anyone else run into this error?
>>>>>>
>>>>>> -- 
>>>>>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://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 https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to