From owner-freebsd-questions Sun Aug 25 18:39:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA06454 for questions-outgoing; Sun, 25 Aug 1996 18:39:02 -0700 (PDT) Received: from sili.adn.edu.ph (root@sili.adn.edu.ph [165.220.57.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA06253 for ; Sun, 25 Aug 1996 18:37:03 -0700 (PDT) Received: from sili.adn.edu.ph (sili.adn.edu.ph [165.220.57.2]) by sili.adn.edu.ph (8.6.11/8.6.9) with SMTP id JAA03133; Mon, 26 Aug 1996 09:49:54 +1000 Date: Mon, 26 Aug 1996 09:49:54 +1000 (GMT+1000) From: "Francis Percival C. Favoreal" To: Gary Chrysler cc: freebsd-questions Subject: Re: modems connected to BOCA 8-ports not responding In-Reply-To: <3220ED87.57F7@ime.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 25 Aug 1996, Gary Chrysler wrote: > Francis Percival C. Favoreal wrote: > > > > On Sun, 25 Aug 1996, Gary Chrysler wrote: > > > > > Francis Percival C. Favoreal wrote: > > > > > > > > (Please respond to this address directly.) > > > > > > > > I have the following lines inserted in the kernel config: > > > > > > > > options "COM_MULTIPORT" > > > > ... > > > > device sio4 at isa? port 0x300 tty flags 0xb05 > > > > device sio5 at isa? port 0x308 tty flags 0xb05 > > > > device sio6 at isa? port 0x310 tty flags 0xb05 > > > > device sio7 at isa? port 0x318 tty flags 0xb05 > > > > device sio8 at isa? port 0x320 tty flags 0xb05 > > > > device sio9 at isa? port 0x328 tty flags 0xb05 > > > > device sio10 at isa? port 0x330 tty flags 0xb05 > > > > device sio11 at isa? port 0x338 tty flags 0xb05 > > > > > > > > I recompiled the kernel and rebooted. When the new kernel booted, sio4 > > > > upto sio11 were found in their respective ports. > > > > > > > > Then, I made a sequence of MAKEDEV. Now, I have devices > > > > > > > > cuaa4 upto cuaab > > > > ttyd4 upto ttydb > > > > > > > > Now, I tried to connect one modem to the BOCA board to test if the modem > > > > responds. I typed, > > > > > > > > echo at > /dev/ttyd4 > > > > > > > > > > Your method of testing will not work. > > > > > > use: cu -l cuaa? > > > Then AT (or as I prefere ATDT), AT should respond with OK, ATDT > > > should respond with phone off hook. > > > > I tried it. I typed, > > > > # cu -l cuaa4 > > Connected. > > > > After this I notice that the modem does not go off hook. And further > > more, when I tried to type AT, I don't see anything displayed on the > > screen. I know it's supposed to show 'AT' as I typed it. > > > > I thought maybe I referenced the wrong port, so I tried it all from cuaa5 > > to cuaab but I got same results. > > > > I hope this piece of info helped. > > > > Any other test you could recommend? > > > > Welp, it may or may not echo your keystrokes depending on your > modems E register. (ATE0 or 1, echo off or on) > > Although no matter what ATE is, It still should echo OK by > entering AT if it's working. > Typing ATDT should result in a dial tone if plugged into > phone line. As stated earlier, I prefer to use ATDT it can be > heard! > > What do you get when you type: > # cu -l cuaa4 > Connected. > AT > (Should result a: OK ) > ATDT > (Should result a: dialtone if pluged to a phone line) > Unless of course it's broke. :) I think it isn't broke, because when I try this to connect this modem to COM1 it responds that is if I typed, # cu -l cuaa0 Connected. AT OK I get the results above. So, really there is nothing wrong with the modem. It just won't respond when I type AT commands if it was connected to one port in the BOCA board. > > Did you make your device files after compiling/installing/re-booting > you system?? To create the devices I used, # MAKEDEV ttyd4 (upto ttydb) # MAKEDEV cuaa4 (upto cuaab) Is there something I missed ? > > -Enjoy > Gary > ~~~~~~~~~~~~~~~~ > Improve America's Knowledge... Share yours > The Borg... Where minds meet > (207) 929-3848 >