概述
大概一个月前装了ubuntu10.10系统,用了一晚上的时间配置声卡驱动,结果……就没有结果了。昨天装了ubuntu10.04,早晨起来趁着网速继续配置声卡驱动,查了不少资料,用了将近三个半小时配置完毕(中途空闲时间还看了部电影
第一步:Upgrade Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04 (升级声卡驱动)
To do this, we must begin by determining our version of alsa as follows :
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
To avoid problems during the upgrade of Alsa-utils, we need to stop it with the following command :
sudo /sbin/alsa-utils stop
sudo apt-get -y install build-essential ncurses-dev gettext xmlto libasound2-dev
sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev
Then, we go in our personal folder and download alsa-driver, alsa-lib and alsa-utils :
cd ~
rm -rf ~/alsa* ~/.pulse*
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.23.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.23.tar.bz2
After that, we create a new folder for the compilation and installation of the 3 files. Then, we move the 3 tar files that we just downloaded in this folder :
sudo rm -rf /usr/src/alsa
sudo mkdir -p /usr/src/alsa
cd /usr/src/alsa
sudo cp ~/alsa* .
Unpack the 3 tar files :
sudo tar xjf alsa-driver*
sudo tar xjf alsa-lib*
sudo tar xjf alsa-utils*
We compile and install alsa-driver :
cd alsa-driver*
sudo ./configure
sudo make
sudo make install
We compile and install alsa-lib :
cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install
We compile and install alsa-utils :
cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install
Then, we remove the 3 tar files in our personal folder that are not anymore necessary :
rm -f ~/alsa-driver*
rm -f ~/alsa-lib*
rm -f ~/alsa-utils*
Then, just restart your computer and your alsa version should be 1.0.23!
You can verify that you have now indeed have this version of alsa :
cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on May 2 2010 for kernel 2.6.32-21-generic (SMP).
Just to be sure everything is well configured, execute this command :
sudo alsaconf
and reboot again!
第二步:配置alsa-base.conf文件
输入以下指令
sudo gedit /etc/modprobe.d/alsa-base.conf
打开alsa-base.conf后在最后一行添上options snd-hda-intel model=xxxxx 注意等号两边没有空格。
如果没法更改则可能权限不够,输入指令:
cd /etc/modprobe.d/
chmod 777 alsa-base.conf
下面最重要的就是xxxxx的配置。快捷键ctrl+f进入搜索功能,输入ALSA-Configuration.txt查找后打开,然后根据自己的声卡配置,不知道的同学可以在终端下输入alsamixer,card和chip后的名称则分别是声卡和芯片。我的电脑是华硕,改成asus不能用,最后改成lenovo-3000就行了。
如果懒得查找的同学可以把options snd-hda-intel model=xxxxx更改为以下试试;
options snd-hda-intel model=lenovo-3000
options snd_hda_intel model=lenovo-nb0763
options "snd_hda_intel" model=lenovo-101e
options snd-hda-intel model=acer
options snd-hda-intel model=ideapad
options snd-hda-intel model=auto
options snd-hda-intel model=asus
好了,大概就这么多,希望能够给同学们一点点帮助,早日配置好自己的声卡驱动,享受耳机里的优美音质。哈哈~~~
最后
以上就是单纯蜜粉为你收集整理的笔记一:解决ubuntu10.04插上耳机仍有外音问题的全部内容,希望文章能够帮你解决笔记一:解决ubuntu10.04插上耳机仍有外音问题所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复