Subject: Re: Trouble with Socket Dual Serial Port PCMCIA Card -> com[01]
To: None <netbsd-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-users
Date: 11/11/2006 17:45:36
In article <20061112014659.9b8f2a6f.joerg.bsd@internode.net.au>,
Joerg Niendorf  <joerg.bsd@internode.net.au> wrote:
>On Sat, 11 Nov 2006 21:18:07 +1000
>Joerg Niendorf <joerg.bsd@internode.net.au> wrote:
>
>> However, at the moment there is only a com2, which doesn't make sense to
>> me, as this is a dual-port card and I would expect com0 and com1 instead:
>> 
>> com2 at pcmcom0 slave 0: ns16550a, working fifo
>
>
>Out of curiosity I just had a look at i386's GENERIC configuration
>file and the below comment caught my attention:
>
># Plug-and-Play BIOS and attached devices
>...
># com port
># If enabled, consider changing "com0", "com1", and "com2" under "ISA Serial
># Interfaces" to "com*", otherwise com2 will attach at pnpbios? and there
># will be no com0.  A side effect is pcmcia (and other) com? previously
># starting at com3 may attach as com1 or com2.
>
>
>Although this didn't seem to be _directly_ related to my problem, I
>gave it a shot anyway and outcommented the following lines in my kernel
>config file:
>
>com0    at isa? port 0x3f8 irq 4        # Standard PC serial ports
>com1    at isa? port 0x2f8 irq 3
>
>After the removal of these two lines, com2 in my dmesg output is gone
>and I now have com0 attached to pcmcom0:

Well, the number of the device is not significant. You just shifted
the single port that got detected from 2 -> 0.

>com0 at pcmcom0 slave 0: ns16550a, working fifo
>
>Unfortunately, com0 (i.e. dty00) is not functional. It behaves exactly
>as dty02 in my previous post. And com1 is missing altogether.
>
>Any ideas?

I think that the reason that the card does not work is because you
are not getting interrupts. I have some bad news. There is no driver
for this card in either Linux or FreeBSD. There must be something simple
to do to make it work, but without specs or a sample driver this is a
bit difficult.

christos