Strike161 / java-simple-serial-connector

Automatically exported from code.google.com/p/java-simple-serial-connector
0 stars 0 forks source link

Can't select port parameters #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Issue closed: https://github.com/scream3r/java-simple-serial-connector/issues/24

Original comment by scream3r.org@gmail.com on 6 Aug 2013 at 4:28