|
Re: RXTX uucp_lock() /var/lock/LK.051.019.002 [message #1437117 is a reply to message #1436719] |
Fri, 03 October 2014 23:09 |
|
On 10/03/2014 05:10 AM, Emmelie Cedergren wrote:
> gnu.io.PortInUseException: Unknown Application
Really?
I just Googled "gnu.io.PortInUseException: Unknown Application" and got
lots of results. The very first one is from stackoverflow.com and looks
like a really good place to start.
Anyway, this is nothing at all to do with Eclipse, so you could have
waited a very long time without an answer here. Please read the sticky
posts at forum's top.
Cheers
|
|
|
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 Messages: 742 Registered: August 2014 |
Senior Member |
|
|
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.
--
Tauno Voipio
|
|
|
Powered by
FUDForum. Page generated in 0.08649 seconds