从libusb示例目录(未连接任何设备)中简单运行 ./listdevs 会产生如下内核消息:
kernel[0]: [0xffffff8023f73c00](1)/(5) Device not responding
kernel[0]: com_apple_driver_AppleUSBCardReaderUMC:: Stop::Controller Reset
kernel[0]: considerRebuildOfPrelinkedKernel org.virtualbox.kext.VBoxDrv triggered rebuild
kernel[0]: USBMSC Identifier (non-unique): 000000009833 0x5ac 0x8403 0x9833, 2
多次运行可能会导致:
kernel[0]: AppleUSBMultitouchDriver::message - kIOUSBMessagePortHasBeenReset.
kernel[0]: AppleUSBMultitouchDriver: Touch failed to initialize after 765 ms
那时我的 MacBook Pro 的内部键盘和触控板被冻结了。我仍然可以使用蓝牙键盘和鼠标。这很难追踪,因为我第一次注意到它使用了一个非常简单的测试脚本,该脚本使用了 pylibftdi(它使用 libftdi,它使用 libusb)。
我该如何解决这个问题?这会发生在旧版本的 OS X 上吗?