[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.6, modules, and ALSA



Adam Aube wrote:

> On Tuesday 17 February 2004 11:08 pm, Peter Sebastian Masny wrote:
>
>> Hi, I'm using kernel-image-2.6.2-1-k7.
>> I have included "snd-via82xx" in my /etc/modules and run update-modules
>> (modules-init-tools installed).
>
>
>
>> Notice that sound is used by via82cxxx_audio (which is not mentioned in
>> dmesg).
>
>
>
>> to my understanding, via82cxxx_audio and ac97_codec are OSS, while
>> snd_via82xx and snd_ac97_codec are ALSA.
>
>
>
> Correct. The sound module is also part of OSS; the ALSA equivalent is snd.
>
>
>> My question is, how do I force the kernel to use the ALSA drivers and
>> not load the OSS ones?
>
>
>
> It looks like your kernel image has support for both ALSA and OSS enabled, and both are getting loaded somehow.
>
> Make sure that sound, via82cxxx_audio, and ac97_codec aren't also in /etc/modules, or in /etc/modprobe.conf or any file it includes.
>
> Adam



They are not.  Here is the full /etc/modules (minus the comments)

> b44
> mousedev
> hid
> # uhci-hcd  for 2.6
> uhci-hcd
> usb-storage
> snd-via82xx


/etc/modprobe.conf says:

> include /lib/modules/modprobe.conf


Here are the relevant (I think) parts of /lib/modules/modprobe.conf


> alias char-major-14 soundcore
> # character devices ##########################################################
> alias char-major-116 snd
> ### update-modules: start processing alsa ###
> ### DEBCONF MAGIC
> # This file was automatically generated by alsa-base's debconf stuff
>
> alias char-major-116 snd
> alias char-major-14 soundcore
>
> options snd major=116 cards_limit=4
>
> alias sound-service-0-0 snd-mixer-oss
> 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-12 snd-pcm-oss
>
> alias snd-card-0 snd-via82xx
>
> alias snd-slot-0 snd-card-0
> alias sound-slot-0 snd-slot-0
>
> ### update-modules: end processing alsa ###


Thanks again for the help,

Peter

(realized debian-users requires reply all, sorry)



Reply to: