plysan
发表于 2009-12-4 18:47
强贴!!顶起来 !!!好强大!
shanhe
发表于 2009-12-5 16:47
好好学习一下
shanhe
发表于 2009-12-5 17:31
正照着lz的步骤做,感谢lz分享
shanhe
发表于 2009-12-5 18:02
没有成功的,看来我还得继续努力
kenea
发表于 2009-12-6 21:00
好贴要顶到上面去
ding_aA
发表于 2009-12-6 22:05
谢谢紫米!顺便问一下再PathMap里可以加<key>VREF</key>吗?
紫米
发表于 2009-12-6 22:33
回复 328# ding_aA
新版的已經不須要加 VREF
已經是利用 MuteGPIO
linlinabab
发表于 2009-12-6 23:08
本帖最后由 linlinabab 于 2009-12-7 00:25 编辑
回复 1# 紫米
本来是要问的,但自己解决了
ding_aA
发表于 2009-12-7 09:19
我就差一个MuteGPIO死活搞不定。。。。。
ding_aA
发表于 2009-12-7 21:06
紫米老师,我想请教一个问题,我在HDAPlatformDriver的info.plist中,想给Mic(原为外接麦克风,按照你的意见改成Fixed)加一个MuteGPIO:1342242839(0x50010017)
现在的问题是按照你的公式得出的MuteGPIO会导致sound assertion, MuteGPIO=0反而没问题,但是这样就无法告诉AppleHDA一个正确的Vref,导致麦克风无电压、无法录音,所以想向你请教这个问题
附上我的Codec Dump From Ubuntu 9.10:Codec: Conexant CX20561 (Hermosa)
Address: 0
Function Id: 0x2
Vendor Id: 0x14f15051
Subsystem Id: 0x1179ff51
Revision Id: 0x100000
Modem Function Group: 0x2
Default PCM:
rates : 44100 48000 96000
bits : 16 20 24
formats : PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=4, o=0, i=0, unsolicited=1, wake=0
IO: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x10 wcaps 0xc1d: Stereo Amp-Out R/L
Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=0
Amp-Out vals:
Converter: stream=0, channel=0
PCM:
rates : 44100 48000 96000 192000
bits : 16 20 24
formats : PCM
Power: setting=D0, actual=D0
Node 0x11 wcaps 0xc1d: Stereo Amp-Out R/L
Amp-Out caps: ofs=0x4a, nsteps=0x4a, stepsize=0x03, mute=0
Amp-Out vals:
Converter: stream=0, channel=0
PCM:
rates : 44100 48000 96000 192000
bits : 16 20 24
formats : PCM
Power: setting=D0, actual=D0
Node 0x12 wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:
rates : 44100 48000 96000
bits : 16 20 24
formats : PCM AC3
Node 0x13 wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=0
Amp-Out vals:
Node 0x14 wcaps 0x100d1b: Stereo Amp-In R/L
Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=0
Amp-In vals:
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates : 44100 48000 96000
bits : 16 20 24
formats : PCM
Power: setting=D0, actual=D0
Connection: 2
0x1d* 0x17
Node 0x15 wcaps 0x100d1b: Stereo Amp-In R/L
Amp-In caps: ofs=0x4a, nsteps=0x50, stepsize=0x03, mute=0
Amp-In vals:
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates : 44100 48000 96000
bits : 16 20 24
formats : PCM
Power: setting=D0, actual=D0
Connection: 1
0x18
Node 0x16 wcaps 0x400581: Stereo
Pincap 0x0000001c: OUT HP Detect
Pin Default 0x02211030: HP Out at Ext Front
Conn = 1/8, Color = Black
DefAssociation = 0x3, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=37, enabled=1
Power: setting=D0, actual=D0
Connection: 2
0x10* 0x11
Node 0x17 wcaps 0x40048b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
Amp-In vals:
Pincap 0x00001224: IN Detect
Vref caps: 50 80
Pin Default 0x02a19020: Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=38, enabled=1
Power: setting=D0, actual=D0
Node 0x18 wcaps 0x40048b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
Amp-In vals:
Pincap 0x00001224: IN Detect
Vref caps: 50 80
Pin Default 0x400001f0: Line Out at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=39, enabled=1
Power: setting=D0, actual=D0
Node 0x19 wcaps 0x400581: Stereo
Pincap 0x00000014: OUT Detect
Pin Default 0x400001f0: Line Out at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Connection: 2
0x10 0x11*
Node 0x1a wcaps 0x400501: Stereo
Pincap 0x00010010: OUT EAPD
EAPD 0x2: EAPD
Pin Default 0x92170110: Speaker at Int Front
Conn = Analog, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Power: setting=D0, actual=D0
Connection: 2
0x10* 0x11
Node 0x1b wcaps 0x400500: Mono
Pincap 0x00010010: OUT EAPD
EAPD 0x2: EAPD
Pin Default 0x400001f0: Line Out at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Power: setting=D0, actual=D0
Connection: 2
0x10* 0x11
Node 0x1c wcaps 0x400701: Stereo Digital
Pincap 0x00000010: OUT
Pin Default 0x224511f0: SPDIF Out at Sep Front
Conn = Optical, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Power: setting=D0, actual=D0
Connection: 1
0x12
Node 0x1d wcaps 0x40040b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0
Amp-In vals:
Pincap 0x00000020: IN
Pin Default 0x400001f0: Line Out at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Power: setting=D0, actual=D0
Node 0x1e wcaps 0xf00000: Mono
紫米
发表于 2009-12-8 12:31
回复 332# ding_aA
如果刪除 MuteGPIO 不設呢?
redviper
发表于 2009-12-8 14:49
折腾了这么久,算是有的眉目,但是还是没有让他发出声来(那个神奇的01470c02也加上了),虽然能够识别了,但是还是遇到了和前面一位同学相似的问题,在那个日志里面也有类似的代码。。。
congfigdata是按照mudzone帖子里的方法取得。。。
这个是声卡连接图
不知道问题出到哪里了
顺便问一下,ar5008 的无线网卡怎么安装??
dirzyclcp
发表于 2009-12-8 17:00
有这样的技术贴真是太好了
紫米
发表于 2009-12-8 22:58
回复 334# redviper
先恭喜你有這麼大的進展!
看了你的 LegacyHDA 和圖片後,
我想問題可能在 Amp 設定的位置,
有看過使用 ALC26X 的朋友,
Amp 設定位置很不同,
或者在兩個節點上都設定 Amp,
就他們的經驗,
那樣設定才能正常運作,
所以就你目前的狀況,
似乎也跟它們的狀況相同,
如果用一般的設定也會無法出聲。
你可以參考看看:
https://bbs.pcbeta.com/redirect.php?goto=findpost&ptid=623626&pid=13474304
redviper
发表于 2009-12-10 14:50
回复redviper
先恭喜你有這麼大的進展!
看了你的 LegacyHDA 和圖片後,
我想問題可能在 Amp 設定的 ...
紫米 发表于 2009-12-8 22:58 https://bbs.pcbeta.com/images/common/back.gif
恩,是这样的,我在两个节点上都加了amp,喇叭和耳机都有声了,只是不能自动切换
把耳机和喇叭放到一个下面,会五国,应该还是哪里没做好,不管了,有声音都很满足了,
麦还没搞定,慢慢再搞它。。
fredleee
发表于 2009-12-10 15:18
紫米老师,已经反复阅读你的教程有多次,但仍然没有搞定我的ALC888声卡,也许这块集成在方正E200电脑上的声卡有什么古怪?呵呵。
我想首先向你请教第一个问题:
我已经设置了LegacyHDA.kext、HDAEnable.kext,在“System Preferences”里面可以看见自己设置的Sound - Input / Output,但是在“System Profiles”里面,Audio (Built In)的“Available Devices”却是空的,仅仅显示了“Intel High Definition Audio: Device ID:0x1AA70013 Audio ID:888”,这是为什么呢?
谢谢!
紫米
发表于 2009-12-10 19:52
回复 338# fredleee
我想是因為你並沒有在 HDAEnable.kext 裡面的
Info.Plist 開啓找到 ConfigData 加入資訊,
所以系統無法顯示你的裝置資訊。
shiner-chen
发表于 2009-12-10 20:21
谢谢了,学习仲
jfxt
发表于 2009-12-10 20:51
收藏待研究。
prince2008
发表于 2009-12-10 22:42
好复杂啊,还是去google一下