Win10论坛

Win10正式版系统下载主题平板

重定义Modern UI,打造完美Windows全新体验

Windows10下载|安装|新手宝典|必备软件

搜索
楼主: 1234wangxinxin

[教程] (汉化)戴尔xps13 9360 安装MacOS Sierra 10.12.x 长期支持 教程 [复制链接]

Rank: 1

UID
1887305
帖子
70
PB币
0
贡献
0
技术
6
活跃
136
发表于 2017-6-21 21:36:52 |显示全部楼层

-----------------2017.6.21更新--------------


DSDT 打补丁:

Patches marked with [R] are credits ofRehabMan, taken from his superb Laptop Patches repo. You are encouraged to usethem off the live repo. They are reported here for persistence andexact-version matching purposes.(译者注:懒得翻译了)

[R] [syn] Rename _DSM methods to XDSM

  1. into_all method label _DSM set_label begin XDSM end;
  2. into_all method code_regex _DSM replaceall_matched begin XDSM end;
复制代码

*Notes: this is a generic prep-patch.*


[R] [igpu] Brightness fix

  1. into_all device label PNLF remove_entry;
  2. into definitionblock code_regex . insert
  3. begin
  4. Scope (_SB)\n
  5. {\n
  6.     Device (PNLF)\n
  7.     {\n
  8.         Name (_ADR, Zero)\n
  9.         Name (_HID, EisaId ("APP0002"))\n
  10.         Name (_CID, "backlight")\n
  11.         Name (_UID, 10)\n
  12.         Name (_STA, 0x0B)\n
  13.     }\n
  14. }\n
  15. end;
复制代码

*Notes:这个补丁可以在MacOS里开启盒盖睡眠和亮度调节。但这个不能全范围调节亮度,详情见下面的“keyboardpatch”和”OSIS patch”.

[R] [sys] Fix _WAK Arg0 v2

  1. into method label _WAK code_regex ([\s\S]*) replace_matched
  2. begin
  3. If (LOr(LLess(Arg0,1),LGreater(Arg0,5))) { Store(3,Arg0) }\n
  4. %1
  5. end;

  6. into method label \_WAK code_regex ([\s\S]*) replace_matched
  7. begin
  8. If (LOr(LLess(Arg0,1),LGreater(Arg0,5))) { Store(3,Arg0) }\n
  9. %1
  10. end;
复制代码

*Notes:这个可能在10.12中不是必须的。

[R] [sys] Fix Mutex with non-zero SyncLevel

  1. into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
  2. into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
  3. into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
  4. into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
  5. into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
  6. into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
  7. into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
  8. into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
  9. into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
  10. into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0) end;
复制代码

*Notes: this is a generic prep-patch.*

[R] [sys] HPET Fix

  1. into method label _STA parent_hid PNP0103 remove_entry;
  2. into device name_hid PNP0103 code_regex Name\s\(_STA\,\s+0x0F\) remove_matched;
  3. into device name_hid PNP0103 insert
  4. begin
  5. Name (_STA, 0x0F)\n
  6. end;

  7. into method label _CRS parent_hid PNP0103 remove_entry;
  8. into device name_hid PNP0103 insert
  9. begin
  10. Method (_CRS, 0, NotSerialized)\n
  11. {\n
  12.     Return (BUF0)\n
  13. }\n
  14. end;

  15. *Notes: this is a generic prep-patch.*
复制代码

*Notes: this is a generic prep-patch.*

[R] [sys] IRQ Fix

  1. into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
  2. into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
  3. into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched;
  4. into device name_hid PNP0103 code_regex IRQNoFlags\s\(\)\n\s+\{.*\} removeall_matched;
  5. into device name_hid PNP0103 code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\).*\n\s+\{((?:.|\n)*)\}\) replace_matched
  6. begin
  7. Name (%1, ResourceTemplate()\n
  8. {\n
  9.     IRQNoFlags() { 0, 8, 11, 15 }\n
  10. %2
  11. })\n
  12. end;
复制代码

*Notes: this is a generic prep-patch.*

[R] [sys] RTC Fix

  1. into device name_hid PNP0B00 code_regex (IO\s\((?:\s*[^,]+,\s*(?:\/\/\s.*)?\s*\n)+\s*)(\dx\d+)(,\s*(?:\/\/\s.*)?\s*\n\s*\)) replace_matched begin %10x02%3 end;
复制代码

*Notes: this is a generic prep-patch.*

[R] [sys] Skylake LPC

  1. into method label _DSM parent_adr 0x001F0000 remove_entry;
  2. into device name_adr 0x001F0000 insert
  3. begin
  4. Method (_DSM, 4, NotSerialized)\n
  5. {\n
  6.     If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
  7.     Return (Package()\n
  8.     {\n
  9.         "compatible", "pci8086,9cc1",\n
  10.     })\n
  11. }\n
  12. end;
复制代码

*Notes: this is a generic prep-patch.*

[R] [sys] SMBUS Fix

  1. into device label BUS0 parent_adr 0x001F0003 remove_entry;
  2. into device name_adr 0x001F0003 insert
  3. begin
  4. Device (BUS0)\n
  5. {\n
  6.     Name (_CID, "smbus")\n
  7.     Name (_ADR, Zero)\n
  8.     Device (DVL0)\n
  9.     {\n
  10.         Name (_ADR, 0x57)\n
  11.         Name (_CID, "diagsvault")\n
  12.         Method (_DSM, 4, NotSerialized)\n
  13.         {\n
  14.             If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
  15.             Return (Package() { "address", 0x57 })\n
  16.         }\n
  17.     }\n
  18. }\n
  19. end;
复制代码

*Notes: this is a generic prep-patch.*

[R] [usb] usb_prw_0x6d_xhc_skl

  1. into device label XHC1 name_adr 0x00140000 remove_entry;

  2. into method label _PRW parent_adr 0x00140000 remove_entry;
  3. into method label _PRW parent_adr 0x00140001 remove_entry;
  4. into method label _PRW parent_adr 0x001F0003 remove_entry;

  5. into method label _PRW parent_adr 0x00190000 remove_entry;
  6. into method label _PRW parent_adr 0x001F0006 remove_entry;

  7. into method label _PRW parent_label _SB.PCI0.EHC1 remove_entry;
  8. into method label _PRW parent_label _SB.PCI0.EHC2 remove_entry;
  9. into method label _PRW parent_label _SB.PCI0.XHC remove_entry;
  10. into method label _PRW parent_label \_SB.PCI0.EHC1 remove_entry;
  11. into method label _PRW parent_label \_SB.PCI0.EHC2 remove_entry;
  12. into method label _PRW parent_label \_SB.PCI0.XHC remove_entry;

  13. into device name_adr 0x00140000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched;
  14. into device name_adr 0x00140001 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched;
  15. into device name_adr 0x001F0003 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched;
  16. into device name_adr 0x00190000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\}\) remove_matched;

  17. into device name_adr 0x00140000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched;
  18. into device name_adr 0x00140001 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched;
  19. into device name_adr 0x001F0003 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched;
  20. into device name_adr 0x00190000 code_regex Name.*_PRW.*\n.*\n.*\n.*\n.*\n.*\}\) remove_matched;

  21. into device name_adr 0x00140000 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
  22. into device name_adr 0x00140001 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
  23. into device name_adr 0x001F0003 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
  24. into device name_adr 0x00190000 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;
  25. into device name_adr 0x001F0006 insert begin Method(_PRW) { Return(Package() { 0x6D, 0 }) } end;

  26. into method label _DSM parent_adr 0x00140000 remove_entry;
  27. into device name_adr 0x00140000 insert
  28. begin
  29. Method (_DSM, 4, NotSerialized)\n
  30. {\n
  31.     If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
  32.     Return (Package()\n
  33.     {\n
  34.         "subsystem-id", Buffer() { 0x70, 0x72, 0x00, 0x00 },\n
  35.         "subsystem-vendor-id", Buffer() { 0x86, 0x80, 0x00, 0x00 },\n
  36.         "AAPL,current-available", 2100,\n
  37.         "AAPL,current-extra", 2200,\n
  38.         "AAPL,current-extra-in-sleep", 1600,\n
  39.         "AAPL,device-internal", 0x02,\n
  40.         "AAPL,max-port-current-in-sleep", 2100,\n
  41.     })\n
  42. }\n
  43. end;
