Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2000 16:34:29 -0400
From:      "Andresen,Jason R." <jandrese@mitre.org>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Problems getting new SB AWE/64 working under old sound drivers
Message-ID:  <396E27D4.FD240C0B@mitre.org>

next in thread | raw e-mail | index | archive | help
Hello,
	Is there some magic trick that will allow FreeBSD 4.0 to see a
Soundblaster AWE/64 ISA PnP?  This soundcard mostly works under the new
drivers, except vat refuses to talk to the card.  These cards used to
work under 2.x with the old sound drivers, but I can't get them to come
up with 4.0.

I'm attaching the kernel config, dmesg output, and pnpinfo.

Some notes:  The old 2.x configs used the pnp device that doesn't exist
anymore in LINT.

No matter where you stick that memory address for awe0, the card will
move the address out of the way.  For instance, if I move it to 0x621
(where it is now), on reboot it will jump to 0x640.

It would be even better if someone knew how to get AWE/64s working with
vat under the new sound drivers, but I'm not holding my breath for that
one.

kernel:
# Dang.  Luigi's sound drivers work great for everything but vat. 
Apparently
# vat tries to sync its output off of the soundcard, which is a horrible
hack
# and causes problems.  I'm going to have to use the Voxware drivers
instead.
device  snd
device  sb0     at isa? port 0x220 irq 5 drq 1
device  sbxvi0  at isa? drq 5
device  sbmidi0 at isa? port 0x330
device  awe0    at isa? port 0x620      # Only one AWE/64 cards


dmesg output:

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights
reserved.
FreeBSD 4.0-RELEASE #7: Thu Jul 13 15:02:12 EDT 2000
   
root@traveler.nomadic.ie.org:/usr/src/sys-altq/compile/ALTQ-MITRE-OLDSOUND
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (166.19-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 28721152 (28048K bytes)
Preloaded elf kernel "kernel" at 0xc03d4000.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
altq: major number is 96
npx0: <math processor> on motherboard
npx0: INT 16 interface
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 0xffa0-0xffaf at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <S3 ViRGE graphics accelerator> at 13.0
xl0: <3Com 3c900-COMBO Etherlink XL> port 0xfe80-0xfebf irq 11 at device
14.0 on
 pci0
xl0: Ethernet address: 00:a0:24:d5:78:25
xl0: selecting 10baseT transceiver, half duplex
xl0: supplying EUI64: 00:a0:24:ff:fe:d5:78:25
xl1: <3Com 3c905-TX Fast Etherlink XL> port 0xff00-0xff3f irq 11 at
device 15.0
on pci0
xl1: Ethernet address: 00:60:97:78:bb:e9
miibus0: <MII bus> on xl1
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0: unexpected tag 14
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
pcic0: <Vadem 469> at port 0x3e2 iomem 0xd0000 irq 10 on isa0
pcic0: management irq 10
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
sb_reset_dsp failed
sb_reset_dsp failed
awe0 at port 0x620 on isa0
AWE32: not detected
awe0: driver is using old-style compatability shims
unknown0: <WaveTable> at port 0x621-0x624 on isa0
unknown1: <Audio> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq
1,5 on i
sa0
unknown2: <Game> at port 0x200-0x207 on isa0
unknown3: <WaveTable> at port 0x640-0x643 on isa0
pccard: card inserted, slot 0
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 3098MB <IBM-DAQA-33240> [6296/16/63] at ata0-master using WDMA2
acd0: CDROM <FX120T> at ata1-master using PIO3
Mounting root from ufs:/dev/ad0s1a
xl0: starting DAD for fe80:0001::02a0:24ff:fed5:7825
xl1: starting DAD for fe80:0002::0260:97ff:fe78:bbe9
xl1: DAD complete for fe80:0002::0260:97ff:fe78:bbe9 - no duplicates
found
xl0: DAD complete for fe80:0001::02a0:24ff:fed5:7825 - no duplicates
found
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 3 slot 0 on pccard0
wi0: Ethernet address: 00:60:1d:f2:27:02
wi0: starting DAD for fe80:0007::0260:1dff:fef2:2702
wi0: DAD complete for fe80:0007::0260:1dff:fef2:2702 - no duplicates
found

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

Card assigned CSN #1
Vendor ID CTL00a3 (0xa3008c0e), Serial Number 0x0001fb4f
PnP Version 1.0, Vendor Version 16
Device Description: Creative EMU8000 PnP

Logical Device ID: CTL0021 0x21008c0e #0
Device Description: WaveTable
TAG Start DF
Good Configuration
    I/O Range 0x620 .. 0x620, alignment 0x1, len 0x4
        [16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x620 .. 0x680, alignment 0x20, len 0x4
        [16-bit addr]
TAG End DF
End Tag

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

CSN CTL00a3 (0xa3008c0e), Serial Number 0x0001fb4f

Logical device #0
IO:  0x0620 0x0620 0x0620 0x0620 0x0620 0x0620 0x0620 0x0620
IRQ 0 0
DMA 4 0
IO range check 0x00 activate 0x01

Card assigned CSN #2
Vendor ID CTL00c3 (0xc3008c0e), Serial Number 0x1f8345a5
PnP Version 1.0, Vendor Version 16
Device Description: Creative SB AWE64 PnP
*** Small Vendor Tag Detected

Logical Device ID: CTL0045 0x45008c0e #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 9 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 9 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
Acceptable Configuration
    IRQ: 5 7 9 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
Acceptable Configuration
    IRQ: 5 7 9 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
Acceptable Configuration
    IRQ: 5 7 9 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
Acceptable Configuration
    IRQ: 5 7 9 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]
TAG Start DF
Sub-optimal Configuration
    IRQ: 5 7 9 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 0x10, len 0x2
        [16-bit addr]
    I/O Range 0x388 .. 0x394, alignment 0x4, len 0x4
        [16-bit addr]
TAG End DF

Logical Device ID: CTL7002 0x02708c0e #1
Compatible Device ID: PNPb02f (2fb0d041)
Device Description: Game
TAG Start DF
Good Configuration
    I/O Range 0x200 .. 0x200, alignment 0x1, len 0x8
        [16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x200 .. 0x208, alignment 0x8, len 0x8
        [16-bit addr]
TAG End DF

Logical Device ID: CTL0022 0x22008c0e #2
Device Description: WaveTable
TAG Start DF
Good Configuration
    I/O Range 0x620 .. 0x620, alignment 0x1, len 0x4
        [16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x620 .. 0x680, alignment 0x20, len 0x4
        [16-bit addr]
TAG End DF
*** Small Vendor Tag Detected
End Tag

Successfully got 69 resources, 3 logical fdevs
-- card select # 0x0002

CSN CTL00c3 (0xc3008c0e), Serial Number 0x1f8345a5

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:  0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 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


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?396E27D4.FD240C0B>