Github上有大佬放出了补丁,但不知道咋用
源代码贴在下边,有动手能力的可以直接编译一下,最好能分享一下:
原话:Starting from bluetoothd BUILD Oct 10 2021 22:19:20, Apple hardcoded Bcrm and CSR's USB Vendor ID and only allows bluetoothd to match on products from those two companies. Here's a dirty workaround, please note that this is not an ideal solution and precompiled binaries will not be uploaded. Feel free to compile with the patch for your personal use. 补丁: diff --git a/IntelBluetoothFirmware/IntelBluetoothFirmware.cpp b/IntelBluetoothFirmware/IntelBluetoothFirmware.cpp index cfc8505..3696ea6 100644 --- a/IntelBluetoothFirmware/IntelBluetoothFirmware.cpp +++ b/IntelBluetoothFirmware/IntelBluetoothFirmware.cpp @@ -104,6 +104,7 @@ bool IntelBluetoothFirmware::start(IOService *provider) void IntelBluetoothFirmware::publishReg(bool isSucceed, const char *fwName) { m_pDevice->setProperty("FirmwareLoaded", isSucceed); if (isSucceed) { setProperty("fw_name", OSString::withCString(fwName)); + m_pDevice->setProperty("idVendor", (unsigned long long)0x0A5C, (sizeof(UInt16) * 8)); }
|