I've been using my Yubikey NEO on my Macbook Pro without problem for a number of months now. Recently, I have started using my laptop at home in the "clamshell mode". That is, leaving the laptop lid shut but connect the AC adapter, an external display, keyboard and mouse to the laptop. The laptop will automatically wake up in this configuration and behaves like a desktop computer.
In this setup, however, whenever I plug in the Yubikey, my external USB keyboard and mouse stop functioning (although they remain "plugged in" to the system: there is no USB ejection events). Moreover, the system does not recognise any Yubikey button tap, either for OTP or U2F usage. This means that whenever I need to perform any 2FA task, I need to "undock" my laptop, wake it up again in its "normal" laptop mode, then plug in my Yubikey.
This is obviously a very annoying situation. Could anyone give me some pointers as to what may be happening here?
From what I can see, here is what happens in the syslog when I plug the Yubikey in "clamshell mode" (i.e. when everything locks up):
Code:
06/11/2015 00:12:10.721 com.apple.SecurityServer[79]: Token reader Yubico Yubikey NEO OTP+U2F+CCID inserted into system
06/11/2015 00:12:10.721 com.apple.SecurityServer[79]: reader Yubico Yubikey NEO OTP+U2F+CCID: state changed 0 -> 34
06/11/2015 00:12:10.722 com.apple.SecurityServer[79]: token in reader Yubico Yubikey NEO OTP+U2F+CCID cannot be used (error 229)
06/11/2015 00:12:10.000 kernel[0]: AppleUSBTopCaseHIDDriverPM::message Error: kIOUSBMessagePortHasBeenReset received, requesting device reenumeration
06/11/2015 00:12:10.000 kernel[0]: AppleActuatorHIDEventDriver: message service is terminated
06/11/2015 00:12:10.000 kernel[0]: [AppleMultitouchDevice::willTerminate] entered
06/11/2015 00:12:10.000 kernel[0]: AppleActuatorDeviceUserClient::stop Entered
06/11/2015 00:12:10.000 kernel[0]: AppleActuatorDevice::stop Entered
06/11/2015 00:12:10.000 kernel[0]: AppleActuatorHIDEventDriver: stop
06/11/2015 00:12:10.000 kernel[0]: [AppleMultitouchDevice::stop] entered
06/11/2015 00:12:10.817 System Preferences[7744]: [BluetoothHIDDevice][initWithHIDDevice] Unable to get Object ID from IORegistry
06/11/2015 00:12:10.817 BezelServices 250.15[93]: ASSERTION FAILED: dvcAddrRef != ((void *)0) -[DriverServices getDeviceAddress:] line: 2727
06/11/2015 00:12:10.817 System Preferences[7744]: [BluetoothHIDDevice][initWithHIDDevice] Unable to get Object ID from IORegistry
06/11/2015 00:12:10.817 BezelServices 250.15[93]: ASSERTION FAILED: dvcAddrRef != ((void *)0) -[DriverServices getDeviceAddress:] line: 2727
06/11/2015 00:12:10.818 System Preferences[7744]: [BluetoothHIDDevice][initWithHIDDevice] Unable to get Object ID from IORegistry
06/11/2015 00:12:10.818 System Preferences[7744]: [BluetoothHIDDevice][initWithHIDDevice] Unable to get Object ID from IORegistry
06/11/2015 00:12:25.000 kernel[0]: AppleUSBCompositePM: waitForPMDriverCall timeout
06/11/2015 00:12:25.000 kernel[0]: USBF: 100505.556 IOUSBHIDDriver(IOUSBHIDDriver)::RearmInterruptRead returning error 0xe00002c0 (no such device), not issuing any reads to device
06/11/2015 00:12:25.918 com.apple.SecurityServer[79]: reader Yubico Yubikey NEO OTP+U2F+CCID: state changed 32 -> 18
06/11/2015 00:12:25.950 com.apple.SecurityServer[79]: reader Yubico Yubikey NEO OTP+U2F+CCID: state changed 16 -> 6
06/11/2015 00:12:25.950 com.apple.SecurityServer[79]: Token reader Yubico Yubikey NEO OTP+U2F+CCID removed from system
06/11/2015 00:12:26.000 kernel[0]: AppleDeviceManagementHIDEventService::start start could not make a string from out connection notification key
06/11/2015 00:12:26.000 kernel[0]: AppleDeviceManagementHIDEventService::start start could not make a string from out poweredoff notification key
06/11/2015 00:12:26.000 kernel[0]: AppleDeviceManagementHIDEventService::processWakeReason Wake reason: Host (0x01)
06/11/2015 00:12:26.000 kernel[0]: [AppleMultitouchDevice::start] entered
06/11/2015 00:12:26.000 kernel[0]: [AppleActuatorHIDEventDriver::start] entered
06/11/2015 00:12:26.000 kernel[0]: BuildActDeviceEntry enter
06/11/2015 00:12:26.000 kernel[0]: AppleActuatorDevice::start Entered
06/11/2015 00:12:26.000 kernel[0]: BuildActDeviceEntry exit
06/11/2015 00:12:26.000 kernel[0]: AppleDeviceManagementHIDEventService::messageClientsWithBSString messageClientsWithBSString sending message USBConnected
06/11/2015 00:12:26.000 kernel[0]: AppleActuatorDeviceUserClient::start Entered
And this is what happens when I plug it while in normal "laptop mode" (i.e. when everything works):
Code:
06/11/2015 00:14:37.434 com.apple.SecurityServer[79]: Token reader Yubico Yubikey NEO OTP+U2F+CCID inserted into system
06/11/2015 00:14:37.434 com.apple.SecurityServer[79]: reader Yubico Yubikey NEO OTP+U2F+CCID: state changed 0 -> 34
06/11/2015 00:14:37.434 com.apple.SecurityServer[79]: token in reader Yubico Yubikey NEO OTP+U2F+CCID cannot be used (error 229)
06/11/2015 00:14:38.437 com.apple.SecurityServer[79]: reader Yubico Yubikey NEO OTP+U2F+CCID: state changed 32 -> 18
06/11/2015 00:14:40.788 com.apple.SecurityServer[79]: reader Yubico Yubikey NEO OTP+U2F+CCID: state changed 16 -> 6
06/11/2015 00:14:40.788 com.apple.SecurityServer[79]: Token reader Yubico Yubikey NEO OTP+U2F+CCID removed from system
Thanks a lot!