Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 1999 15:33:42 -0700 (MST)
From:      "Aaron Gifford" <agifford@infowest.com>
To:        questions@freebsd.org, multimedia@freebsd.org
Subject:   More AWE64 soundcard woes
Message-ID:  <199902092233.PAA19769@infowest.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'm running 3.0-STABLE cvsup'd as of Jan. 17, 1999 and I can't get my
AWE64 sound card to do anything more than play 1/2 second of audio before
freezing up (I run amp on a demo .mp3 file).

Here's the lowdown on my machine:

----------START-SYSTEM-INFO----------

% dmesg | grep [di]rq
config> pnp 1 0 enable os port0 0x220 port1 0x330 port2 0x388 irq0 9 drq0 1 drq1 5 
ncr0: <ncr 53c875 fast20 wide scsi> rev 0x26 int a irq 11 on pci0.12.0
ncr1: <ncr 53c875 fast20 wide scsi> rev 0x37 int a irq 11 on pci0.13.0
ncr2: <ncr 53c875 fast20 wide scsi> rev 0x37 int b irq 10 on pci0.13.1
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x05 int a irq 5 on pci0.15.0
atkbd0 irq 1 on isa
psm0 irq 12 on isa
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio1 at 0x2f8-0x2ff irq 3 on isa
lpt0 at 0x378-0x37f irq 7 on isa
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
sb0 at 0x220 irq 9 drq 1 on isa
sbxvi0 at drq 5 on isa




% cat /dev/sndstat
VoxWare Sound Driver:3.5-alpha15-970902 (Wed Aug  6 22:58:35 PDT 1997 Amancio Hasty@rah.star-gate.com)
Config options: 

Installed drivers: 
Type 1: OPL-2/OPL-3 FM
Type 2: SoundBlaster
Type 6: SoundBlaster16
Type 25: AWE32 Synth
Type 7: SB16 MIDI


Card config: 
SoundBlaster at 0x220 irq 9 drq 1
SoundBlaster16 at 0xffffffff irq 1 drq 5
SB16 MIDI at 0x330 irq 1
OPL-2/OPL-3 FM at 0x388 irq 1
AWE32 Synth at 0x620 irq 1

Audio devices:
0: SoundBlaster 16 4.16

Synth devices:
0: Yamaha OPL-3
1: AWE32-0.4.2c (RAM512k)

Midi devices:
0: SoundBlaster 16 Midi

Timers:
0: System clock

Mixers:
0: SoundBlaster
1: AWE32 Equalizer
% pnpinfo
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID CTL00e4 (0xe4008c0e), Serial Number 0x01f87d71
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 # 0x0001

CSN CTL00e4 (0xe4008c0e), Serial Number 0x01f87d71

Logical device #0
IO:  0x0220 0x0330 0x0388 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 9 0
DMA 1 5
IO range check 0x00 activate 0x01

Logical device #1
IO:  0x0220 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x01

Logical device #2
IO:  0x0620 0x0a20 0x0e20 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 4 4
IO range check 0x00 activate 0x01



% tail -7 /usr/src/sys/i386/conf/LOCAL
controller  pnp0
controller  snd0
device sb0      at isa? port 0x220 irq 9 drq 1 vector sbintr
device sbxvi0   at isa? drq 5
device sbmidi0  at isa? port 0x330
device opl0     at isa? port 0x388
device awe0     at isa? port 0x620



% cat /kernel.config
pnp 1 0 enable os port0 0x220 port1 0x330 port2 0x388 irq0 9 drq0 1 drq1 5 
pnp 1 1 enable os port0 0x220
pnp 1 2 enable os port0 0x620 port1 0xa20 port2 0xe20
quit



% dmesg | egrep -i '(snd|sb|opl|conf)'
config> pnp 1 0 enable os port0 0x220 port1 0x330 port2 0x388 irq0 9 drq0 1 drq1 5
config> pnp 1 1 enable os port0 0x220
config> pnp 1 2 enable os port0 0x620 port1 0xa20 port2 0xe20
config> quit
Preloaded userconfig_script "/kernel.config" at 0xf02ee09c.
sb0 at 0x220 irq 9 drq 1 on isa
snd0: <SoundBlaster 16 4.16>
sbxvi0 at drq 5 on isa
snd0: <SoundBlaster 16 4.16>
sbmidi0 at 0x330 on isa
snd0: <SoundBlaster MPU-401>
opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM>
awe0 at 0x620 on isa
awe0: <SoundBlaster EMU8000 MIDI (RAM512k)>

----------END-OF-SYSTEM-INFO----------

I first switched the IRQ on the card from the default IRQ 5 to IRQ 10
because it conflicted with my ethernet card (Thanks Victor Carranza for
the tip that solved the ethernet/soundcard conflict!).  It then worked
exactly as it does now, only playing 1/2 second of audio then dead silence.
I noticed that one of my SCSI controllers was using IRQ 10 as well, so
I switched the sound card to IRQ 9.  Still nothing.

Thanks in advance for all tips/ideas/etc!

Aaron out.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902092233.PAA19769>