I'm trying to use ALSA (beta 0.9 beta 10-6 Debian package) on Linux
2.4.18 with an AWE64 Gold without success.  It compiled just fine with
the sbawe driver, and as far as I can tell I have it setup correctly. 
Alsaconf put the following in my modules.conf:

options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29 
snd_device_uid=0
options snd-card-sbawe snd_index=0 snd_id=CARD_0 snd_port=0x220 snd_mpu_port=0x300 
snd_awe_port=0x620 snd_irq=7 snd_dma8=1 snd_dma16=5 snd_mic_agc=1

And my card was recognized fine by the kernel:

isapnp: Scanning for PnP cards...
isapnp: Calling quirk for 01:00
isapnp: SB audio device quirk - increasing port range
isapnp: Calling quirk for 01:02
isapnp: AWE32 quirk - adding two ports
isapnp: Card 'Creative SB AWE64 Gold'
isapnp: 1 Plug & Play card detected total

I can also load the OSS/Free modules just fine:

Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: Creative SB AWE64 Gold detected
sb: ISAPnP reports 'Creative SB AWE64 Gold' at i/o 0x220, irq 7, dma 1, 5
SB 4.16 detected OK (220)
<Sound Blaster 16 (4.16)> at 0x220 irq 7 dma 1,5
<Sound Blaster 16> at 0x300 irq 7 dma 0,0
sb: 1 Soundblaster PnP card(s) found.
ISAPnP reports AWE64 Gold WaveTable at i/o 0x620
<SoundBlaster EMU8000 (RAM0k)>

(Why it's detecting 0k RAM instead of 4096k I have no idea--it could
very well be the source of the problem.  This is a recent problem, I
used to be able to play through the WaveTable just fine.)

When I try "modprobe -v snd-sbawe" I get the following in my dmesg:

sbawe: fatal error - EMU-8000 synthesizer not detected at 0x620
Sound Blaster 16 soundcard not found or device busy
In case, if you have non-AWE card, try snd-card-sb16 module

And this is on stdout:

/sbin/insmod /lib/modules/2.4.18/alsa/snd.o snd_major=116 snd_cards_limit=1 
snd_device_mode=0660 snd_device_gid=29 snd_device_uid=0
Using /lib/modules/2.4.18/alsa/snd.o
Symbol version prefix ''
/sbin/insmod /lib/modules/2.4.18/alsa/snd-seq-device.o
Using /lib/modules/2.4.18/alsa/snd-seq-device.o
/sbin/insmod /lib/modules/2.4.18/alsa/snd-rawmidi.o
Using /lib/modules/2.4.18/alsa/snd-rawmidi.o
/sbin/insmod /lib/modules/2.4.18/alsa/snd-mpu401-uart.o
Using /lib/modules/2.4.18/alsa/snd-mpu401-uart.o
/sbin/insmod /lib/modules/2.4.18/alsa/snd-hwdep.o
Using /lib/modules/2.4.18/alsa/snd-hwdep.o
/sbin/insmod /lib/modules/2.4.18/alsa/snd-sb-common.o
Using /lib/modules/2.4.18/alsa/snd-sb-common.o
/sbin/insmod /lib/modules/2.4.18/alsa/snd-sb16-csp.o
Using /lib/modules/2.4.18/alsa/snd-sb16-csp.o
/sbin/insmod /lib/modules/2.4.18/alsa/snd-timer.o
Using /lib/modules/2.4.18/alsa/snd-timer.o
/sbin/insmod /lib/modules/2.4.18/alsa/snd-opl3-lib.o
Using /lib/modules/2.4.18/alsa/snd-opl3-lib.o
/sbin/insmod /lib/modules/2.4.18/alsa/snd-pcm.o
Using /lib/modules/2.4.18/alsa/snd-pcm.o
/sbin/insmod /lib/modules/2.4.18/alsa/snd-sb16-dsp.o
Using /lib/modules/2.4.18/alsa/snd-sb16-dsp.o
/sbin/insmod /lib/modules/2.4.18/alsa/snd-sbawe.o
Using /lib/modules/2.4.18/alsa/snd-sbawe.o
/lib/modules/2.4.18/alsa/snd-sbawe.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO 
or IRQ parameters
/lib/modules/2.4.18/alsa/snd-sbawe.o: insmod /lib/modules/2.4.18/alsa/snd-sbawe.o 
failed
# delete snd-sb16-dsp
# delete snd-pcm
# delete snd-opl3-lib
# delete snd-timer
# delete snd-sb16-csp
# delete snd-sb-common
# delete snd-hwdep
# delete snd-mpu401-uart
# delete snd-rawmidi
# delete snd-seq-device
# delete snd
/lib/modules/2.4.18/alsa/snd-sbawe.o: insmod snd-sbawe failed

