Subject: | dump2300 returns "serial device is locked by another program" |
Date: | Fri, 1 Nov 2013 16:21:58 -0700 |
To: | <bug-Device-LaCrosse-WS23xx [...] rt.cpan.org> |
From: | "Sidney Tupper" <sid [...] sidtupper.ca> |
Hi,
I'm debugging a perl script (attached) that logs ws2308 data through
/dev/ttyS1.
OS Debian Squeeze
hw MX945GSE (Atom N270)
dump2300 works fine from the command line. It was working in the script
too, called as
system("/usr/local/bin/dump2300", "/home/sid/Documents/sump2300.txt", "6c6",
"13d6");
Then the script began reporting:
Serial device is locked by another program
: Resource temporarily unavailable
The error does not happen when I remove the dump2300 command from the
script.
I can't find a lock file. Rebooting the computer doesn't help. Rebooting
the ws2308 station doesn't help.
I'm not sure how to proceed and would appreciate suggestions.
Thanks
Sid
Message body is not shown because sender requested not to inline it.