Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: Serial port

Glenn Holmer

2009-07-02

Replies: Find Java Web Hosting

Author LoginPost Reply
On Thu, 2009-07-02 at 01:19 -0400, Justin Hart wrote:
> I have the following scenario:
>
> 1) Program opens serial port
> 2) Program crashes
> 3) Now the serial port is hung and can't be re-opened
>
> Is there a way to close the serial port so that it can be used again
> without rebooting the machine?

Don't you have to remove the lock file? e.g.

rm -f /var/spool/locks/LCK..ttyS1

--
"After the vintage season came the aftermath - and Cenbe."
Glenn Holmer (Q-Link: ShadowM) http://www.lyonlabs.org



--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.