Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!news.alpha.net!news.mathworks.com!udel!gatech!swrinde!pipex!peernews.demon.co.uk!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.os.386bsd.questions Subject: Re: FreeBSD serial troubles Date: 6 Feb 1995 03:43:45 -0000 Organization: None Lines: 50 Message-ID: <3h45th$9f@awfulhak.demon.co.uk> References: <3g6rve$89o@News1.mcs.com> NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] jfroths@mcs.com wrote: : I am having big troubles with serial device access. Especially : dial out. Is there anything I need to do to get my serial ports : to work properly in FreeBSD. I have tried various dev types in : ttys, and a few other things mentioned in the FAQ's. I am trying : to run USR V.34's. (if anyone has one of these and could share : switch settings and any init parameters after an AT&F1 I would : be most appreciative.) First, use ttyd? for dialin and cua0? for dialout. My USR is set as follows: B0 E1 F1 M1 Q0 V1 X4 SPEED=115200 PARITY=N WORDLEN=8 DIAL=HUNT OFF LINE &A3 &B1 &C1 &D2 &H1 &I0 &K1 &M4 &N0 &R2 &S1 &T5 &Y1 S00=000 S01=000 S02=043 S03=013 S04=010 S05=008 S06=004 S07=060 S08=004 S09=006 S10=050 S11=070 S12=050 S13=000 S14=000 S15=000 S16=000 S17=000 S18=000 S19=000 S20=000 S21=010 S22=017 S23=019 S24=000 S25=050 S26=000 S27=001 S28=100 S29=020 S30=000 S31=000 S32=000 S33=000 S34=000 S35=000 S36=000 S37=000 S38=000 S39=012 S40=000 S41=000 S42=126 S43=200 S44=015 S45=000 S46=000 S47=000 S48=000 S49=000 S50=000 S51=000 S52=000 S53=000 S54=096 S55=000 S56=000 S57=000 : Problems I have are SIO overflows, system hangs when opening : or closing the device with kermit, and just generally goofy : behavior when trying to use the modem. Dial in works fine with : tty0? or ttyd?, but cua0? generally works poorly if at all. kermit and tty0? don't work well - don't know why, but a ^c will fix it (when it seems to hang). Your port speed should be four times your line speed (mine's 115200, allowing for 28800 line speed). This should stop the overflows (unless you're thrashing you machine). cd /dev sh ./MAKEDEV cua0 spawn getty to ttyd0 and use cua00 for kermit. Good luck. -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....