Hello Joe, On Tue, 2007-10-23 at 10:28 -0500, Joe Greco wrote:
[...] > If you want to ignore flow control, here's what you can do if your "cu" > is retarded and you've got a fully-wired (or badly-wired, in your case) > cable: > > 1) Run "cu" with all normal options > > 2) Suspend "cu" and escape to command shell (or use cu's internal shell > command, or open a second terminal window, or do anything else that > gets you a prompt) > > 3) Type "stty -a < /dev/ttyS0" > > 3a) Notice that "cu" has probably twiddled your settings so that "clocal" > is disabled; "clocal" would cause your tty driver to disregard DCD, > which is how "cu" detects hangup This should go onto the Wiki. Here's what Linux' cu does: [EMAIL PROTECTED]:~$ stty -F /dev/ttyS0 -a speed 19200 baud; rows 0; columns 0; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 1; -parenb -parodd cs8 hupcl -cstopb cread [-clocal] [crtscts] -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr [-icrnl] ixon -ixoff -iuclc -ixany -imaxbel -iutf8 [-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 The settings between brackets (mine) are the ones affected by cu(1). > 4) Type "stty clocal -crtscts < /dev/ttyS0" to ensure 3-wire compatible > settings > > 5) Return to "cu" and try it now. It works! I also found a few possible causes for "worked before" and "sometimes works", but I think I'll just leave those for what they are. The issue has been clarified enough as far as I'm concerned. Thanks, Bill > ... JG -- "Ask not what it's for, ask what you can do with it." _______________________________________________ Soekris-tech mailing list [email protected] http://lists.soekris.com/mailman/listinfo/soekris-tech
