Last active
February 12, 2018 16:48
-
-
Save hoggren/ce030b2c426462ed546f5751adc3e149 to your computer and use it in GitHub Desktop.
Unload OSX / macOS smartcard driver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Unload OSX / macOS smartcard driver | |
# Useful for libnfc | |
# | |
# Solves the error: | |
# ~ $ nfc-list | |
# nfc-list uses libnfc libnfc-1.7.1-66-g24979c6 | |
# error libnfc.driver.acr122_usb Unable to claim USB interface (Permission denied) | |
# nfc-list: ERROR: Unable to open NFC device: acr122_usb:020:002 | |
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.ifdreader.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment