I have installed the RXTX Java library rxtx-2.1-7-bins-r2 in Ubuntu 14.04 32 bit machine with JDK8. I would like to communicate with Arduino Micro connected to the serial port. But I am not able to see the serial port until I create a soft link.
sudo cp RXTXcomm.jar /usr/lib/jvm/java-8-oracle/jre/lib/ext/ sudo cp Linux/i686-unknown-linux-gnu/librxtx* /usr/lib/jvm/java-8-oracle/jre/lib/i386/
Add the user in group lock or uucp using the code
sudo usermod -aG uucp user
Set the read/write the serial port permission
sudo usermod -a -G dialout marco
I connect the Arduino Micro and I have found it
But I am not able to find serial port connected to Arduino Micro. It seems that Java software insists that the serial device must be of the form /dev/USBn So I have created a soft link to see the serial port using the code
sudo ln -s /dev/ttyACM0 /dev/ttyUSB0
It works I am now able to find the serial port connected to Arduino. Unfortunately, I have to create a soft link everytime I start the machine. It doesn't seems to me a good solution to the problem. Any suggestion to solve this issue ?