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