Skip site navigation (1)Skip section navigation (2)
Date:      07 Apr 1998 07:51:37 -0500
From:      Dave Marquardt <marquard@zilker.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Modems.
Message-ID:  <85lnthdcbq.fsf@localhost.zilker.net>
In-Reply-To: "Viren R. Shah"'s message of "Mon, 6 Apr 1998 21:00:46 -0400 (EDT)"
References:  <3528EA7E.AADD4507@airmail.net> <199804070100.VAA05052@rstcorp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Viren R. Shah" <viren@rstcorp.com> writes:
> For PnP support, you need to have FreeBSD 2.2.6.
> 1. If you don't have 2.2.6, see if the modem came with a program to
>    hardwire its resources.
> 2. If you do have FreeBSD 2.2.6, configure a new kernel with 
>    controller    pnp0
>    boot with this kernel. You can use "pnpinfo" to find out some
>    information about the pnp devices you have. This will let you know
>    what LSN and CSN. Mine says:
> 
> bandersnatch# pnpinfo
> Checking for Plug-n-Play devices...
> 
> Card assigned CSN #1
> Vendor ID DAV0001 (0x01003610), Serial Number 0x00000295
> PnP Version 1.0, Vendor Version 16
> Device Description: DAVICOM 336PNP MODEM
> ...
> 
> etc
> 
> Now reboot, and at the boot prompt use a "-c" to configure the
> kernel. Use "help" to show you how to set the resources for the pnp
> modem. Set the irq and port to be the same as the com port (sioX) at
> which you want it.

I just went through this with a Motorola ModemSURFR(tm) 56K I got
cheap at the Dell factory outlet here in Austin.  Windows 3.11
recognized it as COM4 with IRQ 5 and port 0x2e8.  After much playing
with FreeBSD 2.2.6 and PnP, I discovered that if I set the port and
IRQ exactly the same way Windows set it, everything worked fine!  I
think the 2.2.6 PnP stuff or the card itself were originally picking
port 0x3e8 and messing up.

Another thing I did was to add the card to the siopnp_ids[] array in
/usr/src/sys/i386/isa/sio.c.  This made the system automagically
recognize the card as a modem and set it up as sio1.  If you do this
sort of trick, you MUST still configure at least one of your normal
serial ports (sounds like the original poster had another modem that
was hardwired to a specific IRQ, so that will work), otherwise config
will think you have no serial ports whatsoever, and the sio code won't
be included at all.

The FAQs and handbook are a little sparse on PnP, unfortunately.

-Dave


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85lnthdcbq.fsf>