zz 解决ubuntu10.04插上耳机仍有外音问题
2012-03-06 05:14
267 查看
特别引用,文章来源:http://blog.csdn.net/xlfarm/article/details/6771997
第一步:Upgrade
Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04 (升级声卡驱动)
注意:方框里的命令都需要在终端里运行,其中要联网下载东西,这段时间最长,可以去干其他事情哦。要耐心点
![](http://b.bst.126.net/common/portrait/face/preview/face12.gif)
哦……(http://monespaceperso.org/blog-en/2010/05/02/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 :
To avoid problems during the upgrade of Alsa-utils, we need to stop it with the following command :
We must then install the necessary tools to compile along with the kernel headers :
Then, we go in our personal folder and download alsa-driver, alsa-lib and alsa-utils :
第一步:Upgrade
Alsa (1.0.23) on Ubuntu Lucid Lynx 10.04 (升级声卡驱动)
注意:方框里的命令都需要在终端里运行,其中要联网下载东西,这段时间最长,可以去干其他事情哦。要耐心点
![](http://b.bst.126.net/common/portrait/face/preview/face12.gif)
哦……(http://monespaceperso.org/blog-en/2010/05/02/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
We must then install the necessary tools to compile along with the kernel headers :
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[/code]
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
友情提醒:
在执行第一步(升级声卡驱动)之前,可以先执行第二步(更改配置),然后重启,检查耳机是否有声音。
如果没有声音,执行第一步。
Samsung 电脑配置:
options snd-hda-intel model=samsung-p50
关健是后面的model:xxxxx, 注意改成自己机器对应的.
相关文章推荐
- 彻底解决 Ubuntu 10.04 对部分声卡不支持或耳机无声的问题
- 笔记一:解决ubuntu10.04插上耳机仍有外音问题
- 如何在ubuntu10.04下载android4.0的源码(并解决以往无法下载android源码的问题)
- ubuntu 10.04中文问题解决
- 解决装了Ubuntu耳机没有声音的问题(外放有声音)
- 【其他】解决ubuntu与win7双系统耳机没有声音的问题
- Ubuntu10.04上apache2: bad user name ${APACHE_RUN_USER}问题解决
- Ubuntu10.04上apache2: bad user name ${APACHE_RUN_USER}问题解决
- Ubuntu 10.04下解决PDF中文乱码的问题
- Ubuntu10.04编译android1.5源码出错问题解决
- 解决ubuntu插入耳机还有外音的问题
- 解决装了Ubuntu耳机没有声音的问题(外放有声音)
- Ubuntu 10.04网络管理器显示“设备未托管”的解决办法------解决无限网卡上网问题
- 解决Ubuntu16.04系统耳机无声音问题
- Ubuntu 10.04修改内核并编译后有线网卡无法使用问题解决
- 解决ubuntu10插入耳机还有外音的问题
- Ubuntu10.04自带Document Viewer看中文PDF的问题解决
- ubuntu10.04插入耳塞还有外音问题解决的过程
- Ubuntu 10.04 安装在 VMware Workstation 7 后,键盘无法输入的问题的解决方法
- Ubuntu 17.04 解决耳机插入没有声音的问题