From: Qingyue Shirley Wang <[EMAIL PROTECTED]>
   Date:   Thu, 14 Oct 1999 13:47:42 -0700

   I recently installed a Boca 8-port board with Redhat linux 2.2.5.  

   .All 8 ports were recognized at start up, and seem to be configured
   correctly, but somehow only the first port (ttyS16) works (I'm
   attaching it to a remote power control device), but all others have
   no response when I try to read/write to it.

   And here is the configuration for the multiports sharing one IRQ:

   # setserial ttyS16 get_multiport
   Multiport config for irq 4:
           Port monitor = 0x107
           Port1 = 0x107, mask=0xff, match=0x0
           Port2 = 0x10f, mask=0xff, match=0x0
           Port3 = 0x117, mask=0xff, match=0x0
           Port4 = 0x11f, mask=0xff, match=0x0

   (The Boca manual says that the port status register appears at the end of
   the eight-address block for each port)

First of all, I suspect what happens is that your multiport
configuration is wrong, so that the serial ports work if there's only
one port on that irq open, but once you have more than one port open,
they stop working.

Secondly, for a 8-port boca, you only need to sample a single port,
since the bits on one port will cover all eight ports.  So try simply
using this configuration:

           Port1 = 0x107, mask=0xff, match=0x0

(Don't set port monitor except when you're trying to figure out how the
multiport registers work, since it causes a huge amount of prink
traffic.  It's for debugging purposes only.)

The first I would try is to avoid using the multiport configuration
altogether.  On an eight port card, with fast CPU's you can get away
without needing to use the multiport registers.  So see if things work
without multiport, and only then try to configure the multiport
registers.

                                                - Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to