8 port serial card connections

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

8 port serial card connections

Craig Skinner-3
To connect a Moxa 8 port serial card with octopus cable to an i386
serial port, do I need just a DB9 (2x female) gender changer, or a null
modem cable/mini adapter as well?

The octopus cable ends are all male, as are the serial/comm ports.

I've standard Cisco rollover cables to connect to my Sun servers RJ45
serial ports.

http://www.moxa.com/product/c168hpci.htm

$ dmesg | egrep '(Moxa|^com)'
puc0 at pci0 dev 18 function 0 "Moxa C168H" rev 0x01: ports: 8 com
com4 at puc0 port 0 irq 9: ns16550a, 16 byte fifo
com5 at puc0 port 1 irq 9: ns16550a, 16 byte fifo
com6 at puc0 port 2 irq 9: ns16550a, 16 byte fifo
com7 at puc0 port 3 irq 9: ns16550a, 16 byte fifo
com8 at puc0 port 4 irq 9: ns16550a, 16 byte fifo
com9 at puc0 port 5 irq 9: ns16550a, 16 byte fifo
com10 at puc0 port 6 irq 9: ns16550a, 16 byte fifo
com11 at puc0 port 7 irq 9: ns16550a, 16 byte fifo
com12 at puc1 port 0 irq 5: ns16550a, 16 byte fifo
com12: probed fifo depth: 0 bytes
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo

Reply | Threaded
Open this post in threaded view
|

Re: 8 port serial card connections

Christian Weisgerber
On 2014-06-14, Craig R. Skinner <[hidden email]> wrote:

> To connect a Moxa 8 port serial card with octopus cable to an i386
> serial port, do I need just a DB9 (2x female) gender changer, or a null
> modem cable/mini adapter as well?

You need a null modem cable/adapter.  A gender changer is of no
use.

--
Christian "naddy" Weisgerber                          [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: 8 port serial card connections

Craig Skinner-3
Reply | Threaded
Open this post in threaded view
|

Re: 8 port serial card connections

Maurice Janssen-2
[hidden email] schreef op 2014-06-20 16:08:
> Works for me, apart from last 2, but the card isn't listed as
> supported.
>
> /etc/remote:
<snip>
> # FIXME No. 9 Moxa card port:
> moxa09:dv=/dev/tty10:common:
>
> # FIXME No. 10 Moxa card port:
> moxa10:dv=/dev/tty11:common:

Try /dev/tty0a and /dev/tty0b

Maurice

Reply | Threaded
Open this post in threaded view
|

Re: 8 port serial card connections

Craig Skinner-3
On 2014-06-20 Fri 16:14 PM |, Maurice Janssen wrote:
> ># FIXME No. 9 Moxa card port:
> >moxa09:dv=/dev/tty10:common:
> >
> ># FIXME No. 10 Moxa card port:
> >moxa10:dv=/dev/tty11:common:
>
> Try /dev/tty0a and /dev/tty0b
>

Perfect!


Here's a man page diff to sync with lines 1383-1397 of
/usr/src/sys/dev/pci/pucdata.c


Index: share/man/man4/puc.4
===================================================================
RCS file: /cvs/src/share/man/man4/puc.4,v
retrieving revision 1.47
diff -u -p -r1.47 puc.4
--- share/man/man4/puc.4 2 Feb 2014 19:39:55 -0000 1.47
+++ share/man/man4/puc.4 20 Jun 2014 17:00:27 -0000
@@ -85,6 +85,7 @@ The driver currently supports the follow
 .It Tn "Moxa Technologies Co., Ltd. PCI I/O Card 4S (4 port serial)"
 .It Tn "Moxa Technologies Co., Ltd. C104H/PCI (4 port serial)"
 .It Tn "Moxa Technologies Co., Ltd. CP104/PCI (4 port serial)"
+.It Tn "Moxa Technologies Co., Ltd. C168H/PCI (8 port serial)"
 .It Tn "NEC PK-UG-X008 (serial)"
 .It Tn "NEC PK-UG-X001 K56flex PCI (modem)"
 .It Tn "NetMos 1P (1 port parallel)"