时空慢步 发表于 2016-6-17 22:32

biggreat 发表于 2016-6-17 22:25 https://www.pcbeta.com/static/image/common/back.gif
applealc驱动的话,需要重新编译;仿冒驱动的话,找 resources下的和你layout id相同的编号layout文件,然 ...

resources再那里找呀 applealc中没有呀 里面只有info.plist
defaultvalue改成什么才能记住上次的音量呢

biggreat 发表于 2016-6-17 22:46

时空慢步 发表于 2016-6-17 22:32 https://www.pcbeta.com/static/image/common/back.gif
resources再那里找呀 applealc中没有呀 里面只有info.plist
defaultvalue改成什么才能记住上次的音量呢
是不是给你做过 cx20722 ? 取消了开机默认声音音量

时空慢步 发表于 2016-6-17 22:48

biggreat 发表于 2016-6-17 22:46 https://www.pcbeta.com/static/image/common/back.gif
是不是给你做过 cx20722 ? 取消了开机默认声音音量

是的,谢谢,我测试下 一会儿反馈结果

时空慢步 发表于 2016-6-17 22:55

biggreat 发表于 2016-6-17 22:46 https://www.pcbeta.com/static/image/common/back.gif
是不是给你做过 cx20722 ? 取消了开机默认声音音量

经过测试不起作用,依然开机声音变成最大

时空慢步 发表于 2016-6-17 22:56

biggreat 发表于 2016-6-17 22:46 https://www.pcbeta.com/static/image/common/back.gif
是不是给你做过 cx20722 ? 取消了开机默认声音音量

经测试,开机音量依然最大,另外内置的麦克风又丢了,输入设备是空的

biggreat 发表于 2016-6-17 23:03

时空慢步 发表于 2016-6-17 22:55 https://www.pcbeta.com/static/image/common/back.gif
经过测试不起作用,依然开机声音变成最大

驱动中已取消开机默认声音,确认是否更新缓存;midi 音频设置中 内置输出是否设置

时空慢步 发表于 2016-6-17 23:25

biggreat 发表于 2016-6-17 23:03 https://www.pcbeta.com/static/image/common/back.gif
驱动中已取消开机默认声音,确认是否更新缓存;midi 音频设置中 内置输出是否设置


打开声音设置是这样的


时空慢步 发表于 2016-6-17 23:26

楼主 另我看您也是94352z可否把您的这个驱动共享下呢
我的也是 ,但是蓝牙在睡眠唤醒后就显示不可用了,不知道为什么

biggreat 发表于 2016-6-17 23:29

时空慢步 发表于 2016-6-17 23:26 https://www.pcbeta.com/static/image/common/back.gif
楼主 另我看您也是94352z可否把您的这个驱动共享下呢
我的也是 ,但是蓝牙在睡眠唤醒后就显示不可用了, ...

蓝牙采用usb方式,应该是你的机子睡眠不完美造成的(usb不完美),和蓝牙驱动没啥关系吧

时空慢步 发表于 2016-6-17 23:41

biggreat 发表于 2016-6-17 23:29
蓝牙采用usb方式,应该是你的机子睡眠不完美造成的(usb不完美),和蓝牙驱动没啥关系吧

我的是替换的内置无线网卡,怎么叫usb方式呢

1984275849 发表于 2016-6-18 00:30

谢谢分享。。。

biggreat 发表于 2016-6-18 15:16

时空慢步 发表于 2016-6-17 23:41 https://www.pcbeta.com/static/image/common/back.gif
我的是替换的内置无线网卡,怎么叫usb方式呢

蓝牙走的是usb方式,所以usb不完美,会影响蓝牙的

inetmail 发表于 2016-6-18 15:16

技术贴必顶~~{:8_508:}献给我亲爱滴师傅大人~~

inetmail 发表于 2016-6-18 17:59

{:8_536:}取经者路过宝地~~

biggreat 发表于 2016-6-18 20:13

