偶然高了一个USB蓝牙,查到Mac下能识别,无法驱动,就去找了一下。方法很简单,就是把蓝牙的PID和VID加入到驱动里边去,具体方法和步骤如下:
1. 进入到/System/Libary/Extensions目录
2. 备份IOBluetoothFamily.kext
3. 在IOBluetoothFamily.kext右击,选择显示包内容
4. 进入Contents/Plugins
5. 右击BroadcomBluetoothHostControllerUSBTransport.kext,选择显示包内容
6. 进入Contents
7. 将Info.plist拖到桌面进行修改
8. 在下面的代码中把PID和VID做对应的修改即可
<key>PID 8684 0x21EC VID 2652 0xA5C</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport</string>
<key>Dongles</key>
<dict>
<key>GMYLE</key>
<string>Micro Nano</string>
<key>IOGear</key>
<string>GBU-521</string>
<key>Kinivo</key>
<string>BTD-400</string>
<key>MediaLink</key>
<string>PANBT400 (4.0)</string>
<key>MediaLink 2</key>
<string>MUA-BA3</string>
<key>Plugable</key>
<string>4.0 LE</string>
<key>Targus</key>
<string>ACB10US 4.0</string>
<key>UtechSmart</key>
<string>4.0 (BCM20702)</string>
</dict>
<key>IOClass</key>
<string>BroadcomBluetoothHostControllerUSBTransport</string>
<key>IOProviderClass</key>
<string>IOUSBHostDevice</string>
<key>idProduct</key>
<integer>8684</integer>
<key>idVendor</key>
<integer>2652</integer>
</dict>