nfc-tools / libnfc

Platform independent Near Field Communication (NFC) library
http://nfc-tools.org
GNU Lesser General Public License v3.0
1.64k stars 436 forks source link

macOS ventura: Unable to claim USB interface (Permission denied) #698

Closed luu176 closed 8 months ago

luu176 commented 1 year ago

Hi, I am on macOS and I keep getting this issue:

command: nfc-mfclassic r a u mycard.mfd error libnfc.driver.acr122_usb Unable to claim USB interface (Permission denied) nfc-mfclassic: ERROR: Error opening NFC reader

I have tried so many fixes, I don't know what to do anymore.

djevertguzman commented 11 months ago

In the dmesg there are two errors from this.

[913982.451198]: nfc-list@: AppleUSBHostUserClient::start: missing entitlement com.apple.ibridge.control
[913982.458861]: nfc-list@: AppleUSBHostUserClient::openGated: failed to open ACR122U PICC Interface@14220000: provider is already opened for exclusive access by pid 70873, com.apple.ifdbun
neomilium commented 8 months ago

dmesg explains it well: the device is already claimed by another process.