Ubuntu 重新安裝聲卡驅動


有的時候ubuntu 的聲卡不能用,沒有聲音也不能使用麥克風,所有很困惑,查看聲卡驅動的時候不顯示聲卡的驅動,所有我們要自己安裝聲卡驅動,

1.下載驅動包這是比較新的聲卡驅動,1.0.20

$ wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2

$ wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.20.tar.bz2

$ wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.20.tar.bz2

2.解壓安裝  我解壓到 $HOME/alsa 文件夾下

 

$ bunzip2 alsa-driver-1.0.20

$ tar -xf alsa-driver-1.0.20

$ cd alsa-driver-1.0.20

$ ./configure --with-cards=hda-intel --with-sequencer=yes ; make ; make install

安裝完drvier 接下來安裝lib

$ bunzip2 alsa-lib-1.0.20

$ tar -xf alsa-lib-1.0.20

$ cd ../alsa-lib-1.0.20

$ ./configure ; make ; sudo make install

如果編譯時錯誤請按照提示安裝確實的包

最后安裝 utilus

$ bunzip2 alsa-utilus-1.0.20

$ tar -xf alsa-utilus-1.0.20

$ cd ../alsa-utilus-1.0.20

$ ./configure ; make ; sudo make install

 

3.把下面的modules寫入內核

$ modprobe snd-hda-intel ; modprobe snd-pcm-oss

$ modprobe snd-mixer-oss ; modprobe snd-seq-oss

4. 最后重啟 就好了

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM