Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 1999 12:46:50 -0700
From:      Scott Blachowicz <Scott.Blachowicz@seaslug.org>
To:        freebsd-questions@freebsd.org
Cc:        Scott.Blachowicz@seaslug.org
Subject:   Trying to setup 16650 UART serial card in FreeBSD 3.3
Message-ID:  <19991015124650.A82753@sabami.seaslug.org>

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

I just upgraded a system to FreeBSD 3.3 (from 2.2.5) and I thought I'd
make another stab at getting a 2-port ByteRunner TC-200 serial card going
(connected to an ISDN modem - a USR I-Modem). I regenerated a kernel with:

___device               sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4
___device               sio1    at isa? port "IO_COM2" tty irq 3
___device               sio2    at isa? port "IO_COM3" flags 0x20000 tty irq 5

and the card is jumpered so that one of the serial ports is "COM3" at
IRQ 5.  I can talk to the modem using ppp's "term" command, so I know
it's hooked up.  I'm trying to configure it to take incoming calls and
have told getty to set the speed to 230400, but it gets errors like
this:

   Oct 15 12:32:36 ns1 getty[479]: tcsetattr /dev/ttyd2: Invalid argument

and mgetty gets similar results.  My /var/log/messages file shows
this:

   Oct 15 12:25:27 ns1 /kernel: sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
   Oct 15 12:25:27 ns1 /kernel: sio0: type 16550A
   Oct 15 12:25:27 ns1 /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
   Oct 15 12:25:27 ns1 /kernel: sio1: type 16550A
   Oct 15 12:25:27 ns1 /kernel: sio2 at 0x3e8-0x3ef irq 5 on isa
   Oct 15 12:25:27 ns1 /kernel: sio2: type 16550A

Shouldn't it tell me 'flags 0x20000' and/or '16650' there?  Any suggestions on
setting this up (other than set the speed to 115200 instead of 230400)?  I can
set it to 115200 to continue with the setup, but it would be real nice to get
it set to 230K or higher longer term...

Thanx,

Scott


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991015124650.A82753>