>
> > My program is partially based on serial-programmming-howto. May still contain
> > some bugs. But it should not result in such a state of /dev/ttyS0. In my
> > opinion serial.c uses too much undocumented features of Linux scheduler.
>
> Try O_NDELAY as a flag
>
OK, the bug was in my program - I have put CLOCAL flag into c_oflag, not
c_cflag, thus effectively clearing it. But then I consider not using
"O_NDELAY" by "stty" program a bug.
After "stty -clocal < /dev/ttyS0" you can not use stty any more.
Best regards,
-- Tomek
- 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/