Click to See Complete Forum and Search --> : CMPCI and ALSA


silvater
02-23-2004, 06:34 PM
I have search some forums in the topic and some of them answer some of my doubts. But there is something they do not talk about

I have slackware 9.1, by default I was using OSS, etc/rc.d/rc.modules
load the cmpci module.

I want to use alsa, when I ran alsa conf, it tell me it cannot find a module for mi card. I have seen in other forums that it uses snd-cmpci. I do not have that module in my alsa installation.

Some people say about running the script ./snd-drivers.
I install alsa by slack package, the only two sources I have are /usr/share/alsa and /usr/include/alsa.
In the share alsa there is no such script.

My question is how do I download that module and what do I have to do to install it

thanks

mdwatts
02-24-2004, 02:19 PM
Originally posted by silvater

My question is how do I download that module and what do I have to do to install it


Does Slackware have a preconfigured kernel that includes ALSA that you can download and install?

If not, visit the main ALSA website as they should have documentation on the correct way to install ALSA.

Have you checked your modules directory for any snd-??? related modules?

/lib/modules/<kernel version>/kernel/sound/core

That is where mine are located with SuSE.

maccorin
02-24-2004, 02:48 PM
Originally posted by silvater
I have search some forums in the topic and some of them answer some of my doubts. But there is something they do not talk about

I have slackware 9.1, by default I was using OSS, etc/rc.d/rc.modules
load the cmpci module.

I want to use alsa, when I ran alsa conf, it tell me it cannot find a module for mi card. I have seen in other forums that it uses snd-cmpci. I do not have that module in my alsa installation.

Some people say about running the script ./snd-drivers.
I install alsa by slack package, the only two sources I have are /usr/share/alsa and /usr/include/alsa.
In the share alsa there is no such script.

My question is how do I download that module and what do I have to do to install it

thanks

the name of the alsa module is actually snd-cmipci,
note the i between the m and p, try loading that

mdwatts
02-24-2004, 04:47 PM
Originally posted by maccorin
the name of the alsa module is actually snd-cmipci,
note the i between the m and p, try loading that

That is correct. I have the CMI8738 and have the following modules loaded.

snd-mixer-oss 16184 0 (autoclean)
snd-seq-midi 5184 0 (unused)
snd-seq-midi-event 4064 0 [snd-seq-midi]
snd-seq 44208 0 [snd-seq-midi snd-seq-midi-event]
snd-cmipci 24984 0
snd-mpu401-uart 4480 0 [snd-cmipci]
snd-rawmidi 16416 0 [snd-seq-midi snd-mpu401-uart]
snd-opl3-lib 7300 0 [snd-cmipci]
snd-hwdep 5472 0 [snd-opl3-lib]
snd-seq-device 4660 0 [snd-seq-midi snd-seq snd-rawmidi snd-opl3-lib]
snd-pcm 78432 0 [snd-cmipci]
snd-page-alloc 7028 0 [snd-pcm]
snd-timer 17984 0 [snd-seq snd-opl3-lib snd-pcm]
snd 43204 0 [snd-mixer-oss snd-seq-midi snd-seq-midi-event snd-seq snd-cmipci snd-mpu401-uart snd-rawmidi snd-opl3-lib snd-hwdep snd-seq-device snd-pcm snd-timer]
soundcore 4356 0 [snd]

In /etc/modules.conf I have

options snd-cmipci snd_enable=1 snd_index=0 snd_soft_ac3=1

# YaST2: sound system dependent part
#
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-slot-1 off
alias sound-service-1-0 off
alias sound-slot-2 off
alias sound-service-2-0 off
alias sound-slot-3 off
alias sound-service-3-0 off
options snd snd_cards_limit=1 snd_major=116
# UVH2.UM7Z1xEl1J5:CMI8738 6-channel audio controller
alias snd-card-0 snd-cmipci
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-11 snd-mixer-oss
alias sound-service-0-12 snd-pcm-oss

silvater
02-24-2004, 05:30 PM
Guys,
Im going to re-install ALSA, from source.
I couldnt find the module snd-cmipci
I will let you know how it goes.