复制代码

*Notes:打完这个补丁后就能为苹果设备输出更大的电流,在10.12中,即使系统属性说没有连接苹果设备后输出大电流,每个usb接口输出的也都为1A


[R] Fix Shutdown->reboot

  1. into method label _PTS code_regex ([\s\S]*) replace_matched
  2. begin
  3. If (LNotEqual(Arg0,5)) {\n
  4. %1\n
  5. }\n
  6. end;
复制代码

*Notes:这个补丁修复了当usb设备插入电脑后睡眠立马唤醒的问题。

MATH device (credit syscl)

  1. into method label _STA parent_hid PNP0C04 remove_entry;

  2. *Notes: this is a generic prep-patch.*

  3. Set OSIS to linux (credit VBO)

  4. into_all method code_regex If\s+\([\\]?_OSI\s+\(\"Linux\"\)\) replace_matched begin If(LOr(_OSI("Darwin"),_OSI("Linux"))) end;

  5. into_all method code_regex If\s+\([\\]?_OSI\s+\(LINX\)\) replace_matched begin If(LOr(_OSI("Darwin"),_OSI(LINX))) end;
复制代码

*Notes:这需要IntelBacklight ad VoodooPS2Controller kexts内核文件和亮度健的正确运行相结合。亮度等级非常灵活,亮度可以变得非常非常小,几乎看不见。没有显著的PWM.

Keyboard patch (credit VBO)

  1. into method label SMEE replace_content
  2. begin
  3.         Local0 = Arg0\n
  4.         Local0 = GENS (0x11, Zero, Zero)\n
  5.         If ((\_SB.OSID () >= 0x20))\n
  6.         {\n
  7.             If ((Local0 & 0x04))\n
  8.             {\n
  9.                 // Brightness up\n
  10.                 Notify(\_SB.PCI0.LPCB.PS2K, 0x0206)\n
  11.                 Notify(\_SB.PCI0.LPCB.PS2K, 0x0286)\n
  12.                 EV5 (One, Zero)\n
  13.             }\n
  14.             If ((Local0 & 0x02))\n
  15.             {\n
  16.                 // Brightness down\n
  17.                Notify(\_SB.PCI0.LPCB.PS2K, 0x0205)\n
  18.                Notify(\_SB.PCI0.LPCB.PS2K, 0x0285)\n
  19.                EV5 (0x02, Zero)\n
  20.             }\n
  21.         }\n
  22.         If ((Local0 & 0x08))\n
  23.         {\n
  24.             Local0 = GENS (0x1D, Zero, Zero)\n
  25.             EV16 (Local0, Zero)\n
  26.         }\n
  27. end;
复制代码

*Notes:这需要在"OSIS Linux patch"生效后才会使亮度快捷键生效。


保存打过补丁的DSDT.aml。一定要记得保存原来的和修改过的DSDT.dsl,以防你以后需要应用或还原某些补丁。

将打过补丁的DSDT.aml和在我附件里所有的SSDT*.aml放到CLOVER/ACPI/patched文件夹。

所有的.aml文件将会被自动加载。

不要将原始的SSDT复制到/patched文件夹里,我们不会删除原始的SSDT,所以你不需要再次注入它们,会出现问题


附件: 你需要登录才可以下载或查看附件。没有帐号?注册

Rank: 5Rank: 5Rank: 5

UID
232240
帖子
622
PB币
1816
贡献
0
技术
0
活跃
970
发表于 2017-7-4 12:07:16 |显示全部楼层
谢谢,楼主继续

Rank: 7Rank: 7Rank: 7

UID
4809963
帖子
2292
PB币
2591
贡献
0
技术
2
活跃
1094
发表于 2017-7-4 12:15:47 来自手机 |显示全部楼层
真是绝世好贴 我好好学习 顺带谢谢您

Rank: 2Rank: 2

UID
2243335
帖子
124
PB币
0
贡献
0
技术
0
活跃
59
发表于 2017-7-4 23:28:25 |显示全部楼层
支持你,你辛苦是我们前进的动力

Rank: 1

UID
2590999
帖子
66
PB币
0
贡献
0
技术
0
活跃
75
发表于 2017-7-18 14:36:57 |显示全部楼层
记号,谢谢!!!

Rank: 2Rank: 2

UID
3164668
帖子
118
PB币
201
贡献
0
技术
0
活跃
383
发表于 2017-7-18 15:50:51 |显示全部楼层
你好问下楼主,楼主网卡换了么,换的什么型号的
我换了DW1560后,在win10下每次待机Wifi就不能上网需要断开重连下才行,不知道是不是个例

Rank: 2Rank: 2

UID
4700509
帖子
257
PB币
246
贡献
0
技术
0
活跃
252
发表于 2017-7-18 16:24:02 |显示全部楼层
1234wangxinxin 发表于 2017-6-16 10:39
我不知道怎么修改帖子啊= =....先在下面更了,希望有人能告诉我如何修改自己发过的帖子------------------- ...

楼主,改帖子,点论坛用户名进入个人空间,空间里左边找主题,点进去看到你所有的帖子列表,点一篇,下面有编辑,点。

Rank: 5Rank: 5Rank: 5

UID
407268
帖子
1145
PB币
1444
贡献
0
技术
0
活跃
825
发表于 2017-7-20 13:50:19 |显示全部楼层
关注收藏学习!谢谢楼主!加油!

Rank: 2Rank: 2

UID
1431398
帖子
197
PB币
13
贡献
0
技术
0
活跃
305
发表于 2017-7-20 19:04:48 |显示全部楼层
楼主,你的耳机带识别是如何做到的?还有楼主是6代U还是7代的?亮度调节如何做到的?我是燃7000的机子,我也想用耳机,和屏幕调节,还有HDMI输出这两个功能
可以帮忙一下吗?楼主!~

Rank: 1

UID
2199981
帖子
108
PB币
0
贡献
0
技术
0
活跃
415
发表于 2017-7-23 16:15:41 |显示全部楼层
做个记号、楼主有心了、加油!

Rank: 1

UID
3953956
帖子
20
PB币
85
贡献
0
技术
0
活跃
39
发表于 2017-7-23 21:16:53 |显示全部楼层
真的很感谢楼主 而且这对自己的英语能力也能有提升~

Rank: 2Rank: 2

UID
2525451
帖子
230
PB币
3
贡献
0
技术
0
活跃
414
发表于 2017-10-4 21:17:38 |显示全部楼层
记号一个。感谢楼主

Rank: 5Rank: 5Rank: 5

UID
3744858
帖子
540
PB币
208
贡献
0
技术
2
活跃
1098
发表于 2017-10-18 10:22:50 |显示全部楼层
顶楼主!!!感谢分析翻译!!!

Rank: 1

UID
274978
帖子
64
PB币
1868
贡献
0
技术
0
活跃
34
发表于 2017-11-26 19:35:17 |显示全部楼层
我也是XPS 13 9360的用户,不过与楼主不同的是,屏幕是3K触摸屏,也想试一下黑苹果,想占位学习一下。

Rank: 2Rank: 2

UID
1022812
帖子
342
PB币
67
贡献
0
技术
0
活跃
249
发表于 2017-12-4 22:28:34 |显示全部楼层
感谢分享,这个确实不错,谢谢

Rank: 1

UID
480501
帖子
23
PB币
25
贡献
0
技术
0
活跃
8
发表于 2018-2-28 19:46:45 |显示全部楼层
好文,先收藏了。!

Rank: 1

UID
4839239
帖子
5
PB币
55
贡献
0
技术
0
活跃
6
发表于 2018-3-15 16:08:26 |显示全部楼层
多谢楼主~准备买9360了~

Rank: 1

UID
4643028
帖子
102
PB币
1
贡献
0
技术
0
活跃
99
发表于 2018-3-15 17:04:09 |显示全部楼层
读条完就正常了

Rank: 1

UID
4643028
帖子
102
PB币
1
贡献
0
技术
0
活跃
99
发表于 2018-3-15 17:04:48 |显示全部楼层
读条完就正常了

Rank: 2Rank: 2

UID
44801
帖子
181
PB币
43
贡献
0
技术
1
活跃
229
发表于 2018-3-16 09:16:52 |显示全部楼层
MArk一下。入手了9350.
回顶部
Copyright (C) 2005-2021 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛 | 电脑硬件 | 安卓软件