ALSA not working after reboot
Hi folks,
I have a problem with ALSA that sure has occurred before. Nonetheless,
solutions proposed in earlier postings I browsed do not solve the problem.
After running alsaconf in root, ALSA sound works fine, but after
rebooting, some applications do not work (eg xmms) while others do
(eg totem). I suspect it has to do with OSS emulation.
The modules are loaded even after rebooting, and lsmod says the following
regarding sound:
snd_via82xx 23972 2
snd_ac97_codec 66916 1 snd_via82xx
snd_pcm_oss 49864 1
snd_mixer_oss 17600 2 snd_pcm_oss
snd_pcm 86152 2 snd_via82xx,snd_pcm_oss
snd_timer 21316 1 snd_pcm
snd_page_alloc 9032 2 snd_via82xx,snd_pcm
snd_mpu401_uart 6144 1 snd_via82xx
snd_rawmidi 20132 1 snd_mpu401_uart
snd_seq_device 6440 1 snd_rawmidi
snd 47940 9
snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 7328 3 snd
for reference, after running alsaconf the same modules are loaded, though
some interconnections between them differ:
snd_via82xx 23972 0
snd_ac97_codec 66916 1 snd_via82xx
snd_pcm_oss 49864 0
snd_mixer_oss 17600 1 snd_pcm_oss
snd_pcm 86152 2 snd_via82xx,snd_pcm_oss
snd_timer 21316 1 snd_pcm
snd_page_alloc 9032 2 snd_via82xx,snd_pcm
snd_mpu401_uart 6144 1 snd_via82xx
snd_rawmidi 20132 1 snd_mpu401_uart
snd_seq_device 6440 1 snd_rawmidi
snd 47940 9
snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 7328 1 snd
the entries in my /etc/modprobe.d/alsa-base that are referring to my
soundcard are as follows:
install snd-via82xx modprobe --ignore-install snd-via82xx &&
/lib/alsa/modprobe-post-install snd-via82xx
options snd-via82xx-modem index=-2
and the aliases contain some lines about OSS emulation:
# This sets up the ALSA and OSS portion
alias char-major-116 snd
alias char-major-14 soundcore
# Get another alias for my soundcard:
alias sound-slot-0 snd-card-0
# Configure the OSS emulation layer
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 /dev/mixer snd-mixer-oss
alias /dev/dsp1 snd-pcm-oss
alias /dev/midi snd-seq-oss
# If you have more than 1 card, set this number to the correct value
options snd cards_limit=1
options snd-pcm-oss nonblock_open=1
I'd be happy if you have an idea what goes wrong!
Cheers,
Gunnar
Reply to: