Need help in using NetMos 9835 based card with 2serial 1parallel ports.

Rajarajan Rajamani rajarajan at comcast.net
Thu Dec 30 07:42:50 PST 2004


Hi All,
I am trying to get a NetMos 9835 multiport card having 2 serial and 1 parallel
port working with my box which is running FreeBSD 5.3-RELEASE.  I tried
looking for info in previous posts but havent made any headway. 

I have enabled sio2 and sio3 in /boot/device.hints but get the following in
dmesg.

-- For serial ports on motherboard
    sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
    sio0: type 16550A, console
    sio1 at port 0x2f8-0x2ff irq 3 on isa0
    sio1: type 16550A
-- For serial ports on NetMos 9835 card.
    sio2: configured irq 5 not in bitmap of probed irqs 0
    sio2: port may not be enabled
    sio3: configured irq 9 not in bitmap of probed irqs 0
    sio3: port may not be enabled
    unknown: <PNP0501> can't assign resources (port)
    unknown: <PNP0501> can't assign resources (port)
    unknown: <PNP0400> can't assign resources (port)
    unknown: <PNP0700> can't assign resources (port)
    unknown: <PNP0303> can't assign resources (port)

The section in my device.hints is -
    hint.sio.2.at="isa"
    #hint.sio.2.disabled="1"
    hint.sio.2.port="0x3E8"
    hint.sio.2.irq="5"
    hint.sio.3.at="isa"
    #hint.sio.3.disabled="1"
    hint.sio.3.port="0x2E8"
    hint.sio.3.irq="9"

Furthermore on digging the manpages (for puc) I found that this card is in the
supported list of HW cards and has the following entry in
/sys/dev/puc/pucdata.c

	/* NetMos 2S1P PCI 16C650 : 2S, 1P */
	{   "NetMos NM9835 Dual UART and 1284 Printer port",
	    {	0x9710,	0x9835,	0,	0	},
	    {	0xffff,	0xffff,	0,	0	},
	    {
		{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
		{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
		{ PUC_PORT_TYPE_LPT, 0x18, 0x00, 0x00 },
	    },
	},

Could someone help me out on this on what is to be done to get it to work ?

Thanks,

Rajarajan.


More information about the freebsd-questions mailing list