Results 1 to 5 of 5
hi,
I am having trouble maintaining my sound configuration with the ALSA drivers (on Etch):
every time I boot I need to do the following:
zabala@terra:/usr/share/alsa-base$ sudo ./snddevices
zabala@terra:/usr/share/alsa-base$ sudo ...
- 01-03-2007 #1
[solved] ALSA drivers for Soundblaster card. /dev/snd dissapears on boot.
hi,
I am having trouble maintaining my sound configuration with the ALSA drivers (on Etch):
every time I boot I need to do the following:
zabala@terra:/usr/share/alsa-base$ sudo ./snddevices
zabala@terra:/usr/share/alsa-base$ sudo alsaconfig
zabala@terra:/usr/share/alsa-base$ alsamixer
Or else my sound card won't work. Though, I get perfect sound after these commands; I just do not want to do this everytime I boot onto the system.
I tried adding the virtual links to the rcX.d directories for my runlevels, but that didn't work.
Info:
From ... # lsmod | grep sndCode:Card: Audigy 2 ZS [SB0350] Chip: SigmaTel STAC9721,23 driver
Cheers,Code:snd_mixer_oss 15200 0 snd_emu10k1_synth 6944 0 snd_emux_synth 30720 1 snd_emu10k1_synth snd_seq_virmidi 6944 1 snd_emux_synth snd_seq_midi_emul 5952 1 snd_emux_synth snd_seq_dummy 3844 0 snd_seq_oss 28768 0 snd_seq_midi 8192 0 snd_seq_midi_event 7008 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi snd_seq 45680 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_emu10k1 102656 1 snd_emu10k1_synth snd_rawmidi 22560 3 snd_seq_virmidi,snd_seq_midi,snd_emu10k1 snd_ac97_codec 83104 1 snd_emu10k1 snd_ac97_bus 2400 1 snd_ac97_codec snd_seq_device 7820 8 snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi snd_util_mem 4672 2 snd_emux_synth,snd_emu10k1 snd_hwdep 8836 2 snd_emux_synth,snd_emu10k1 snd_pcm 68644 2 snd_emu10k1,snd_ac97_codec snd_page_alloc 9640 2 snd_emu10k1,snd_pcm snd_timer 20996 3 snd_seq,snd_emu10k1,snd_pcm snd 47012 12 snd_mixer_oss,snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_seq_device,snd_hwdep,snd_pcm,snd_timer soundcore 9248 1 snd
Last edited by soccercisco; 01-10-2007 at 03:34 AM. Reason: problem solved. chose more appropriate title for others to find.
- 01-03-2007 #2Linux User
- Join Date
- Feb 2006
- Posts
- 484
hi i saw it on an another topic
try
alsactl store
- 01-03-2007 #3
thx 4 the help!
actually alsactl store (and restore) deals with the alsamixer configuration and not with the modules.
regards,
- 01-10-2007 #4
Ok, so I am on my way to figuring this out. I began to see what the heck is going on, and here is what I have found:
1. after the system booted I had no sound, so I went to the '/dev' directory and found that the '/dev/snd' directory didn't exist.
2. so I 'cd' into '/usr/share/alsa-base/' and executed './snddevices' which is a long script to post, but this is the output:
3. then I went back to '/dev' and what do you know, there automagically lies the '/dev/snd' directoryCode:Creating mixer?...done. Creating sequencer...done. Creating midi0?...done. Creating dsp?...done. Creating audio?...done. Creating sndstat...done. Creating music...done. Creating dmmidi?...done. Creating dmfm?...done. Creating amixer?...done. Creating adsp?...done. Creating amidi?...done. Creating admmidi?...done. Creating snd/control?...done. Creating snd/seq...done. Creating snd/timer...done. Creating snd/hw??...done. Creating snd/midi??...done. Creating snd/pcm??p...done. Creating snd/pcm??c...done. Creating aload?...done. Creating aloadSEQ...done.
4. the content at all times (that is, before and after the execution of snddevices) of 'ls -1a /lib/udev' is:
in alsa-utils I find the script:Code:. .. alsa-utils check_driver
Code:#!/bin/sh -e # # udev script for alsa-utils ( . /lib/udev/hotplug.functions wait_for_file /usr/sbin/alsactl DEV_BASENAME="${DEVNAME##*/}" N="${DEV_BASENAME#controlC}" exec /etc/init.d/alsa-utils start $N ) &
So with this new info, can somebody tell me why my /dev/snd dissapears everytime I boot.
Thank you in advance.
- 01-10-2007 #5
Cool... Problem solved.
1. So I decided to check if udev had been updated and did an apt-get install udev
2. I turned out that this operation had to remove hotplug to install udev, so I selected 'Y'.
3. It then instructed me to purge the removal of hotplug since it had found a folder in init.d
4. Since I wasn't able to purge something that already had been removed by (2.) I apt-get install hotplug (which removed udev) and immediately did an apt-get remove --purge hotplug
5. Finally I did apt-get install udev and this time around it didn't say anything about the hotplug folder.
6. So I tried the procedure described earlier (./snddevices.... etcetera) and rebooted the system... voila... I got Sound @ boot!
Thanks to all 4 the help!


Reply With Quote
