From b9127f5e1ede477577470cc4d4f55134a2901f5b Mon Sep 17 00:00:00 2001 From: zxystd <1051244836@qq.com> Date: Thu, 8 Feb 2024 09:37:03 +0800 Subject: [PATCH] Add support for Intel Discrete Misty Peak2/BE202 (8087:0038) --- IntelBluetoothFirmware/Info.plist | 17 +++++++++++++++++ .../IntelBluetoothFirmware.cpp | 3 ++- IntelBluetoothInjector/Info.plist | 15 +++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/IntelBluetoothFirmware/Info.plist b/IntelBluetoothFirmware/Info.plist index 14756ed..ff34d00 100644 --- a/IntelBluetoothFirmware/Info.plist +++ b/IntelBluetoothFirmware/Info.plist @@ -88,6 +88,23 @@ idVendor 32903 + IntelBluetoothFirmware_0038 + + CFBundleIdentifier + com.zxystd.IntelBluetoothFirmware + IOClass + IntelBluetoothFirmware + IOMatchCategory + IntelBluetoothFirmware + IOProbeScore + 4000 + IOProviderClass + IOUSBHostDevice + idProduct + 56 + idVendor + 32903 + IntelBluetoothFirmware_3165 CFBundleIdentifier diff --git a/IntelBluetoothFirmware/IntelBluetoothFirmware.cpp b/IntelBluetoothFirmware/IntelBluetoothFirmware.cpp index 3e1eac1..675ec76 100644 --- a/IntelBluetoothFirmware/IntelBluetoothFirmware.cpp +++ b/IntelBluetoothFirmware/IntelBluetoothFirmware.cpp @@ -147,7 +147,8 @@ IOService * IntelBluetoothFirmware::probe(IOService *provider, SInt32 *score) XYLog("name=%s, class=%s, vendorID=0x%04X, productID=0x%04X\n", m_pDevice->getName(), provider->metaClass->getClassName(), vendorID, productID); if (productID == 0x07dc || productID == 0x0a2a || productID == 0x0aa7) { currentType = kTypeGen1; - } else if (productID == 0x0032 || productID == 0x0033 || productID == 0x0035 || productID == 0x0036) { + } else if (productID == 0x0032 || productID == 0x0033 || productID == 0x0035 + || productID == 0x0036 || productID == 0x0038) { currentType = kTypeGen3; } else { currentType = kTypeGen2; diff --git a/IntelBluetoothInjector/Info.plist b/IntelBluetoothInjector/Info.plist index d8d80ff..2df5f44 100644 --- a/IntelBluetoothInjector/Info.plist +++ b/IntelBluetoothInjector/Info.plist @@ -78,6 +78,21 @@ idVendor 32903 + 0038 + + CFBundleIdentifier + com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport + IOClass + BroadcomBluetoothHostControllerUSBTransport + IOProbeScore + 3000 + IOProviderClass + IOUSBHostDevice + idProduct + 56 + idVendor + 32903 + 3165ac CFBundleIdentifier