LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-19-2002, 10:36 PM   #1
el_barto
LQ Newbie
 
Registered: Dec 2002
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
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.
 
Old 12-23-2002, 04:18 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306

Rep: Reputation: 66
sound blaster compatible means compatible from
the software side, not the hardware or hardware
driver side.
look on the alsa site for what driver you should be
using for your card.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva soud card (Allegro-1) problem crux64 Mandriva 4 03-04-2006 06:53 AM
Linux suks. I cant even get the soud card to work bg2300 Linux - Hardware 3 08-29-2004 06:45 AM
soud card(Hercules Game Fortissimo II ) kiszyn Linux - Hardware 0 03-19-2004 01:50 AM
intel 8x0 soud card problem 2 mohdali Linux - Hardware 1 09-24-2003 12:07 AM
problem with getting x to load graphical mode dr-rudi Linux - Newbie 4 07-10-2003 03:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration