Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PC104 4 port serial board

6 views
Skip to first unread message

Zaphod

unread,
Jul 24, 2001, 5:29:09 PM7/24/01
to

Hi there,

I am using a Diamond System Emerald MM 4 port serial port with a Tri-M PC104
MachZ board. I cannot get Linux to recognize all of the ports. I have used
the test program under DOS and verified that all 4 ports are working. Is
there some special driver needed for the board under Linux? I can get port
0 or 1 to work (But not both at the same time), 2 and 3 do not work at all.
I have deleted and remade the ttyS* nodes, and I have set the irq / port
combos using setserial from rc.serial at boot time. I am using the
following config:

Port Addr IRQ
0 100 5
1 108 5
2 110 5
3 118 5

I have the R jumper set on the first port only, and all the others set to
IRQ 5 only.

I am currently using the following to configure the boards in rc.serial

/bin/setserial /dev/ttyS2 port 0x100 irq 5 uart 16550
/bin/setserial /dev/ttyS3 port 0x108 irq 5 uart 16550
/bin/setserial /dev/ttyS4 port 0x110 irq 5 uart 16550
/bin/setserial /dev/ttyS5 port 0x118 irq 5 uart 16550

I can use ttyS2 or ttyS3 but not both.
I have tried using the fourport option for setserial but it did not make any
difference. I have also tried various other IRQ's (including 3 and 4 with
the onboard ports disabled). I think I am just doing something wrong under
Linux.

The MachZ is running the BIOS version 1.04 (I could not get the Emerald MM
to work in DOS prior to upgrading the BIOS). And I am using Linux 2.2.19.

Thanks for your help in this matter.

Jason Short

Maurice Janssen

unread,
Jul 25, 2001, 3:20:19 AM7/25/01
to

I have been using a 4 port serial card from Byterunner. I don't know if
they are the same, but the setting you use look familiar.
I use the following in my rc.serial, maybe it helps:
/bin/setserial /dev/ttyS16 ^fourport uart 16550A port 0x180 irq 10
/bin/setserial /dev/ttyS17 ^fourport uart 16550A port 0x188 irq 10
/bin/setserial /dev/ttyS18 ^fourport uart 16550A port 0x190 irq 10
/bin/setserial /dev/ttyS19 ^fourport uart 16550A port 0x198 irq 10
/bin/setserial /dev/ttyS16 set_multiport port1 0x1c0 mask1 0xf match1 0xf

IIRC it wouldn't work at ttyS2 and onwards, only S16-S19 works. Don't
ask me why.

HTH, Maurice
--
Maurice Janssen .~. The best way to accelerate
/ v \ a computer running Windows
maur...@cistron.nl /( _ )\ is at 9.8 m/s^2
^ ^

Zaphod

unread,
Jul 30, 2001, 12:49:29 PM7/30/01
to
Thanks for your reply. I have been sick and have not been able to test this
until today.

It still does not work for me. If I create the ttyS16+ devices when I run
setserial it says that there is no such device. I am thinking that I need a
module to load for those devices? Or I created the nodes wrong. I used:
mknod -m 666 /dev/ttyS16 c 4 80
mknod -m 666 /dev/ttyS17 c 4 81

etc...

I think you are right that I cannot get ttyS2 to work with the board...
Wierd. ttyS3 works fine.

Thanks for your help. Any other suggestions would be appreciated.

Jason Short


"Maurice Janssen" <th...@is.invalid> wrote in message
news:9jlrvj$tit$1...@linux.z74.net...

Maurice Janssen

unread,
Jul 30, 2001, 4:04:42 PM7/30/01
to
On Mon, 30 Jul 2001 16:49:29 GMT, Zaphod wrote:
>Thanks for your reply. I have been sick and have not been able to test this
>until today.
>
>It still does not work for me. If I create the ttyS16+ devices when I run
>setserial it says that there is no such device. I am thinking that I need a
>module to load for those devices? Or I created the nodes wrong. I used:
>mknod -m 666 /dev/ttyS16 c 4 80
>mknod -m 666 /dev/ttyS17 c 4 81

/usr/src/linux/Documentation/Configure.help (for 2.2.19) says:

Support more than 4 serial ports
CONFIG_SERIAL_MANY_PORTS
Say Y here if you have dumb serial boards other than the four
standard COM 1/2/3/4 ports. This may happen if you have an AST
FourPort, Accent Async, Boca (read the Boca mini-HOWTO, available
via FTP (user: anonymous) from
ftp://metalab.unc.edu/pub/Linux/docs/HOWTO/mini), or other custom
serial port hardware which acts similar to standard serial port
hardware. If you only use the standard COM 1/2/3/4 ports, you can
say N here to save some memory. You can also say Y if you have an
"intelligent" multiport card such as Cyclades, Digiboards, etc.

Support for sharing serial interrupts
CONFIG_SERIAL_SHARE_IRQ
Some serial boards have hardware support which allows multiple dumb
serial ports on the same board to share a single IRQ. To enable
support for this in the serial driver, say Y here.


So I guess you have to recompile your kernel.

0 new messages