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 whether any data has been sent by the other device > (a terminal app on my palm pilot for debugging purposes) and write() > blocks without sending anything. If I set the device to be non-blocking > read() will return the data that was sent by the other device, but > write() will still block.
Is it blocking waiting for carrier detect to come up? Try using the cuaNN device instead. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgpAQJuTJJ8AJ.pgp
Description: PGP signature
