Date: Wed, 11 Nov 1998 20:15:25 -0800 (PST) From: Joshua Kneubuhl <joshk@CSUA.Berkeley.EDU> To: freebsd-questions@FreeBSD.ORG Subject: wacky modem echo! Message-ID: <Pine.BSF.3.96.981111193847.25106A-100000@soda.CSUA.Berkeley.EDU>
next in thread | raw e-mail | index | archive | help
I'm having some strange problems getting a modem to work with FreeBSD. I originally started by attempting to get ppp up and running- after a vanilla 2.2.7 install. The modem is a PNP USR 56k modem, which was set to use com3 by Windows 98. ppp has no trouble recognizing the presence of the modem on cuaa2, but has a VERY strange behavior when talking to the device. (I can duplicate all these problems with minicom- I don't think ppp is the culprit, and everything works perfectly under windows98.) I tried building a new kernel with controller pnp0 in the configuration file, but the new kernel could not find any pnp devices. The computer seems to be recognizing the modem- when running ppp, I can do a set device /dev/cuaa2 and talk to the modem, but the modem does not send any characters to the console unless prompted by the next character in the input from the console. In addition, typing basic commands to the modem don't ever return any text responses. ('OK', 'NO DIALTONE', 'BUSY', etc...) For instance, I can type to the modem: "at" and it displays a until I type a "^M" and the cursor returns to the start of the line and displays at In addition, I can type "atdt1234567" and the display is always 1 character behind what I just typed. I type: display: a t a d at t atd 1 atdt 2 atdt1 3 atdt12 4 atdt123 5 atdt1234 6 atdt12345 7 atdt123456 ^M atdt1234567 and the modem correctly dials. NOW, the really funny behavior comes in. I dial up to my isp, and the modem appears to sit there idle- until I start typing spaces to the console. It appears that each space typed to the terminal echoes ~16 characters. I can hit spaces until I get to the login prompt (which has already gotten n spaces past login:), get past the authentication, switch back to packet mode (in ppp) and then sadly watch the modem disconnect... All of this while entering commands w/o spaces - just assuming that the modem is correctly sending characters to the other end of hte connection. I tried fiddling with E/F commands to teh modem to no avail... It appears to be a problem with the modem echoing incorrectly, but I have the feeling that the kernel is having some problems correctly interfacing with the vacuous (non pnp configuration of a pnp card) communication to the device. I took the liberty of printing out all the ati commands (NOTE: I held the space bar down for a good 1/2 hour to see all the characters of this output from the modem...) Any help would be greatly appreciated- I'm stuck. Thanks, Josh ati0 5601 ati1 5E4D ati2 OK ati3 U.S. Robotics 56K FAX INT V10.0.4 ati4 U.S. Robotics 56K FAX INT Settings... B0 E1 F1 L1 M1 Q0 V1 X0 Y0 BAUD=19200 PARITY=N WORDLEN=8 DIAL=TONE ON HOOK CID=0 &A3 &B1 &C1 &D2 &G0 &H1 &I0 &K1 &M4 &N0 &P0 &R2 &S0 &T5 &U0 &Y1 S00=000 S01=000 S02=043 S03=013 S04=010 S05=008 S06=002 S07=045 S08=002 S09=006 S10=014 S11=070 S12=050 S13=000 S15=000 S16=000 S18=000 S19=000 S21=010 S22=017 S23=019 S25=005 S27=000 S28=008 S29=020 S30=000 S31=128 S32=002 S33=000 S34=000 S35=000 S36=014 S38=000 S39=000 S40=001 S41=008 S42=000 LAST DIALED #: T ati5 U.S. Robotics 56K FAX INT NVRAM Settings... Template Y0 DIAL=TONE B0 E1 F1 L2 M1 Q0 V1 X4 BAUD=115200 PARITY=N WORDLEN=8 &A3 &B1 &C1 &D2 &G0 &H1 &I0 &K1 &M4 &N0 &P0 &R2 &S0 &T5 &U0 &Y1 S00=000 S02=043 S03=013 S04=010 S05=008 S06=002 S07=060 S08=002 S09=006 S10=014 S11=070 S12=050 S13=000 S15=000 S19=000 S21=010 S22=017 S23=019 S25=005 S27=000 S28=008 S29=020 S30=000 S31=128 S32=002 S33=000 S34=000 S35=000 S36=014 S38=000 S39=000 S40=001 S41=008 S42=000 Strike a key when ready . . . Template Y1 DIAL=TONE B0 E1 F1 L2 M1 Q0 V1 X4 BAUD=115200 PARITY=N WORDLEN=8 &A3 &B1 &C1 &D2 &G0 &H2 &I2 &K1 &M4 &N0 &P0 &R1 &S0 &T5 &U0 &Y1 S00=000 S02=043 S03=013 S04=010 S05=008 S06=002 S07=060 S08=002 S09=006 S10=014 S11=070 S12=050 S13=000 S15=000 S19=000 S21=010 S22=017 S23=019 S25=005 S27=000 S28=008 S29=020 S30=000 S31=128 S32=002 S33=000 S34=000 S35=000 S36=014 S38=000 S39=000 S40=001 S41=008 S42=000 STORED PHONE #0: #1: #2: #3: ati6 U.S. Robotics 56K FAX INT Link Diagnostics... Chars sent 0 Chars Received 0 Chars lost 0 Octets sent 0 Octets Received 0 Blocks sent 0 Blocks Received 0 Blocks resent 0 Retrains Requested 0 Retrains Granted 0 Line Reversals 0 Blers 0 Link Timeouts 0 Link Naks 0 Data Compression NONE Equalization Long Fallback Enabled Last Call 00:00:00 ati7 Configuration Profile... Product type US/Canada Internal Product ID: 00568702 Options V32bis,V.80,V.34+,x2,V.90 Fax Options Class 1/Class 2.0 Line Options Caller ID, Distinctive Ring Clock Freq 92.0Mhz EPROM 256k RAM 32k FLASH date 6/26/98 FLASH rev 10.0.4 DSP date 6/26/98 DSP rev 10.0.4 ati9 (1.0USR3031\\Modem\PNPC10F\U.S. Robotics 56K FAX INT)FF To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981111193847.25106A-100000>