Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 1996 09:49:54 +1000 (GMT+1000)
From:      "Francis Percival C. Favoreal" <june@adn.edu.ph>
To:        Gary Chrysler <tcg@ime.net>
Cc:        freebsd-questions <questions@freebsd.ORG>
Subject:   Re: modems connected to BOCA 8-ports not responding
Message-ID:  <Pine.LNX.3.91.960826094454.3056A-100000@sili.adn.edu.ph>
In-Reply-To: <3220ED87.57F7@ime.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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 <enter>
> 	(Should result a: OK )
> 	ATDT <enter>
> 	(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 <enter>
	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
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.91.960826094454.3056A-100000>