internal modem / pnp0 / FAQ error ?

pan pan at
Tue Apr 26 07:17:00 PDT 2005


4.5.2. Why is FreeBSD not finding my internal Plug & Play modem?

You will need to add the modem's PnP ID to the PnP ID list in the serial
driver. To enable Plug & Play support, compile a new kernel with controller
pnp0 in the configuration file, then reboot the system. The kernel will
print the PnP IDs of all the devices it finds. Copy the PnP ID from the
modem to the table in /sys/i386/isa/sio.c, at about line 2777. Look for the
string SUP1310 in the structure siopnp_ids[] to find the table. Build the
kernel again, install, reboot, and your modem should be found.

You may have to manually configure the PnP devices using the pnp command in
the boot-time configuration with a command like

pnp 1 0 enable os irq0 3 drq0 0 port0 0x2f8
to make the modem show.

Compiling with the suggested line "controller pnp0" gets:
"obsolete keyword 'controller' found - use 'device'


Compiling with "device pnp0" gets:
"Warning: device "pnp" is unknown
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src

Trying the pnp enable line at boot doesn't change a thing

So - is the FAQ entry an error?

uname -a
FreeBSD 4.11-STABLE FreeBSD 4.11-STABLE #3: Sun Apr 24
18:04:54 PDT 2005   [snip]  i386

I have a pci winmodem (yes I know - plan on using ltmdm) inserted into an
open pci slot.
dmesg shows

pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 ATA controller> port 0xf000-0xf00f at device 7.1 on
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x11c1, dev=0x0440) at 9.0 irq 11
pci0: <S3 ViRGE graphics accelerator> at 10.0 irq 10
dc0: <82c169 PNIC 10/100BaseTX> port 0x6300-0x63ff mem 0xe4001000-0xe40010ff
irq 9 at device 11.0 on pci0

Anyone know how I can really get the card recognized and maybe go on to
install and get
working ppp with this modem ?



More information about the freebsd-stable mailing list