lkml.org 
[lkml]   [1998]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: cua* on kernel 2.1 and beyond
On Thu, 3 Dec 1998, Tymm Twillman wrote:

> ln -s /dev/ttyS0 /dev/cua0
>
> On Thu, 3 Dec 1998, Jim Woodward wrote:
>
> >
> > I think i read somewhere, that the cua* devices for serial
> > were going to be made obselite..
> >

The sim-link may not fix old software. The problem has been software
that just does an open("/dev/cua0", O_RDWR), this has to be changed
to open("/dev/xxx", O_RDWR|O_NDELAY) with a subsequent fcntl() to
reset this flag-bit. Otherwise, if carrier is not detected, the
open() will wait until it is. Since the code has to be modified,
might just as well change the device to the right one.

I recommend just `rm /dev/cua?` and see what breaks. You get to fix
things only once.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.1.128 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.052 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site