I tried this library with a simple example, but I couldn't make it work.
Initially the exceptions raised were related to permissions (both in my app and
in terminal applet). But then I added my user to the dialout group, and those
exceptions disappeared. Great. (I think this should be in the docs, btw).
But then the code raised an exception stating that it "Can't set port
parameters". Using the applet terminal
(https://code.google.com/p/java-simple-serial-connector/wiki/jSSC_Terminal)
leads to the same result. So I think the problem is not within my code.
I'm using jSSC-2.6.0 and running ElementaryOS (essentially the same as Ubuntu
12.04) 64-bit.
The serial port in question is a virtual serial port. I'm using a barcode
scanner.
When I do a cat /dev/ttyUSB0, works perfectly. The barcodes appear on the
terminal.
Even minicom works fine.
Any idea on what might be causing this?
Original issue reported on code.google.com by jmandra...@gmail.com on 31 Jul 2013 at 3:41
Original issue reported on code.google.com by
jmandra...@gmail.com
on 31 Jul 2013 at 3:41