Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2000 15:02:27 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        dave <dmehler22@earthlink.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: configuring a pnp modem under fbsd 4?
Message-ID:  <20000712150227.C237@parish>
In-Reply-To: <000401bfec53$a8d909a0$0200a8c0@hellraiser>; from dmehler22@earthlink.net on Wed, Jul 12, 2000 at 06:51:02PM -0400
References:  <002b01bfeb9f$42742aa0$0200a8c0@hellraiser> <20000711165530.B237@parish> <000601bfec1c$1ffbd360$20fafea9@hellraiser> <20000711171419.D237@parish> <000401bfec53$a8d909a0$0200a8c0@hellraiser>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 12, 2000 at 06:51:02PM -0400, dave wrote:
> Hello,
>     Don't know if this message went through, apologies if this is a
> duplicate. Below is the output of pnpinfo, the kernel still shows the modem
> as an unknown device. The modem's identifier from pnpinfo matches an
> identifier in sio.c however. What next?

It looks like your modem is not being initialized by your BIOS. Do you
have a ``pnp....'' line in /boot/kernel.conf (or similar filename)?

If not, try setting your BIOS to initialize the modem, or do a ``boot
-c'' and at the ``config>'' prompt type ``ls'' and see if your modem
appears. Then try something like

    config> pnp 2 1 os enable irq0 5 port0 0x3e8
    config> quit

It should, hopefully, be found as sio2.

