Wednesday, August 24, 2011

How to initialize sound in debian based Linux?

I met with this weird problem today, No sound output from my system with any player say banshee, totem etc... But yesterday it works fine. I checked all the sound settings in volume control it seems everything is perfect, but no sound output :(. Atlast i got the solution for this. Just give the following command in the terminal as root.

#alsactl init
The above command initializes the alsa sound card driver :). So after this audio works find

My audio driver is
:~$ lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801JD/DO (ICH10 Family) HD Audio Controller (rev 02)

My system's snd module details:
:~$ lsmod | grep snd
snd_hda_codec_realtek 163294 1
snd_hda_intel 16811 4
snd_hda_codec 46002 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 4054 1 snd_hda_codec
snd_pcm_oss 28671 0
snd_mixer_oss 10461 1 snd_pcm_oss
snd_pcm 47226 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi 3576 0
snd_rawmidi 12513 1 snd_seq_midi
snd_seq_midi_event 3684 1 snd_seq_midi
snd_seq 35463 2 snd_seq_midi,snd_seq_midi_event
snd_timer 12258 3 snd_pcm,snd_seq
snd_seq_device 3673 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 34375 17 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 3450 1 snd
snd_page_alloc 5045 2 snd_hda_intel,snd_pcm

# <- Refers the root user in terminal
$ <- Refers the non-root user in terminal
Am using BOSS 4.0 Linux.

No comments: