Subject: Re: help needed using A2232 serial
To: Doug Lee <douglee@dougleedouglee.gts.org>
From: Jukka Marin <jmarin@teeri.jmp.fi>
List: amiga
Date: 04/05/1996 09:27:41
> I have NetBSD1.1 on a 3000 with a 2232 card. I have not been able
> to figure out how to use it. The only device special file seems to be
> /dev/ttym0. How do you select the unit? Does anyone know where to find docs
> other than the source?

I assume you're running 1.1.

crw-------  1 root  wheel   31,   1 Apr  5 08:05 /dev/ttym1
crw-------  1 root  wheel   31,   3 Apr  5 08:42 /dev/ttym2
crw-------  1 root  wheel   31,   5 Apr  5 07:56 /dev/ttym3
crw-------  1 root  wheel   31,   7 Apr  5 00:36 /dev/ttym4
crw-------  1 root  wheel   31,   9 Apr  5 00:10 /dev/ttym5
crw-------  1 root  wheel   31,  11 Oct  5  1995 /dev/ttym6
crw-------  1 root  wheel   31,  13 Oct  5  1995 /dev/ttym7
crw-------  1 root  wheel   31,   0 Oct  5  1995 /dev/tty01
crw-------  1 root  wheel   31,   2 Oct  5  1995 /dev/tty02
crw-------  1 root  wheel   31,   4 Oct  5  1995 /dev/tty03
crw-------  1 root  wheel   31,   6 Jan  1 01:37 /dev/tty04
crw-------  1 root  wheel   31,   8 Jan  1 01:37 /dev/tty05
crw-------  1 root  wheel   31,  10 Oct  5  1995 /dev/tty06
crw-------  1 root  wheel   31,  12 Oct  5  1995 /dev/tty07

Use ttym* for dial-in and tty0* for dial-out.  The driver only supports
8-N-1 for now.  It can auto-detect the UART clock speed, so you can
double the clock to get 38400 bps on the A2232 ports.

I'm not sure if the latest bug fixes have been accepted now, but the
driver in standard 1.1 has some problems with carrier detect handling.
I fixed those bugs well before 1.1 was frozen, but the gurus didn't
include the new version in the tree (dunno why).

  -jm