Pages: [1]   Go Down
Author Topic: RxTx 2.1 and Linux doesn't work with Linux  (Read 638 times)
0 Members and 1 Guest are viewing this topic.
Rochester, NY
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Found numerous posts of a partial solution on that say add:

     System.setProperty("gnu.io.rxtx.SerialPorts", "/dev/ttyACM0");

Played around with it and discovered that to detect all devices, you actually need something like the following:

     //without this, it only sees the ttyUSB#, with only /dev/ttyACM#, it only sees the ttyACM#, have to list all candidates or it doesn't find them
     System.setProperty("gnu.io.rxtx.SerialPorts", "/dev/ttyACM0:/dev/ttyACM1:/dev/ttyACM2:/dev/ttyUSB0:/dev/ttyUSB1:/dev/ttyUSB2");
Logged

Pages: [1]   Go Up
Jump to: