Serial port

Glenn Holmer gholmer at ameritech.net
Thu Jul 2 17:23:59 UTC 2009


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






More information about the ubuntu-users mailing list