Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 1998 10:41:41 -0800 (PST)
From:      Andy McConnell <andym@ntt.net>
To:        questions@FreeBSD.ORG
Subject:   AWE PNP not recognized
Message-ID:  <Pine.BSF.3.95LJ1.1b3.981117103105.349D-100000@dukat.noc.cup.ndp.net>

next in thread | raw e-mail | index | archive | help
I've looked at the FAQs for a week now, and I am stumped.

I'm using 2.2.7-stable, recompiled yesterday with make world after a
successful cvsup update.

I've installed an AWE64 PnP card in my system, but I cannot get the kernel
to recognize it.

(as an aside, I can't get the sb16 part of the card to work, either.. not
just the AWE functions).

I've enabled "controller pnp0" in the kernel, and recompiled.  pnpinfo
returns the info for my PnP USR Sportster, but not the sound card.

When my machine boots, the PnP BIOS recognizes the card, and displays the
onboard name for it... as Card 1.  The PnP modem is Card 2.

Many of the info I've found suggests adding a static struct with the PnP
serial number, logical device number, etc to /usr/src/sys/i386/isa/pnp.c.
But there's no information on *where* to put it, except for between lines
50-103.  I think this information is too old.

I've added the awedrv 0.4.2d code to /usr/src/sys/i386/isa/sound, added 
the appropriate "device..." lines from Sujal Patel's recommendations, and
recompiled/installed the kernel.  But I think this is not the root of the
problem - I've got to get PnP working first.

Do you have any suggestions?  Is there a critical step I missed?  Is there
something I can use (besides the dreaded Windows 95 intallation!) to
configure the card/examine its settings?

Any help or even pointers to some good information would be very much
appreciated!

(dmesg and pnpinfo results below)

-Andy


# dmesg
<snip>
Probing for PnP devices:
CSN 1 Vendor ID: USR2050 [0x50207256] Serial 0x46464646
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
</snip>



# pnpinfo
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID USR2050 (0x50207256), Serial Number 0x46464646
PnP Version 1.0, Vendor Version 0
Device Description: U.S.Robotics Inc. Sportster 56000 FAX Internal 

Logical Device ID: USR2050 0x50207256 #0
TAG Start DF
Good Configuration
    FIXED I/O base address 0x2f8 length 0x8
    IRQ: 3  - only one type (true/edge)
TAG Start DF
Acceptable Configuration
    FIXED I/O base address 0x3f8 length 0x8
    IRQ: 4  - only one type (true/edge)
TAG Start DF
Acceptable Configuration
    FIXED I/O base address 0x3e8 length 0x8
    IRQ: 3 4 5 7  - only one type (true/edge)
TAG Start DF
Acceptable Configuration
    FIXED I/O base address 0x2e8 length 0x8
    IRQ: 3 4 5 7  - only one type (true/edge)
TAG End DF
End Tag

Successfully got 16 resources, 1 logical fdevs
-- card select # 0x0001

CSN USR2050 (0x50207256), Serial Number 0x46464646

Logical device #0
IO:  0x03e8 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 5 0
DMA 4 4
IO range check 0x00 activate 0x01


--
Andy McConnell      真向練 安堵龍
NTT America IP Headquarters

Never underestimate the bandwidth of a station wagon full of
tapes hurtling down the highway.
                               -- Andrew Tannenbaum


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?Pine.BSF.3.95LJ1.1b3.981117103105.349D-100000>