Re: ucom and sio

2005-01-10 Thread John-Mark Gurney
Brandon Fosdick wrote this message on Sat, Jan 08, 2005 at 16:58 -0800: > Daniel O'Connor wrote: > >Is it blocking waiting for carrier detect to come up? > >Try using the cuaNN device instead. > > The software in question worked fine using a cuaNN device until said > device died. > > Somebody el

Re: ucom and sio

2005-01-08 Thread Brandon Fosdick
Daniel O'Connor wrote: ie setting CLOCAL. That fixed it, thanks. Is it worthwhile to change the ucom man page to not imply that it only works for tty? That led me astray. I think I would have eventually found CLOCAL if I hadn't stopped looking. Or am I the only one that finds it misleading?

Re: ucom and sio

2005-01-08 Thread Daniel O'Connor
On Sun, 9 Jan 2005 11:28, Brandon Fosdick wrote: > Daniel O'Connor wrote: > > Is it blocking waiting for carrier detect to come up? > > Try using the cuaNN device instead. > > The software in question worked fine using a cuaNN device until said > device died. > > Somebody else mentioned that I coul

Re: ucom and sio

2005-01-08 Thread Brandon Fosdick
Daniel O'Connor wrote: Is it blocking waiting for carrier detect to come up? Try using the cuaNN device instead. The software in question worked fine using a cuaNN device until said device died. Somebody else mentioned that I could set the device to ignore the carrier detect signal. How do I do

Re: ucom and sio

2005-01-08 Thread Daniel O'Connor
On Sun, 9 Jan 2005 06:08, Brandon Fosdick wrote: > If I use tip it works fine. But if I try to write a C program that opens > the device it hangs on open, unless I set it to non-blocking. Then open > returns and I set it back to blocking then try a read or a write. read() > blocks regardless of whe

Re: ucom and sio

2005-01-08 Thread Brandon Fosdick
M. Warner Losh wrote: In message: <[EMAIL PROTECTED]> "Brandon Fosdick" <[EMAIL PROTECTED]> writes: : Judging from the man page, ucom is limited to acting like a tty with no : support for sio. Is this true? Is there some magic config bit somewhere : that will enable hidden sio support?

Re: ucom and sio

2005-01-02 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> "Brandon Fosdick" <[EMAIL PROTECTED]> writes: : Judging from the man page, ucom is limited to acting like a tty with no : support for sio. Is this true? Is there some magic config bit somewhere : that will enable hidden sio support? Ummm, I don't know wh

ucom and sio

2004-12-29 Thread Brandon Fosdick
Judging from the man page, ucom is limited to acting like a tty with no support for sio. Is this true? Is there some magic config bit somewhere that will enable hidden sio support? I have some old software that talks to some old hardware over rs232 (using cuaa) and the builtin 232 port just died.