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

Re: ALSA Problems



Miguel Filho wrote:

On Mon, 04 Oct 2004 21:39:57 -0500, Jason Martens <me@jasonmartens.com> wrote:
I have a debian testing system that will be my mythtv, as soon as I can
get the sound working.  I had it working previously with Fedora Core 1,
but decided to move to a much better distro.

I think I have alsa configured correctly, but for some reason, it
doesn't detect the sound card.  My motherboard (Abit KV7, KT 600) has
built-in audio, which is detected by Alsaconf as a via82xx
VT8233/A/8235/8237 AC97 Audio Controller.  It detects it, and adds (what
I think) are the proper modules to /etc/modprobe.d/sound.  Here is a
listing of my loaded snd modules:

mythtv:/proc/asound# lsmod | grep snd
snd_mixer_oss          20416  0
snd_via82xx            30820  0
snd_ac97_codec         70660  1 snd_via82xx
gameport                5376  1 snd_via82xx
snd_mpu401_uart         8896  1 snd_via82xx
snd_rawmidi            26496  1 snd_mpu401_uart
snd_seq_device          8712  1 snd_rawmidi
snd_bt87x              15304  0
snd_pcm               101920  2 snd_via82xx,snd_bt87x
snd_timer              27460  1 snd_pcm
snd                    60132  10
snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_bt87x,snd_pcm,snd_timer
snd_page_alloc         12168  3 snd_via82xx,snd_bt87x,snd_pcm
soundcore              11168  5 snd,bttv,via82cxxx_audio,sound


As the other guys has said, there a big chance that oss module is loaded.

This happen not by any mistake, I really did not figured out why, but
the default
instalation of sarge comes with discover and hotplug enabled by default.

So what happens? Discover is loaded first, it loads the oss module for sure.
Once you install alsa-base, it puts all oss modules in
/etc/hotplug/blacklist.d/alsabase

this prevents hotplug to load oss modules, but doesn't stop discover.

you need to edit /etc/discover.conf and add: "disable pci"
and discover will no load oss modules anymore,  leaving the road free for alsa.

Anyone can tell me why there is 2 daemon for autodetecting hardware? And both
enable by default!?


Thanks all for your help. The problem was indeed oss drivers were getting loaded. After adding the following to /etc/discover.conf, alsa worked beautifully. Thanks all for your help.

skip via82cxxx
skip via82cxxx_audio

Jason




Reply to: