Broadcom WiFi/BlueTooth BCM94352z(DW1560)的正确驱动姿势[原始方法]

21次阅读
没有评论

Broadcom WiFi/BlueTooth BCM94352z(DW1560)的正确驱动姿势[原始方法]

问题的提出:

  • 在 macOS Sierra 上,当使用 BMC94532z NGFF WiFi 卡时,AirportBrcm4360.kext不再成功加载。这个问题是由于驱动程序无法初始化 fvco(频率压控振荡器)引起的。

解决方案:两种方法任选其一【我假设你的系统是 10.12.x,同时也给出即将发布的 10.13.x 的方法】

  • 使用应用程序 Clover ConfiguratorClover中的 KextsToPatch 应用以下补丁,以使 BCM94352z 启用 WiFi:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Name:           AirPortBrcm4360
Comment: 在 Brcm4360 驱动中添加 BCM94352z 的设备 ID:0x43b114e4
Find: pci14e4,43a0
Replace: pci14e4,43b1
MatchOS: 10.12.x
InfoPlistPatch: true

Name: AirPortBrcmNIC
Comment: 在 Brcm4360 驱动中添加 BCM94352z 的设备 ID:0x43b114e4
Find: pci14e4,43a0
Replace: pci14e4,43b1
MatchOS: 10.13.x
InfoPlistPatch: true

Name: AirPortBrcm4360
Comment: 初始化 fvco 以加载 BCM4360 驱动[10.12.x] - Darkvoid
Find: 81F952AA00007529
Replace: 81F952AA00006690

Name: AirPortBrcmNIC
Comment: 初始化 fvco 以加载 BCM4360 驱动[10.13.x]
Find: 81F952AA00007529
Replace: 81F952AA00006690
  • 可以使用文本编辑器直接打开 config.plist,将下面的内容粘贴到<key>KextsToPatch</key>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<dict>
<key>Comment</key>
<string>在 Brcm4360 驱动中添加 BCM94352z 的设备 ID:0x43b114e4</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<string>pci14e4,43a0</string>
<key>InfoPlistPatch</key>
<true/>
<key>MatchOS</key>
<string>10.12.x</string>
<key>Name</key>
<string>AirPortBrcm4360</string>
<key>Replace</key>
<string>pci14e4,43b1</string>
</dict>
<dict>
<key>Comment</key>
<string>初始化 fvco 以加载 BCM4360 驱动 [10.12.x] - Darkvoid</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
gflSqgAAdSk=
</data>
<key>MatchOS</key>
<string>10.12.x</string>
<key>Name</key>
<string>com.apple.driver.AirPort.Brcm4360</string>
<key>Replace</key>
<data>
gflSqgAAZpA=
</data>
</dict>
<dict>
<key>Comment</key>
<string> 在 Brcm4360 驱动中添加 BCM94352z 的设备 ID:0x43b114e4</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<string>pci14e4,43a0</string>
<key>InfoPlistPatch</key>
<true/>
<key>MatchOS</key>
<string>10.13.x</string>
<key>Name</key>
<string>AirPortBrcmNIC</string>
<key>Replace</key>
<string>pci14e4,43b1</string>
</dict>
<dict>
<key>Comment</key>
<string>初始化 fvco 以加载 BCM4360 驱动[10.13.x]</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
gflSqgAAdSk=
</data>
<key>MatchOS</key>
<string>10.13.x</string>
<key>Name</key>
<string>AirPortBrcmNIC</string>
<key>Replace</key>
<data>
gflSqgAAZpA=
</data>
</dict>

它看起来是这个样子的:
Broadcom WiFi/BlueTooth BCM94352z(DW1560)的正确驱动姿势[原始方法]

config.plist文件的修改到此结束
现在 BCM94352z 的 WIFI 应该已经可以工作了,你甚至都不需要添加仿冒 WIFI 的设备 ID。当然,在重启前,还要重建一下系统的缓存,命令为:

1
2
3
4
5
6
7
8
9
10
#!/bin/sh
sudo chmod -Rf 755 /S*/L*/E*
sudo chown -Rf 0:0 /S*/L*/E*
sudo chmod -Rf 755 /L*/E*
sudo chown -Rf 0:0 /L*/E*
sudo rm -Rf /S*/L*/PrelinkedKernels/*
sudo rm -Rf /S*/L*/Caches/com.apple.kext.caches/*
sudo touch -f /S*/L*/E*
sudo touch -f /L*/E*
sudo kextcache -Boot -U /

重启你的系统,检查 WIFI 是否工作正常。

驱动你的蓝牙

Clover 设置:
  • 使用应用程序 Clover ConfiguratorClover中的 KextsToPatch 应用以下补丁,以使 BCM94352z 启用蓝牙:
1
2
3
4
Name:       IOBluetoothFamily
Comment: 10.11+-BT4LE-Handoff-Hotspot-lisai9093
Find: 4885ff74 47488b07
Replace: 41be0f00 0000eb44
  • 可以使用文本编辑器直接打开 config.plist,将下面的内容粘贴到<key>KextsToPatch</key>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<dict>
<key>Comment</key>
<string>10.11+-BT4LE-Handoff-Hotspot-lisai9093</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
SIX/dEdIiwc=
</data>
<key>Name</key>
<string>IOBluetoothFamily</string>
<key>Replace</key>
<data>
Qb4PAAAA60Q=
</data>
</dict>
驱动:

下载:RehabMan-FakePCIID RehabMan-BrcmPatchRAM AirportBrcmFixup

  1. 将文件 BrcmFirmwareData.kextBrcmPatchRAM2.kext复制到 /EFI/CLOVER/kexts/Other 目录下
  2. 将文件 FakePCIID_Broadcom_WiFi.kextFakePCIID.kext复制到 /EFI/CLOVER/kexts/Other 目录下
  3. 将文件 AirportBrcmFixup.kext 复制到 /EFI/CLOVER/kexts/Other 目录下, 由于 AirportBrcmFixup.kext 是依赖于 Lilu 运行的插件,所以还需要检查该目录下必须存在Lilu.kext
  4. 包括这些文件的目录看起来是这样的:
    Broadcom WiFi/BlueTooth BCM94352z(DW1560)的正确驱动姿势[原始方法]

当然,在重启前,还要重建一下系统的缓存,命令为:

1
2
3
sudo rm -rf /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
sudo rm -rf /System/Library/PrelinkedKernels/prelinkedkernel
sudo touch /System/Library/Extensions/ && sudo kextcache -u /

重启你的系统,检查蓝牙是否工作正常。

写在最后

这是驱动 BCM94352z(DW1560)的基础设置,还有些高级设置需要各位多爬帖。

正文完
 0
liveob
版权声明:本站原创文章,由 liveob 于2024-09-14发表,共计3724字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)
验证码