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