Here's my /proc/isapnp if it's helpful:

Card 1 'CTL009e:Creative SB AWE64 Gold' PnP version 1.0 Product version 2.0
  Logical device 0 'CTL0044:Audio'
    Device is not active
    Active port 0x220,0x330,0x388
    Active IRQ 7 [0x2]
    Active DMA 1,5
    Resources 0
      Priority preferred
      Port 0x220-0x220, align 0x0, size 0x10, 16-bit address decoding
      Port 0x330-0x330, align 0x0, size 0x2, 16-bit address decoding
      Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
      IRQ 5 High-Edge
      DMA 1 8-bit byte-count compatible
      DMA 5 16-bit word-count compatible
      Alternate resources 0:1
        Priority acceptable
        Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
        Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
        Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
        IRQ 5,7,2/9,10 High-Edge
        DMA 0,1,3 8-bit byte-count compatible
        DMA 5,6,7 16-bit word-count compatible
      Alternate resources 0:2
        Priority acceptable
        Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
        Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
        IRQ 5,7,2/9,10 High-Edge
        DMA 0,1,3 8-bit byte-count compatible
        DMA 5,6,7 16-bit word-count compatible
      Alternate resources 0:3
        Priority acceptable
        Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
        IRQ 5,7,2/9,10 High-Edge
        DMA 0,1,3 8-bit byte-count compatible
        DMA 5,6,7 16-bit word-count compatible
      Alternate resources 0:4
        Priority acceptable
        Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
        Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
        Port 0x388-0x3f8, align 0x0, size 0x4, 16-bit address decoding
        IRQ 5,7,2/9,10 High-Edge
        DMA 0,1,3 8-bit byte-count compatible
      Alternate resources 0:5
        Priority acceptable
        Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
        Port 0x300-0x330, align 0x2f, size 0x2, 16-bit address decoding
        IRQ 5,7,2/9,10 High-Edge
        DMA 0,1,3 8-bit byte-count compatible
      Alternate resources 0:6
        Priority acceptable
        Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
        IRQ 5,7,2/9,10 High-Edge
        DMA 0,1,3 8-bit byte-count compatible
      Alternate resources 0:7
        Priority functional
        Port 0x220-0x280, align 0x1f, size 0x10, 16-bit address decoding
        Port 0x300-0x330, align 0xf, size 0x2, 16-bit address decoding
        Port 0x388-0x394, align 0x3, size 0x4, 16-bit address decoding
        IRQ 5,7,2/9,10 High-Edge
        DMA 0,1,3 8-bit byte-count compatible
        DMA 5,6,7 16-bit word-count compatible
  Logical device 1 'CTL7002:Game'
    Compatible device PNPb02f
    Device is not active
    Resources 0
      Priority preferred
      Port 0x200-0x200, align 0x0, size 0x8, 16-bit address decoding
      Alternate resources 0:1
        Priority acceptable
        Port 0x200-0x208, align 0x7, size 0x8, 16-bit address decoding
  Logical device 2 'CTL0023:WaveTable'
    Device is not active
    Active port 0x620,0xa20,0xe20
    Resources 0
      Priority preferred
      Port 0x620-0x620, align 0x0, size 0x4, 16-bit address decoding
      Port 0xa20-0xa20, align 0x0, size 0x4, 16-bit address decoding
      Port 0xe20-0xe20, align 0x0, size 0x4, 16-bit address decoding
      Alternate resources 0:1
        Priority acceptable
        Port 0x620-0x680, align 0x1f, size 0x4, 16-bit address decoding
        Port 0xa20-0xa80, align 0x1f, size 0x4, 16-bit address decoding
        Port 0xe20-0xe80, align 0x1f, size 0x4, 16-bit address decoding

Also, here's an experpt from my /proc/ioports when the OSS/Free driver is loaded:
0620-0623 : sound driver (AWE32)
0a20-0a23 : sound driver (AWE32)
0a79-0a79 : isapnp write
0cf8-0cff : PCI conf1
0e20-0e23 : sound driver (AWE32)

If any more information would be of any use, please let me know.  Any
help would be -greatly- appreciated, as I can't figure this out for the
life of me.  Please CC me any replies or ideas.

Thanks,
Ryan

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to