Subject: Re: Accessing my modem at com2
To: ALBURQUERQUE JOSE A <albu3619@css1s0.engr.ccny.cuny.edu>
From: John F. Woods <jfw@jfwhome.funhouse.com>
List: port-i386
Date: 08/28/1997 19:59:29
> 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
> 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?
That looks right. If you can disable the built-in COM2 and get the modem
to configure as COM2, that might be worth a shot.
The problem might also be the state of the clocal flag for the port;
if you test the port with cu, make sure you have cu properly configured
to regard tty01 as a hardwired port that needs modem control ignored.
Throw something like this in /etc/uucp/port:
port tty1-dir
type direct
carrier false
device /dev/tty01
speed 38400
#speed-range 300 38400
(There may be other configuration work needed; it has been a long time
since I last fiddled with my uucp configuration.)