From owner-freebsd-questions Fri Jun 2 7:30:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from teapot28.domain6.bigpond.com (teapot28.domain6.bigpond.com [139.134.5.197]) by hub.freebsd.org (Postfix) with SMTP id C754A37B828 for ; Fri, 2 Jun 2000 07:30:48 -0700 (PDT) (envelope-from portner@bigpond.com) Received: from localhost (localhost [127.0.0.1]) by teapot28.domain6.bigpond.com (NTMail 3.02.13) with ESMTP id ha386029 for ; Sat, 3 Jun 2000 00:26:03 +1000 Received: from DKBH-T-003-p-126-125.tmns.net.au ([139.134.126.125]) by mail6.bigpond.com (Claudes-Little-MailRouter V2.7e 11/1270596); 03 Jun 2000 00:25:56 From: "Peter Ortner" To: Cc: Subject: RE: FreeBSD 4.0 & PCI PNP 56K INTERNAL MODEMS Date: Sat, 3 Jun 2000 00:25:09 +1000 Message-ID: <000a01bfcc9e$5b0ad980$0b00a8c0@port.slow> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 In-Reply-To: <230500144.29246@207.206.68.136> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of > lures@mozcom.com > Sent: Wednesday, 24 May 2000 1:07 AM > To: freebsd-questions@FreeBSD.ORG > Subject: FreeBSD 4.0 & PCI PNP 56K INTERNAL MODEMS > > > > I am using FreeBDS 4.0 GENERIC kernel with two Aopen 56k > PCI PnP modems that do not have jumpers to set com or irq. > Want to use one for dial out connection to my ISP > (com1 cuaa1) and the other to accept dial in calls > (com2 tty1). Want this FreeBDS server to function like an > ISP server using modems instead of NIC over T1. To get nearly any PNP modem working you will need to recompile your kernel. > After the BIOS Post completes the > PC Bios PCI Device Listing for the two modems shows > > Bus No Device No Func No Vendor Id Device ID IRQ > 0 18 0 127A 1005 12 > 0 19 0 127A 1005 5 > > During the startup of FreeBSD the Probe issues the > following Messages > > pci0 (vendor=0x127a, dev=0x1005) at 18.0 irq 12 > pci0 (vendor=0x127a, dev=0x1005) at 19.0 irq 5 > > I also get this same Info when I issue command pciconf -l > > My questions are > 1 What is FreeBSD trying to tell me with these msgs? > 2 What is the PnP ID for each modem? > 3 What do I have to do to activate modems, assign them > device names, and setup modem to dial my ISP at bootup > using Kernel PPP and setup the second modem to answer > dial in calls using Kernel PPP? Read the LINT file, or check the handbook for kernel recompilation. You will need to use mgetty, no doubt. > Blind alleys I have gone down. > > I have read a lot of mailing-list messages dealing with PnP > modems being WINmodems and that they just don't work with > any release of FreeBSD. This sure was true with 3.4 and > older FreeBSD versions but Version 4.0 says this has been > fixed. Version 4.0 was just released in March 2000 and the > documentation has not been updated to give info on how to > get it to work in FBSD4. There's a very good chance that it is a Winmodem; it would be interesting to hear how you go. > One of the mailing-list messages says to add the modem's > PnP ID to the serial driver table in /sys/i386/isa/sio.c to > activate the modem. Well version 4.0 does not have a file > sio.c in that directory path. This must be out of date > info. It lives in /usr/src/isa/sio.c Look for a struct, which has pnp in it's name. Insert the pnp id into there. I have nfi how you get the card ID though: pnpinfo is for ISA devices. > I also tried manual boot-time configuration using > pnp 18 0 enable bios But pnp command is nolonger valid > at boot -c in FBSD 4.0. Indeed. Its a bit of a pain that the pnp man page doesn't say that in 4.0 this doesn't exist. Oh well... > Thanks in advance for any help you can give me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message