Re: Warning, cua2 opened, ...

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 16 Mar 1998 08:32:11 +0000 (GMT)


> > Thats fine. If you are using a serial port which has a remote adapter that
> > is running on a high speed RS485 network where DCD is raised and lowered
> > as packets go past
> Huh? Strange device...

Not really - thats the normal way RS485 interfaces work. Its a shared bus
protocol. Im specifically thinking of a set of 1Mbit radio modems in this
case

> fd = open( "/dev/ttyS0", O_RDWR | O_NDELAY );
> tcgetattr( fd, &termios );

Carrier dropped before the tcgetattr - IO error thank you for playing.

Im not averse to losing cua* but right now I have no other sane way to handle
devices that use carrier in this way.

Care to try again ?

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu