8-Port Serial Port Card

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

8-Port Serial Port Card

jordon-7
I recently picked up a few PCI serial port cards from the junk pile at
work.  My intent is to put one in my soon-to-be-retired Soekris net5501
and install OpenBSD on it to turn it into an 8 port terminal switch.

I tried the cards in a different PC just to see if they would work.
Unfortunately, none of them were supported.  Here is the info:

***

I had a pair of RocketPort uPCI Octa cards with a P/N of 5002265 They
each had the following dmesg:

unknown vendor 0x11fe product 0x0805 (class communications subclass
  miscellaneous, rev 0x01) at pci4 dev 9 function 0 not configured

***

I also had a Perle Systems card with a product number of 04003090

The dmesg from it was:

unknown vendor 0x155f product 0xb008 (class communications subclass
serial, rev 0x00)
 at pci4 dev 9 function 0 not configured
unknown vendor 0x155f product 0xb008 (class bridge subclass
miscellaneous, rev 0x00)
 at pci4 dev 9 function 1 not configured

***

I am more interested in getting the Perle card working because I already
have an 8-port cable for it (I only have a 4-port cable for the
RocketPort cards.)  It looks like FreeBSD supports the Perle card (though I
haven't tried it.
https://svnweb.freebsd.org/base/head/sys/dev/puc/pucdata.c?view=annotate#l820

My question is what would it take to get this driver ported to OpenBSD?
Are they very different?  Or is it pretty straightforward?  Or is the
support already there but it needs the PCI IDs added to a list?  Or is
this ancient stuff with not enough demand to make it worthwhile?  If
someone is really interested in a Rocketport card, I could probably send
one to them.  As for the Perle card, I am downloading the current source
now and I intend to poke around a bit, but I really don't know what I am
doing.  My driver dev experience is limited to a very little bit of
linux coding I did at work.


Jordon

Reply | Threaded
Open this post in threaded view
|

Re: 8-Port Serial Port Card

Craig Skinner-3
On 2015-12-07 Mon 21:30 PM |, Jordon wrote:
> I recently picked up a few PCI serial port cards from the junk pile at
> work.  My intent is to put one in my soon-to-be-retired Soekris net5501
> and install OpenBSD on it to turn it into an 8 port terminal switch.
>
> I tried the cards in a different PC just to see if they would work.
> Unfortunately, none of them were supported.
>

If you want to get going quickly Jordan, Moxa PCI cards work:

$ fgrep puc0 /var/run/dmesg.boot
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

I found 3 on ebay.co.uk & grabbed them - all with octopus cable.

--
I once met a lassie named Ruth,
In a long distance telephone booth.
Now I know the perfection,
Of an ideal connection,
Even if somewhat uncouth.

Reply | Threaded
Open this post in threaded view
|

Re: 8-Port Serial Port Card

Maurice Janssen-2
On Sat, Dec 12, 2015 at 09:54:39AM +0000, Craig Skinner wrote:

>On 2015-12-07 Mon 21:30 PM |, Jordon wrote:
>> I recently picked up a few PCI serial port cards from the junk pile at
>> work.  My intent is to put one in my soon-to-be-retired Soekris net5501
>> and install OpenBSD on it to turn it into an 8 port terminal switch.
>>
>> I tried the cards in a different PC just to see if they would work.
>> Unfortunately, none of them were supported.
>>
>
>If you want to get going quickly Jordan, Moxa PCI cards work:
>
>$ fgrep puc0 /var/run/dmesg.boot
>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
>
>I found 3 on ebay.co.uk & grabbed them - all with octopus cable.

Beware, Soekris boards have a 3.3 V PCI slot while the Moxa C168H
is a 5 V PCI card.

--
Maurice

Reply | Threaded
Open this post in threaded view
|

Re: 8-Port Serial Port Card

jordon-7
> On Dec 12, 2015, at 2:49 PM, Maurice Janssen <[hidden email]
<mailto:[hidden email]>> wrote:

>
> On Sat, Dec 12, 2015 at 09:54:39AM +0000, Craig Skinner wrote:
>> On 2015-12-07 Mon 21:30 PM |, Jordon wrote:
>>> I recently picked up a few PCI serial port cards from the junk pile at
>>> work.  My intent is to put one in my soon-to-be-retired Soekris net5501
>>> and install OpenBSD on it to turn it into an 8 port terminal switch.
>>>
>>> I tried the cards in a different PC just to see if they would work.
>>> Unfortunately, none of them were supported.
>>>
>>
>> If you want to get going quickly Jordan, Moxa PCI cards work:
>>
>> $ fgrep puc0 /var/run/dmesg.boot
>> 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
>>
>> I found 3 on ebay.co.uk <http://ebay.co.uk/> & grabbed them - all with
octopus cable.
>
> Beware, Soekris boards have a 3.3 V PCI slot while the Moxa C168H
> is a 5 V PCI card.
>
> --
> Maurice

Thanks for the feedback.  Both the RocketPort and Perle cards I have feature
both notches in the connector, so I think they should work in the Soekris
board.  I would like to take a crack at porting the FreeBSD driver, though I
really don’t know what I am doing!  I pulled in CURRENT today and tried to
build it but immediately got a bunch of "ioconf.c:863: warning: initialization
from incompatible pointer type” build errors.  I may try to update again
tomorrow and see if it is any better.

Jordon