On Sunday 03 February 2008 15:59, Mitchell Laks wrote: > Hi Gurus, > > I seem to have to rerun alsaconf to reconfigure alsa every time I reboot my > computer. I have no idea why? I am running sid with debian standard kernel: > > when I run > speaker-test I hear nothing. :( > > Here is my situation: > > uname -a > > Linux Rashi 2.6.23-1-amd64 #1 SMP Fri Dec 21 12:00:17 UTC 2007 x86_64 > GNU/Linux > > Here are the output of > > [EMAIL PROTECTED]:~$ lspci -nn |egrep -i 's(ou)?nd|audio|media' > 00:11.5 Multimedia audio controller [0401]: VIA Technologies, Inc. > VT8233/A/8235/8237 AC97 Audio Controller [1106:3059] (rev 60) > [EMAIL PROTECTED]:~$ lsmod | grep snd > snd_via82xx 34344 3 > gameport 21264 1 snd_via82xx > snd_mpu401_uart 13440 1 snd_via82xx > snd_seq_dummy 8452 0 > snd_seq_oss 36736 0 > snd_seq_midi 13376 0 > snd_rawmidi 30624 2 snd_mpu401_uart,snd_seq_midi > snd_via82xx_modem 20492 0 > snd_ac97_codec 117464 2 snd_via82xx,snd_via82xx_modem > snd_seq_midi_event 12416 2 snd_seq_oss,snd_seq_midi > ac97_bus 7168 1 snd_ac97_codec > snd_pcm_oss 48288 0 > snd_mixer_oss 21376 1 snd_pcm_oss > snd_seq 58752 6 > snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_seq_device > 12948 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq > snd_pcm 89864 5 > snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss snd_timer > 28552 2 snd_seq,snd_pcm > snd_page_alloc 15248 3 snd_via82xx,snd_via82xx_modem,snd_pcm > snd 65640 17 > snd_via82xx,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_via82xx_modem,snd_a >c97_codec,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_pcm,snd_timer > soundcore 13216 1 snd > [EMAIL PROTECTED]:~$ cat /proc/asound/cards > 0 [V8237 ]: VIA8237 - VIA 8237 > VIA 8237 with ALC850 at 0xe800, irq 22 > [EMAIL PROTECTED]:~$ cat /dev/sndstat > Sound Driver:3.8.1a-980706 (ALSA v1.0.14 emulation code) > Kernel: Linux Rashi 2.6.23-1-amd64 #1 SMP Fri Dec 21 12:00:17 UTC 2007 > x86_64 Config options: 0 > > Installed drivers: > Type 10: ALSA emulation > > Card config: > VIA 8237 with ALC850 at 0xe800, irq 22 > > Audio devices: > 0: VIA 8237 (DUPLEX) > > Synth devices: NOT ENABLED IN CONFIG > > Midi devices: NOT ENABLED IN CONFIG > > Timers: > 7: system timer > > Mixers: > 0: Realtek ALC850 rev 0 > [EMAIL PROTECTED]:~$ cat /etc/modprobe.d/sound > alias snd-card-0 snd-via82xx > options snd-via82xx index=0 > [EMAIL PROTECTED]:~$ > [EMAIL PROTECTED]:~$ cat /etc/modprobe.d/sound > alias snd-card-0 snd-via82xx > options snd-via82xx index=0 > [EMAIL PROTECTED]:~$ dmesg|grep snd > [EMAIL PROTECTED]:~$ dmesg|less > > > ***************** > > Then I run alsaconf, which recreates the modules and then it run. > > When I set up alsaconf > I also run > alsactl store > > but that does not seem to help on the next reboot.. > Sometimes, I think I lose the sound even without the reboot, but I will > check that again... It may simply be the reboot, but may actually even lose > sound without the reboot... > > Any ideas what to do? > > Thanks! > > Mitchell
Hi Mitchell. I'm half guessing here, but there are some snd modules that are notorious for grabbing card0. Modem ones stand out, along with snd-bt87x. I see that along with your snd-via82xx, the snd-via82xx_modem is loaded, and that may be what is causing the problem. Your /etc/modprobe.d/sound is showing snd-via82xx set up correctly, but if the modem module is in fact grabbing card0, snd-via82xx would still be loaded as well, but as the modem module has already grabbed first place (card0), the actual soundcard module would not be able to also use the card0 position, as setup in /etc/modprobe.d/sound. The fact that cat /proc/asound/cards shows what appears to be the actual soundcard, this may be in fact the modem module. I havn't got any Debian install booted up at the mo, but you could blacklist the snd-via82xx_modem module in /etc/modules.d/blacklist, or try adding the following line to /etc/modprobe.d/sound. install snd-via82xx_modem /bin/true The above line will cause the module to be ignored. Alternatively, add an options line to /etc/modprobe.d/sound, as below. options snd-via82xx_modem index=2 I don't think you have to also put an alias line, as it appears that, that line already exists somewhere. Just a few pointers. All the best. Nigel. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]