免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1134 | 回复: 0
打印 上一主题 下一主题

ubuntu,hp520声卡,耳机和音箱,解决方法 [复制链接]

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-06 10:11 |只看该作者 |倒序浏览

作者: chiver  出自: http://www.linuxdiyf.com
最近装了一个ubuntu系统,来体验一下linux的魅力,开始在硬盘上直接装的,结果由于声卡驱动不了,就索性给格了,然后在虚拟机上装了一个,体验了两天,不甘心,又在硬盘上装了一个,结果这次很顺利的什么都是好好的,好景不长,问题又出来了,前两天弄上耳机,发现音箱和耳机一起响了,这不明显的是掩耳盗铃的效果,不甘心,连续baidu,google,wiki,今天晚上终于弄好了!过程如下:
使用 lsmod |grep snd,得知:snd_hda_intel 263840 1
运行alsamixer,查看芯片型号 为Conexant CX20549 (Venice)
card为HDA INTEL

http://www.alsa-project.org/
下载alsa-driver,找到
ALSA-Configuration.txt,从中用Chip型号中的关键字,一般是最後一段搜索,或lsmod
得到的声卡模块名搜索,再用Chip型号定位。查出可用的参数
Conexant 5045
laptop-hpsense Laptop with HP sense (old model laptop)
laptop-micsense Laptop with Mic sense (old model fujitsu)
laptop-hpmicsense Laptop with HP and Mic senses
benq Benq R55E
test for testing/debugging purpose, almost all controls
can be adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y
Conexant 5047
laptop Basic Laptop config
laptop-hp Laptop config for some HP models (subdevice 30A5)
laptop-eapd Laptop config with EAPD support
test for testing/debugging purpose, almost all controls
can be adjusted. Appearing only when compiled with
$CONFIG_SND_DEBUG=y
onexant 5051
laptop Basic Laptop config (default)
hp HP Spartan laptop
然后,sudo gedit /etc/modprobe.d/options
在最后一行,添加:
options snd-hda-intel model=参数,结果是:试了所有带hp 字样的mod,全不行
今天晚上找到最终的解决方法: 更新alsa最新的驱动
方法如下:
下载了最新的驱动
alsa-driver-hg20070613.tar.bz2
下载地址:
ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver
下载驱动后
$tar xvf alsa-driver-hg20080323.tar.bz2
$./configure
$sudo make
$sudo make install
重新启动机器,搞定!
不过,在其中,也有一个小小的波折,那就是在./configure时出现了错误,更换了源以
后,更新 sudo apt-get install libc6-dev
后再./configure,ok!


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31/showart_518489.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP