Yeah, unfortunately PureJavaComm is a bit inconsistent when it comes to handling these corner cases. One opening sequence that works on Linux wouldn't necessarily work on Windows or OSX etc. Glad you found a solution.
On Jul 22, 2016 23:02, "oliver.hadasch via ioio-users" < ioio-users@googlegroups.com> wrote: > After some more testing I found a solution (or more a work around) > When I open and close the com port with this code before calling the go > method > > CommPortIdentifier identifier = > CommPortIdentifier.getPortIdentifier("/dev/IOIO0"); > CommPort commPort = identifier.open(*"*IOIO*"*, 2000); > > commPort.close(); > > it works immediately after boot. But only with firmware 0500. > > With firmware 0506 it works only after disconnect / reconnect USB > > It looks like if it is the same problem that "Al Linke" described her: > https://groups.google.com/forum/#!topic/ioio-users/owX8Zqb2Nj0 > He also mentioned that it works only after the second start of the > application. > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to ioio-users@googlegroups.com. > 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 ioio-users+unsubscr...@googlegroups.com. To post to this group, send email to ioio-users@googlegroups.com. Visit this group at https://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.