> Thanks.
> Dave.
> Checking for Plug-n-Play devices...
> 
> Card assigned CSN #1
> Vendor ID CTL002b (0x2b008c0e), Serial Number 0x1008505d
> PnP Version 1.0, Vendor Version 32
> Device Description: Creative SB16 PnP
> 
> Logical Device ID: CTL0031 0x31008c0e #0
> Device Description: Audio
> TAG Start DF
> Good Configuration
>     IRQ: 5  - only one type (true/edge)
>     DMA: channel(s) 1
>  8-bit, not a bus master, count by byte, , Compatibility mode
>     DMA: channel(s) 5
>  16-bit, not a bus master, , count by word, Compatibility mode
>     I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10
>  [16-bit addr]
>     I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2
>  [16-bit addr]
>     I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
>  [16-bit addr]
> TAG Start DF
> Acceptable Configuration
>     IRQ: 5 7 10  - only one type (true/edge)
>     DMA: channel(s) 0 1 3
>  8-bit, not a bus master, count by byte, , Compatibility mode
>     DMA: channel(s) 5 6 7
>  16-bit, not a bus master, , count by word, Compatibility mode
>     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
>  [16-bit addr]
>     I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
>  [16-bit addr]
>     I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
>  [16-bit addr]
> TAG Start DF
> Acceptable Configuration
>     IRQ: 5 7 10  - only one type (true/edge)
>     DMA: channel(s) 0 1 3
>  8-bit, not a bus master, count by byte, , Compatibility mode
>     DMA: channel(s) 5 6 7
>  16-bit, not a bus master, , count by word, Compatibility mode
>     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
>  [16-bit addr]
>     I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
>  [16-bit addr]
> TAG Start DF
> Sub-optimal Configuration
>     IRQ: 5 7 10  - only one type (true/edge)
>     DMA: channel(s) 0 1 3
>  8-bit, not a bus master, count by byte, , Compatibility mode
>     DMA: channel(s) 5 6 7
>  16-bit, not a bus master, , count by word, Compatibility mode
>     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
>  [16-bit addr]
> TAG Start DF
> Sub-optimal Configuration
>     IRQ: 5 7 10  - only one type (true/edge)
>     DMA: channel(s) 0 1 3
>  8-bit, not a bus master, count by byte, , Compatibility mode
>     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
>  [16-bit addr]
>     I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
>  [16-bit addr]
>     I/O Range 0x388 .. 0x388, alignment 0x1, len 0x4
>  [16-bit addr]
> TAG Start DF
> Sub-optimal Configuration
>     IRQ: 5 7 10  - only one type (true/edge)
>     DMA: channel(s) 0 1 3
>  8-bit, not a bus master, count by byte, , Compatibility mode
>     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
>  [16-bit addr]
>     I/O Range 0x300 .. 0x330, alignment 0x30, len 0x2
>  [16-bit addr]
> TAG Start DF
> Sub-optimal Configuration
>     IRQ: 5 7 10 11  - only one type (true/edge)
>     DMA: channel(s) 0 1 3
>  8-bit, not a bus master, count by byte, , Compatibility mode
>     I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
>  [16-bit addr]
> TAG End DF
> 
> Logical Device ID: CTL2011 0x11208c0e #1
> Compatible Device ID: PNP0600 (0006d041)
> Device Description: IDE
> TAG Start DF
> Good Configuration
>     IRQ: 10  - only one type (true/edge)
>     I/O Range 0x168 .. 0x168, alignment 0x1, len 0x8
>  [16-bit addr]
>     I/O Range 0x36e .. 0x36e, alignment 0x1, len 0x2
>  [16-bit addr]
> TAG Start DF
> Acceptable Configuration
>     IRQ: 11  - only one type (true/edge)
>     I/O Range 0x1e8 .. 0x1e8, alignment 0x1, len 0x8
>  [16-bit addr]
>     I/O Range 0x3ee .. 0x3ee, alignment 0x1, len 0x2
>  [16-bit addr]
> TAG Start DF
> Acceptable Configuration
>     IRQ: 10 11 15  - only one type (true/edge)
>     I/O Range 0x180 .. 0x1b8, alignment 0x8, len 0x8
>  [16-bit addr]
>     I/O Range 0x306 .. 0x33e, alignment 0x8, len 0x2
>  [16-bit addr]
> TAG Start DF
> Sub-optimal Configuration
>     IRQ: 15  - only one type (true/edge)
>     I/O Range 0x170 .. 0x170, alignment 0x1, len 0x8
>  [16-bit addr]
>     I/O Range 0x376 .. 0x376, alignment 0x1, len 0x1
>  [16-bit addr]
> TAG End DF
> 
> Logical Device ID: CTL0051 0x51008c0e #2
> Device Description: StereoEnhance
>     I/O Range 0x100 .. 0x138, alignment 0x8, len 0x1
>  [16-bit addr]
> 
> Logical Device ID: CTL7001 0x01708c0e #3
> Device Description: Game
>     I/O Range 0x200 .. 0x200, alignment 0x1, len 0x8
>  [16-bit addr]
> End Tag
> 
> Successfully got 71 resources, 4 logical fdevs
> -- card select # 0x0001
> 
> CSN CTL002b (0x2b008c0e), Serial Number 0x1008505d
> 
> Logical device #0
> IO:  0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220
> IRQ 5 0
> DMA 1 5
> IO range check 0x00 activate 0x01
> 
> Logical device #1
> IO:  0x03ee 0x03ee 0x03ee 0x03ee 0x03ee 0x03ee 0x03ee 0x03ee
> IRQ 11 0
> DMA 4 4
> IO range check 0x00 activate 0x01
> 
> Logical device #2
> IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
> IRQ 0 0
> DMA 4 4
> IO range check 0x00 activate 0x01
> 
> Logical device #3
> IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
> IRQ 0 0
> DMA 4 4
> IO range check 0x00 activate 0x01
> 
> Card assigned CSN #2
> Vendor ID USR3030 (0x30307256), Serial Number 0xaebc8fb4
> PnP Version 1.0, Vendor Version 0
> Device Description: U.S. Robotics 56K FAX INT
> 
> Logical Device ID: USR3030 0x30307256 #0
> TAG Start DF
> Good Configuration
>     I/O Range 0x2f8 .. 0x2f8, alignment 0x8, len 0x8
>  [16-bit addr]
>     IRQ: 3 5 7  - only one type (true/edge)
> TAG Start DF
> Acceptable Configuration
>     I/O Range 0x3f8 .. 0x3f8, alignment 0x8, len 0x8
>  [16-bit addr]
>     IRQ: 2 3 4 5 7  - only one type (true/edge)
> TAG Start DF
> Acceptable Configuration
>     I/O Range 0x3e8 .. 0x3e8, alignment 0x8, len 0x8
>  [16-bit addr]
>     IRQ: 2 3 4 5 7  - only one type (true/edge)
> TAG Start DF
> Acceptable Configuration
>     I/O Range 0x2e8 .. 0x2e8, alignment 0x8, len 0x8
>  [16-bit addr]
>     IRQ: 2 3 4 5 7  - only one type (true/edge)
> TAG Start DF
> Acceptable Configuration
> TAG End DF
> End Tag
> 
> Successfully got 17 resources, 1 logical fdevs
> -- card select # 0x0002
> 
> CSN USR3030 (0x30307256), Serial Number 0xaebc8fb4
> 
> Logical device #0
> IO:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
> IRQ 0 0
> DMA 4 4
> IO range check 0x00 activate 0x01
> 
> ----- Original Message -----
> From: "Mark Ovens" <mark@dogma.freebsd-uk.eu.org>
> To: "dave" <dmehler22@earthlink.net>
> Sent: Tuesday, July 11, 2000 12:14 PM
> Subject: Re: configuring a pnp modem under fbsd 4?
> 
> 
> > On Wed, Jul 12, 2000 at 12:13:24PM -0400, dave wrote:
> > > Hello,
> > >     Thank you for your reply. pnpinfo does indeed find the modem, it's
> 0x30
> > > million something or other. But it does find it. Additionally, the
> string
> > > 0x30 whatever is already in sio.c, someone else must have this modem for
> it
> > > was not listed in the sio.c of 3.x. On bootup the modem is identified as
> an
> > > unknown device, but it is identified. Do you need to see files? Any
> other
> >
> > If it's identified as "unknown" then the kernel doesn't know *what* it
> > is :)
> >
> > Post the output of pnpinfo.
> >
> > > ideas?
> > > Thanks.
> > > Dave.
> > >
> > > ----- Original Message -----
> > > From: "Mark Ovens" <mark@dogma.freebsd-uk.eu.org>
> > > To: "dave" <dmehler22@earthlink.net>
> > > Cc: <freebsd-questions@freebsd.org>
> > > Sent: Tuesday, July 11, 2000 11:55 AM
> > > Subject: Re: configuring a pnp modem under fbsd 4?
> > >
> > >
> > > > On Tue, Jul 11, 2000 at 09:19:41PM -0400, dave wrote:
> > > > > Hello,
> > > > >     Has the pnp code changed from v 3.4 to v4.0 of fbsd? I had my
> > > > > modem working under fbsd 3.4, but since upgrading it no longer is.
> > > > > I've dropped in my 3.4 kernel.conf file, which I saved, to no avail.
> > > > > If anyone can help or has succeeded in getting a pnp modem working
> > > > > under fbsd 4, please let me know. Thanks.
> > > >
> > > > What is the output of pnpinfo(1)? I had the same problem. It was
> > > > explained to me that 4.x was much more "PnP oriented" than 3.x and
> > > > that the reason my modem worked under 3.x but not 4.x was because the
> > > > sio probe found it. Under 4.x it needs to be found by the PnP probe.
> > > >
> > > > The upshot of this is that you will probably have to add a line to
> > > > sio.c and re-build your kernel. The output from pnpinfo provides the
> > > > required data. This is how I did it with mine:
> > > >
> > > > # pnpinfo
> > > > Checking for Plug-n-Play devices...
> > > >
> > > > Card assigned CSN #1
> > > > Vendor ID PMC2430 (0x3024a341), Serial Number 0xffffffff
> > > > PnP Version 1.0, Vendor Version 0
> > > > Device Description: Pace 56 Voice Internal Plug & Play Modem
> > > >
> > > > [snip]
> > > >
> > > > >From the above in info you construct the line:
> > > >
> > > >   {0x3024a341, NULL},     /* PMC2430 - Pace 56 Voice Internal Modem */
> > > >
> > > > and add it to the isa_pnp_id sio_ids[] struct in
> > > > /usr/src/sys/isa/sio.c (around line 550). Note that the list is sorted
> > > > by the Vendor ID (PMC2430 in my case). Don't forget to back up sio.c!
> > > >
> > > > Now re-build your kernel and reboot.
> > > >
> > > > If it works OK submit a PR using send-pr(1) including a diff and it
> > > > will be added to the source.
> > > >
> > > > HTH
> > > >
> > > > > Dave.
> > > > >
> > > >
> > > > --
> > > >   If I buy a copy of WinDelete, and it doesn't delete Windows,
> > > >   am I entitled to my money back?
> > > > ________________________________________________________________
> > > >       FreeBSD - The Power To Serve http://www.freebsd.org
> > > >       My Webpage http://ukug.uk.freebsd.org/~mark/
> > > > mailto:marko@freebsd.org             http://www.radan.com
> > > >
> > > >
> > >
> >
> > --
> >   If I buy a copy of WinDelete, and it doesn't delete Windows,
> >   am I entitled to my money back?
> > ________________________________________________________________
> >       FreeBSD - The Power To Serve http://www.freebsd.org
> >       My Webpage http://ukug.uk.freebsd.org/~mark/
> > mailto:marko@freebsd.org             http://www.radan.com
> >
> >
> 

-- 
  If I buy a copy of WinDelete, and it doesn't delete Windows,
  am I entitled to my money back?
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:marko@freebsd.org             http://www.radan.com



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?20000712150227.C237>