Nevermind 'stty -F /dev/ttyS1 -clocal' fixed the problem. Although I'm not sure
why the device was setup with clocal, which disables modem control signals...
On Sat, 29 Jul 2000, Edward Muller wrote:
> This probably isn't a kernel issue...but...
>
> I've written a small program that opens a /dev/ttySX device, in blocking mode
> (ie. O_RDONLY flag only), when the open call returns, it closes the device and
> runs another program. This way I know something was connected to the port and
> assuming the deivce is not removed the program called will work.
>
> But...I rebooted my machine today (running 2.2.14 from redhat) and the program
> no longer works...
>
> I've searched high and low and can't find an explanation...
>
> Can any of you guys point me in the right direction?
>
> Thanks,
>
>
-- ...EAM... edwardam@home.com emuller@painewebber.com- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:30 EST