查看文章
 
arch linux 耳机 无声 和 音响同时出声 的解决办法
2010-11-06 18:43
买了这台华硕A52J好几个月了。昨天买了个耳机。回来插上后发现耳机没有声音,音响外放照常响。于是google,找到了解决办法。

参考链接:
1. http://www.xtit.net/post/741/

2. http://ubuntuforums.org/showthread.php?t=1366524&page=8

3. https://bbs.archlinux.org/viewtopic.php?id=103470

4. https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture

由wiki知,alsa的驱动集成在kernel里。首先执行

$ lspci |grep Audio

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)

没有得到有用的信息。依据wiki,执行
$ cat /proc/asound/modules
0 snd_hda_intel

得知我现在用的声音模块是snd_hda_intel。但还是不知道到底是什么解码芯片。关键一步:

$ cat /proc/asound/card0/codec#* | grep Codec 

Codec: Conexant CX20585
Codec: Intel IbexPeak HDMI

或者执行

$ head -n 1 /proc/asound/card*/codec#*

==> /proc/asound/card0/codec#0 <==
Codec: Conexant CX20585

==> /proc/asound/card0/codec#3 <==
Codec: Intel IbexPeak HDMI

得知需要Conexant CX20585对应的驱动方式。

由wiki得知,需要把下面参数传递给内核:

options snd-hda-intel model=??? (需要找到适合的Audio-Model放到这里)

但是在标准的alsa列表里没有找到Conexant CS20585。试了几个如laptop, asus, asus-laptop,无效。

放狗搜"Conexant CX20585 headphone linux",找到了解决办法:


options snd-hda-intel model=ideapad
放到/etc/modprobe.d/alsa-base.conf中,重启,搞定。

最终状态:

$ cat /etc/modprobe.d/alsa-base.conf
options snd-hda-intel model=ideapad

在使用过程中发现了一个问题,如果在KDE4.5下选择主声道为PCM,则Fn+静音键 就不管用了。kmixer里面没有PCM的静音选项。

类别:linux技术资料||添加到搜藏 |分享到i贴吧|浏览(924)|评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
     

   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu