Subject: Re: Accessing my modem at com2
To: John F. Woods <jfw@jfwhome.funhouse.com>
From: ALBURQUERQUE JOSE A <albu3619@css1s0.engr.ccny.cuny.edu>
List: port-i386
Date: 08/28/1997 19:23:07
On Thu, 28 Aug 1997, John F. Woods wrote:

> > On Thu, Aug 28, 1997 at 12:54:57PM -0400, ALBURQUERQUE JOSE A wrote: 
> > > Hi.  I have a SupraExpress 336i PnP Voice modem attached to my com2 port
> > > which I'm trying to access under NetBSD1.2.  I've recently installed
> > > XFree86 and it has no problems accessing the mouse (which is connected to
> > > com0) using /dev/tty00.  I thought that by using /dev/tty02 I could access
> > > my modem, but I can't even get a simple chat script to dial out for pppd
> > > using /dev/tty02.
> 
> DOS numbers the "COM" ports from 1, so if you mean that you have your mouse on
> COM1 and the modem on COM2, then the tty number is 01, not 02 (as someone else
> pointed out).  If you really mean that your mouse is on COM1 and your modem is
> on COM3 (as I'd suspect), then tty02 is correct; first make sure /dev/tty02
> is actually a tty file with minor number 2 (compare it to tty00 using ls -l).
> If that's correct, then a possibility is that the modem insists on being
> configured for the same IRQ as COM1 or COM2 (i.e. some PnP modems only have
> two IRQs); the resulting IRQ sharing will result in it just not working on
> NetBSD (I had a modem like that on an NT machine a while back, and had really
> bizarre problems trying to use a serial mouse and the modem at the same time
> until I figured this out).
> 
> 

As you said John, my mouse is on COM1 and my modem is on COM3 under DOS. 
Under NetBSD's 1.2 generic kernel they are autoprobed as com0 and com2
respectively.  I did an `ls -l' as you suggested and here's what I get: 

crw-------  1 uucp  wheel    8,   0 Aug 28 14:18 /dev/tty00
crw-------  1 uucp  wheel    8,   1 Aug 26 18:54 /dev/tty01
crw-------  1 root  wheel    8,   2 Aug 26 18:56 /dev/tty02
-rw-r--r--  1 root  wheel        12 Aug 27 16:48 /dev/tty03

It seems the minor is right for /dev/tty02 and it is a modem configuration
problem.  I wonder, would trying to switch the modem to another port help? 
Anyway, thanks a lot for the responses.



  * * * *     +<><><><><><><><><><><><><><><><><><><><><><><><><><><><><>+
 *        *   |                   Jose A. Alburquerque                   |
*  O    O  *  |                joselito@becky.smartec.com                |
*    ()    *  |             albu3619@cslab.engr.ccny.cuny.edu            |
*  \----/  *  |                                                          |
 *        *   |         "In God we trust" - From face of US penny        |
  * * * *     +<><><><><><><><><><><><><><><><><><><><><><><><><><><><><>+