Skip to content

Commit

Permalink
修复休眠唤醒后,蓝牙失效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Dec 24, 2019
1 parent 971aab7 commit 4c94185
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 60 deletions.
27 changes: 8 additions & 19 deletions EFI/CLOVER/config.plist
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<key>Secure</key>
<false/>
<key>Timeout</key>
<integer>1</integer>
<integer>3</integer>
</dict>
<key>BootGraphics</key>
<dict>
Expand Down Expand Up @@ -191,7 +191,7 @@
<key>hda-gfx</key>
<string>onboard-1</string>
<key>layout-id</key>
<data>AAAAAA==</data>
<data>DgAAAA==</data>
<key>model</key>
<string>Cannon Point-LP High Definition Audio Controller</string>
</dict>
Expand All @@ -205,12 +205,6 @@
<string>VGA compatible controller</string>
<key>enable-hdmi-dividers-fix</key>
<data>AQAAAA==</data>
<key>framebuffer-con1-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con1-type</key>
<data>AAgAAA==</data>
<key>framebuffer-patch-enable</key>
<data>AQAAAA==</data>
<key>hda-gfx</key>
<string>onboard-1</string>
<key>model</key>
Expand Down Expand Up @@ -240,11 +234,6 @@
<string>Preboot</string>
<string>Recovery</string>
</array>
<key>Mouse</key>
<dict>
<key>Enabled</key>
<false/>
</dict>
<key>Scan</key>
<dict>
<key>Entries</key>
Expand Down Expand Up @@ -329,9 +318,9 @@
<key>CsrActiveConfig</key>
<string>0x67</string>
<key>MLB</key>
<string>C07951130GUJA</string>
<string>C07829101GU1H</string>
<key>ROM</key>
<data>p92M1SJG</data>
<data>VQdqiH7+</data>
</dict>
<key>SMBIOS</key>
<dict>
Expand All @@ -346,7 +335,7 @@
<key>BoardManufacturer</key>
<string>Apple Inc.</string>
<key>BoardSerialNumber</key>
<string>C07951130GUJA</string>
<string>C07829101GU1H</string>
<key>BoardType</key>
<integer>10</integer>
<key>BoardVersion</key>
Expand Down Expand Up @@ -376,16 +365,16 @@
<key>ProductName</key>
<string>Macmini8,1</string>
<key>SerialNumber</key>
<string>C07ZVJYGJYVX</string>
<string>C07X3RZMJYVX</string>
<key>SmUUID</key>
<string>660D39DB-2372-4E5D-B351-511D06D52246</string>
<string>4EDD8A4B-1051-4004-938E-0998DF887EFE</string>
<key>Version</key>
<string>1.0</string>
</dict>
<key>SystemParameters</key>
<dict>
<key>CustomUUID</key>
<string>967DDA1E-FECA-4928-ADB7-D8CE9244BA60</string>
<string>356907AE-CD24-4BD2-B4E7-BDEE664A7402</string>
<key>InjectKexts</key>
<string>Detect</string>
<key>InjectSystemID</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleGetInfoString</key>
<string>patricksworld.de thx to brumbaer</string>
<string>1.0 Copyright © 2018 Headsoft. All rights reserved.</string>
<key>CFBundleIdentifier</key>
<string>de.patricksworld.USBNUC8i7BEH</string>
<string>com.Headsoft.USBPorts</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>USBInjector for NUC8i7BEH</string>
<string>USBPorts</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
Expand All @@ -22,98 +22,166 @@
<string>1.0</string>
<key>IOKitPersonalities</key>
<dict>
<key>Macmini8,1-TBTU</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleUSBMergeNub</string>
<key>IOClass</key>
<string>AppleUSBMergeNub</string>
<key>IONameMatch</key>
<string>TBTU</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSBEHCIPCI</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AwAAAA==
</data>
<key>ports</key>
<dict>
<key>UB21</key>
<dict>
<key>UsbConnector</key>
<integer>9</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>UB31</key>
<dict>
<key>UsbConnector</key>
<integer>9</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
</dict>
</dict>
<key>model</key>
<string>Macmini8,1</string>
</dict>
<key>Macmini8,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleUSBHostMergeProperties</string>
<string>com.apple.driver.AppleUSBMergeNub</string>
<key>IOClass</key>
<string>AppleUSBHostMergeProperties</string>
<string>AppleUSBMergeNub</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>kUSBSleepPortCurrentLimit</key>
<integer>2100</integer>
<key>kUSBSleepPowerSupply</key>
<integer>3600</integer>
<key>kUSBWakePortCurrentLimit</key>
<integer>2100</integer>
<key>kUSBWakePowerSupply</key>
<integer>5200</integer>
<key>port-count</key>
<data>EAAAAA==</data>
<data>
EAAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>AQAAAA==</data>
<data>
AQAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>AgAAAA==</data>
<data>
AgAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>AwAAAA==</data>
<data>
AwAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>BAAAAA==</data>
<data>
BAAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>port</key>
<data>BQAAAA==</data>
<data>
BQAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>port</key>
<data>BgAAAA==</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>port</key>
<data>CgAAAA==</data>
<data>
BgAAAA==
</data>
</dict>
<key>SS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>DQAAAA==</data>
<data>
DQAAAA==
</data>
</dict>
<key>SS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>DgAAAA==</data>
<data>
DgAAAA==
</data>
</dict>
<key>SS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>DwAAAA==</data>
<data>
DwAAAA==
</data>
</dict>
<key>SS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>EAAAAA==</data>
<data>
EAAAAA==
</data>
</dict>
</dict>
</dict>
Expand Down
32 changes: 14 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# NUC8I5BEH EFI macOS Mojave

## 硬件配置
## 更新

### 2019-12-24

1. 解决休眠秒醒,并且蓝牙不可用的问题(解决方案是:使用 hackintool 禁用板载蓝牙的USB口 HS10 )

## 硬件配置

| 硬件 | 型号 | 备注 |
| ------------- | ------------------- | ------------------------------------ |
| 主机型号 | NUC8I5BEH | |
| BIOS 版本 | 75 | |
| 网卡 | 博通 BCM94360CS2 | 转 M.2 |
| 内存 | 协德 DDR4 2666 16G | 虽然内存是2666德,但只支持 2400 |
| 内存 | 协德 DDR4 2666 16G | 虽然内存是 2666 德,但只支持 2400 |
| 硬盘 | 东芝 TR200 480G | SATA 接口,不能开启 TRIM |
| 显示器 HDMI | HKC T7000 2K | 老显示器,接 HDMI 口 |
| 显示器 USBC-C | 15.6 便携显示器 | 供电和信号都使用 USB-C(简称一线通) |
Expand All @@ -34,26 +40,16 @@ Clover r5707
5. USB 正常
6. 声卡驱动正常
7. CPU 变频支持
8. 休眠唤醒正常

## 已知问题

1. 休眠唤醒之后,蓝牙无法驱动

具体现象为:
- 无法使用蓝牙唤醒,只能按电源开关唤醒
- 蓝牙设置,蓝牙无法关闭,也无法搜索

神奇的现象:

休眠唤醒之后,蓝牙不正常了,但是我的 Filco 键盘还能用,罗技的蓝牙鼠标就不能用,这个估计和 BCM94360CS2 支持 HID 的协议有关,在 BIOS 和 Clover 下,Filco 键盘可以用,但是罗技的鼠标就不行
1. 开机有几率卡在进度条,暂时未知
2. 读卡器

问题分析:
我使用的 BCM94360CS2 是接在 M.2 转接板子上的,然后蓝牙是接到 内置的 USB 1.25 mm 的端子上,休眠之后 M2 接口会切断电源,唤醒之后 能看到蓝牙的USB 还在,但是驱动不正常。目前没有解决方案,如果有人知道,请联系我。

2. 读卡器
基本不用读卡器,所以也没有刻意去修复,试了 Switch 的 TF 卡,的确用不了

基本不用读卡器,所以也没有刻意去修复,试了 Switch 的 TF 卡,的确用不了
3. 无法使用蓝牙设备唤醒 NUC,只能按电源键或者 USB 设备唤醒

## 补充说明

Expand All @@ -62,4 +58,4 @@ Clover r5707
1. 序列号:请自行更改序列号,可以直接使用 Clover Configurator 生成
2. 其他型号支持:NUC8I7 除了 CPU 以外,其他都一样,所以应该也是能用的
3. Catalina: 10.15 已经测试了无法引导
4. 雷电3热插拔未知:我的 TYPE-C 显示器走的是 DP 协议,并不是雷电协议,很多人反应雷电接口不支持热插拔,因为我没有雷电设备,所以目前无法知道是否支持热插拔
4. 雷电 3 热插拔未知:我的 TYPE-C 显示器走的是 DP 协议,并不是雷电协议,很多人反应雷电接口不支持热插拔,因为我没有雷电设备,所以目前无法知道是否支持热插拔

0 comments on commit 4c94185

Please sign in to comment.