本帖最后由 biggreat 于 2016-6-18 20:42 编辑

聊聊如何正确驱动集成显卡HDMI(包括视频和音频)
必备条件:
1、必须使用AppleHDA驱动声卡(仿冒、clover、applealc都可以的),使用voodoo驱动声卡应该不行的。
2、dsdt或者ssdt中关于集成显卡的gfx0改为IGPU。
#Maintained by: RehabMan for: Laptop Patches#graphics_Rename-GFX0.txt
# Note: Most DSDT/SSDTs use GFX0 for the integrated graphics device,# but there are few renegades that use VID or AGP1.# If your DSDT uses VID or AGP1 instead of GFX0, see the # alternate patch "Rename VID/AGP1 to IGPU"
# sometimes there is already IGPU used for other thingsinto_all all code_regex IGPU, replaceall_matched begin IGFX, end;
# rename GFX0 -> IGPU for better power managementinto_all all code_regex GFX0\. replaceall_matched begin IGPU. end;into_all all code_regex \.GFX0 replaceall_matched begin .IGPU end;into_all all code_regex \sGFX0, replaceall_matched begin IGPU, end;into_all all code_regex \(GFX0 replaceall_matched begin (IGPU end;into_all all label GFX0 set_label begin IGPU end;into_all all label _SB.PCI0.GFX0 set_label begin _SB.PCI0.IGPU end;into_all all label \_SB.PCI0.GFX0 set_label begin \_SB.PCI0.IGPU end;into_all all label _SB.PCI0.GFX0.DD02 set_label begin _SB.PCI0.IGPU.DD02 end;into_all all label \_SB.PCI0.GFX0.DD02 set_label begin \_SB.PCI0.IGPU.DD02 end;into_all all label ^^^GFX0 set_label begin ^^^IGPU end;into_all all label ^^GFX0 set_label begin ^^IGPU end;into_all all label ^GFX0 set_label begin ^IGPU end;

3、对于Haswell/Broadwell集成显卡:dsdt需要打入补丁 renaming B0D3 to HDAU (device at 0x00030000)
#Maintained by: RehabMan for: Laptop Patches
#graphics_Rename-B0D3.txt

# for DSDT

into method label _WAK code_regex B0D3 replaceall_matched begin HDAU end;
into definitionblock code_regex B0D3 replaceall_matched begin HDAU end;

# for GFX0 SSDT

# Note: Change your layout ID if you need something different

# inject "hda-gfx"="onboard-1" into IGPU (GFX0 originally)
into method label _DSM parent_adr 0x00020000 remove_entry;
into device name_adr 0x00020000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"hda-gfx", Buffer() { "onboard-1" },\n
})\n
}\n
end;

# inject "hda-gfx"="onboard-1" into HDAU (B0D3 originally)
into method label _DSM parent_adr 0x00030000 remove_entry;
into device name_adr 0x00030000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 12, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
})\n
}\n
end;

