javax.comm for /dev/ttyS* IO errors
hi
i install jdk1.6.0_18 and javax.comm 3 for linux in my asusEEE. i can compile all java source, i can detect serial ports, but when i try open serial port (ttyS0 or ttyS1), i have this error: Exception in thread "main" java.lang.RuntimeException: Error opening "/dev/ttyS1" tcgetattr(): Input/output error at com.sun.comm.LinuxDriver.getCommPort(LinuxDriver.j ava:66) at javax.comm.CommPortIdentifier.open(CommPortIdentif ier.java:369) ... i create source in c to open serial port, but when i try launch my compiled file, i have this same error (about IO error) i logged as root i think it's linux ports permission problem or... maybe sameone has this problem and can help my p.s. sorry, my english is bad |
All times are GMT -5. The time now is 03:42 PM. |