|Re: RXTX uucp_lock() /var/lock/LK.051.019.002 [message #1437376 is a reply to message #1436719]
||Sat, 04 October 2014 09:06
| Tauno Voipio
Registered: August 2014
I suppose that you're running some flavor of Linux.|
The lock files are used by UNIXish operating systems to
prevent concurrent accesses to a device file from unrelated
processes. The process creating the file should delete it
when its access is over.
1. Look at the details of the lock file:
ls -l /var/lock/LK.051.019.002
who owns it and when is it created. If you are sure that
there is no program running which could legitimately
use the port, just delete the lock file and try again. To be
sure, close Eclipse for the time of these operations.
2. Check that you have read and write access to the serial
port device file (/dev/ttySnn, /dev/ttyUSB0, ... ). The file names
and access requirements vary among different Linux
distributions, and the needed corrective actions vary in
the same way.
In Ubuntu (and supposedly other Debians), the user has to
be a member of dialout group for straight serial ports and
a member of plugdev group for USB ports.
Powered by FUDForum
. Page generated in 0.03333 seconds