Re: ttyS1 hangs, cua1 works fine

mlord (mlord@pobox.com)
Sat, 28 Mar 1998 17:55:31 -0500


mlord wrote:
>
> > mlord wrote:
> > > /dev/ttyS1 works *once* after each boot,
> > > but when I then kill pppd, it never works again.
> > > /dev/cua1 doesn't care -- always works fine.
> ...
...
> After stopping pppd, I can no longer examine the ttyS1 settings.

UPDATE: I hacked the source code for stty
to open /dev/ttyS1 with O_NONBLOCK, which works,
and now see the following after pppd stops:

speed 115200 baud; rows 92; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase =
^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal crtscts
ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
-ixoff
-iuclc -ixany -imaxbel
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0
bs0 vt0
ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop
-echoprt -echoctl -echoke

Does this mean anything to anybody?

-- 
mlord@pobox.com
The Linux IDE guy

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