安裝軟件
$ apt-get install alsa-utils
$ apt-get install alsa-oos
$ apt-get install esound
$ apt-get install gnome-audio
先檢查系統(tǒng)聲卡驅(qū)動(dòng)
$ lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
說(shuō)明系統(tǒng)已經(jīng)識(shí)別出了聲卡
$ lsmod | grep snd
snd_hda_codec_hdmi 49152 2
snd_hda_codec_idt 57344 1
snd_hda_codec_generic 69632 1 snd_hda_codec_idt
snd_hda_intel 36864 5
snd_hda_codec 135168 4 snd_hda_intel,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hda_core 81920 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 110592 5 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer 32768 1 snd_pcm
snd 86016 17 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_hda_codec_idt,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_pcm
soundcore 16384 1 snd
系統(tǒng)也加載了相應(yīng)的內(nèi)核模塊
然后檢查系統(tǒng)音量
$ alsamixer
聲卡各通道音量正常
問(wèn)題解決柒爸,看來(lái)主要問(wèn)題在于基本系統(tǒng)沒有初始化聲卡床绪,需要手工初始化一下爵川。
最后嘗試初始化聲卡
$ alsactl init
Found hardware: "HDA-Intel" "IDT 92HD81B1C5" "HDA:111d76d5,1028040a,00100104 HDA:14f12c06,14f1000f,00100000 HDA:80862804,80860101,00100000" "0x1028" "0x040a"
Hardware is initialized using a generic method
如果還沒有聲音的話
終端下運(yùn)行
$ modprobe snd_pcm_oss
然后在/etc/modules里加上一行
snd_pcm_oss
然后reboot
$ alsamixer
對(duì)上下鍵操作對(duì)應(yīng)聲量大小