into device label B0D3 set_label begin HDAU end;
into method label SBCB code_regex B0D3 replaceall_matched begin HDAU end;
4、dsdt中,对于HDAU、IGPU、HDEF三个装备注入相同的"hda-gfx" = "onboard-1" or= “onboard-2”
5、对于Haswell/Broadwell集成显卡,dsdt中HDAU和HDEF注入的layout id要一致。
6、对于Haswell集成显卡还要安装rehabman的FakePCIID.kext和FakePCIID_Intel_HDMI_Audio.kext
7、最重要的一点是要对fb(kext)打入恰当的补丁,即要修改连接类型(00 04 00 00)为(00 08 00 00)匹配物理连接,此处修改fb结合自己的ig-platform-id。苹果的设备大多采用DP连接(00 04 00 00),我们大多数笔记本采用HDMI(00 08 00 00)连接,如果你的是DP连接无需修改fb。
ig-platform-id:集成显卡注入的此属性有以下对应关系
0x01660003: HD4000 1366x768
0x01660004: HD4000 1600x900, 1920x1080
0x01660008: HD4000 1600x900, 1920x1080
0x01660009: HD4000 1600x900, 1920x1080
0x0a260006: HD4400/HD4600/HD5000
根据自己集成显卡注入的ig-platform-id结合以下信息,选择正确的补丁打入clover或者二进制文件
<key>KextsToPatch</key>
<array>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0105(12), 0x0a2e0008, 0x0a16000c, 0x0a2e000d, 0x0a26000d</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AQUJAAAEAAAHAQAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AQUSAAAIAAAHAQAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0204, 0x0d220003, 0x0a2e000a, 0x0a26000a</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AgQKAAAEAACHAAAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AgQKAAAIAACHAAAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0204, 0x0a2e0008, 0x0a16000c, 0x0a2e000d, 0x0a26000d</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AgQJAAAEAAAHAQAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AgQJAAAIAAAHAQAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0105, 0x0a2e0008, 0x0a16000c, 0x0a2e000d, 0x0a26000d</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AQUJAAAEAAAHAQAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AQUJAAAIAAAHAQAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0204(12), 0x0d220003, 0x0a2e000a, 0x0a26000a</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AgQKAAAEAACHAAAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AgQSAAAIAACHAAAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0204, 0x0a260005 0x0a260006</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AgQJAAAEAACHAAAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AgQJAAAIAACHAAAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0105(12), 0x0a260005 0x0a260006, 0x0d220003, 0x0a2e000a, 0x0a26000a</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AQUJAAAEAACHAAAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AQUSAAAIAACHAAAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0204(12), 0x0a260005 0x0a260006</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AgQJAAAEAACHAAAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AgQSAAAIAACHAAAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0105, 0x0a260005 0x0a260006, 0x0d220003, 0x0a2e000a, 0x0a26000a</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AQUJAAAEAACHAAAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AQUJAAAIAACHAAAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0204(12), 0x0a2e0008, 0x0a16000c, 0x0a2e000d, 0x0a26000d</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AgQJAAAEAAAHAQAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AgQSAAAIAAAHAQAA
</data>
</dict>
</array>
此文来源于rehabman大神,原帖参考:Intel IGPU HDMI/DP audio:http://www.tonymacx86.com/threads/guide-intel-igpu-hdmi-dp-audio-sandy-ivy-haswell-broadwell.189495/

biggreat 发表于 2016-6-18 20:16

本帖最后由 biggreat 于 2016-6-18 20:36 编辑

啥情况,本次维护论坛后,国外访问论坛很困难,经常百度云无法连接到pcbeta网站
重复了,备用

teslamodels 发表于 2016-6-18 20:51

biggreat 发表于 2016-6-12 23:12 https://www.pcbeta.com/static/image/common/back.gif
applealc是支持clover注入的,是不是系统盘原来有applealc?

这几天重装了系统,第一次放入efi引导有用,后来又不行了。还麻烦大神输入接口没有声音有没有办法解决?

CuminLo 发表于 2016-6-18 23:57

感谢大神的分享{:5_293:}

biggreat 发表于 2016-6-19 00:11

teslamodels 发表于 2016-6-18 20:51 https://www.pcbeta.com/static/image/common/back.gif
这几天重装了系统,第一次放入efi引导有用,后来又不行了。还麻烦大神输入接口没有声音有没有办法解决?

不是一句能说清的,有时间qq,分析诊断

biggreat 发表于 2016-6-19 01:57

本帖最后由 biggreat 于 2016-6-19 12:48 编辑

本帖2楼,我更新的帖子咋不见了,好多资源都在2楼。以前有帖子楼层丢失的情况吗备注:原来是帖子要审核,才没有出现,乌龙!
页: 20 21 22 23 24 25 26 27 28 29 [30] 31 32 33 34 35 36 37 38 39
查看完整版本: yoga2 13完美了!(授人以渔)全面仿冒声卡教程、制作案例和经验分享!!!