AD-Chips sound card problem - Can't load with 16-bits mode
hello all,
im new on this forum and im glad to being now a piace of it.
I got a trouble with my soundcard.. it's a slot-ISAPnP soundcard
AD-Chips CMI8329 (as i said.. not onboard) and is SoundBlaster
compatible. Im trying to turn it on using the sb.o module from
2.4.18 kernel without sucess. Im slackware.
kernel:
CONFIG_SOUND=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_ADLIB=m
CONFIG_SOUND_VMIDI=m
CONFIG_SOUND_MSS=m
CONFIG_SOUND_MPU401=m
CONFIG_SOUND_MAD16=m
CONFIG_SOUND_SB=m
CONFIG_SOUND_YM3812=m
CONFIG_PNP=y
CONFIG_ISAPNP=y
here's my /etc/modules.conf:
-----------------------------
alias char-major-14 sb
alias sound-slot-0 sb
options sound dmabuf=1
options mpu401 io=0x330 irq=9
alias midi mpu401
options opl3 io=0x388
alias midi opl3
options modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 pnplegacy=1
-----------------------------
but when trying to load with "modprobe sb" it returns:
/lib/modules/2.4.18/kernel/drivers/sound/sb.o: init_module: No such devic
...
so to load it i need to use the prompt line:
"modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330 pnplegacy=1"
the parameters matches with the "pnpdump -c" probe.
/sbin/isapnp /etc/isapnp.conf:
----
Board 1 has Identity 8d 01 00 01 00 01 00 a9 0d: CMI0001 Serial No 16777472 [checksum 8d]
CMI0001/16777472[0]{AD-CHIPS Audio Adapter}: Port 0x220; IRQ5 DMA1 DMA5 --- Enabled OK
CMI0001/16777472[1]{AD-CHIPS Audio Adapter}: Port 0x330; IRQ9 --- Enabled OK
CMI0001/16777472[2]{AD-CHIPS Audio Adapter}: Port 0x200; --- Enabled OK
CMI0001/16777472[3]{AD-CHIPS Audio Adapter}: Port 0x530; IRQ11 DMA0 --- Enabled OK
CMI0001/16777472[4]{AD-CHIPS Audio Adapter}: Port 0x100; --- Enabled OK
----
/sbin/lsmod:
----
Module Size Used by Tainted: P
snd-pcm-oss 44516 0 (autoclean) (unused)
snd-pcm 62144 0 (autoclean) [snd-pcm-oss]
snd-timer 11208 0 (autoclean) [snd-pcm]
snd-mixer-oss 12312 0 (autoclean) [snd-pcm-oss]
snd 30476 0 (autoclean) [snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
soundcore 3460 0 (autoclean) [snd]
ppp_async 6048 1 (autoclean)
ppp_generic 14044 3 (autoclean) [ppp_async]
slhc 4448 1 (autoclean) [ppp_generic]
----
So it loads saying:
/bin/dmesg:
-----------------------------
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
SB 4.13 detected OK (220)
sb: AD-CHIPS Audio Adapter detected
sb: CMI 8330 SoundPRO opl3 config failed (out of resources?)[-11]
sb: ISAPnP reports 'AD-CHIPS Audio Adapter' at i/o 0x530, irq 7, dma 3, 0
sb: dsp reset failed.
sb.c: There was a problem probing one of your SoundBlaster ISAPnP
soundcards. Continuing.
sb: 1 Soundblaster PnP card(s) found.
------------------------------
/sbin/lsmod:
But when i play 16-bits MP3 its plays so slowww and
has some pauses when playing.
I guess its occurring cause its running at 8-bits mode. So i tried
different driver module. I used ad1848 - "modprobe ad1848" - and i tried
to modprobe ad1848 with command line parameters too and get the same
result.
/etc/modules.conf:
------------------------------
alias sound-slot-0 ad1848
options sound dmabuf=1
alias midi opl3
options opl3 io=0x388
alias midi mpu401
options mpu401 io=0x300 irq=9
options ad1848 io=0x220 irq=5 dma=1 soundpro=1
-----------------------------
/dev/console:
/lib/modules/2.4.18/kernel/drivers/sound/ad1848.o: init_module: No such
device
...
/bin/dmesg:
--
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
ad1848: AD-CHIPS Audio Adapter detected
ad1848: ISAPnP reports 'AD-CHIPS Audio Adapter' at i/o 0x220, irq 5,
dma 1, -1
--
i tried the CMI8330 ALSA driver and i get unresolved symbols from
snd-sb-common.o ( i'll email them about it ).
Sound-HOWTO says on index 6.25:
"16-bit sound cards described as SoundBlaster compatible are really only
compatible with the 8-bit SoundBlaster Pro. They typically have a 16-bit
mode which is not compatible with the SoundBlaster 16 and not compatible
with the Linux sound driver. You may be able to get the card to work in
16-bit mode by using the MAD16 or MSS/WSS driver."
I followed the steps described on MAD16 kernel documents and
insmod returns:
/lib/modules/2.4.18/kernel/drivers/sound/sb.o: invalid parameter
parm_mad16
...
when "modprobe mad16"
/lib/modules/2.4.18/kernel/drivers/sound/mad16.o: init_module: No such
device
...
Sorry for long text guys.
I'll be thank if someone got any clue to make this card work.
merry christmas.
Last edited by el_barto; 12-19-2002 at 10:43 PM.
|