libnfc
libnfc copied to clipboard
Libnfc doesn't work on MacOS with ACR1581U-C1
Hi
I have a new ACR1581U-C1. I have installed libnfc 1.8.0 on my Mac (Sonoma) using homebrew. I have also installed mfoc. with libnfc I have:
nfc-list
nfc-list uses libnfc 1.8.0
nfc-list: ERROR: Unable to open NFC device: pcsc:ACS ACR1581 1S Dual Reader(2)
nfc-list: ERROR: Unable to open NFC device: pcsc:ACS ACR1581 1S Dual Reader(3)
nfc-list: ERROR: Unable to open NFC device: pcsc:ACS ACR1581 1S Dual Reader(1)
With mfoc I have:
mfoc -P 500 -O test.dmp
No NFC device found.
These two commands have been run with the user "root".
I can use NFC Tools for Desktop
I see 3 devices but only reader 1 works. I can scan tags.
Why can't I use libnfc and/or mfoc?
Thanks to anyone that can help me
After some driver actions (I don't remember which, they were numerous), I have the following message:
LIBNFC_LOG_LEVEL=3 nfc-list -v
debug libnfc.config key: [allow_intrusive_scan], value: [yes]
debug libnfc.config Unable to open directory: /usr/local/Cellar/libnfc/1.8.0/etc/nfc/devices.d
debug libnfc.general log_level is set to 3
debug libnfc.general allow_autoscan is set to true
debug libnfc.general allow_intrusive_scan is set to true
debug libnfc.general 0 device(s) defined by user
nfc-list uses libnfc 1.8.0
debug libnfc.general 0 device(s) found using arygon driver
debug libnfc.general 0 device(s) found using pn532_uart driver
debug libnfc.general 0 device(s) found using ACR122S driver
debug libnfc.general 0 device(s) found using acr122_usb driver
debug libnfc.driver.acr122_pcsc PCSC device [ACS ACR1581 1S Dual Reader PICC] is not NFC capable or not supported by libnfc.
debug libnfc.driver.acr122_pcsc PCSC device [ACS ACR1581 1S Dual Reader SAM] is not NFC capable or not supported by libnfc.
debug libnfc.driver.acr122_pcsc PCSC device [ACS ACR1581 1S Dual Reader ICC] is not NFC capable or not supported by libnfc.
debug libnfc.general 0 device(s) found using acr122_pcsc driver
debug libnfc.general 3 device(s) found using pcsc driver
debug libnfc.general 0 device(s) found using pn53x_usb driver
debug libnfc.driver.pcsc Attempt to open ACS ACR1581 1S Dual Reader PICC
debug libnfc.driver.pcsc PCSC connect failed
debug libnfc.general Unable to open "pcsc:ACS ACR1581 1S Dual Reader PICC".
nfc-list: ERROR: Unable to open NFC device: pcsc:ACS ACR1581 1S Dual Reader PICC
debug libnfc.driver.pcsc Attempt to open ACS ACR1581 1S Dual Reader SAM
debug libnfc.driver.pcsc PCSC connect failed
debug libnfc.general Unable to open "pcsc:ACS ACR1581 1S Dual Reader SAM".
nfc-list: ERROR: Unable to open NFC device: pcsc:ACS ACR1581 1S Dual Reader SAM
debug libnfc.driver.pcsc Attempt to open ACS ACR1581 1S Dual Reader ICC
debug libnfc.driver.pcsc PCSC connect failed
debug libnfc.general Unable to open "pcsc:ACS ACR1581 1S Dual Reader ICC".
nfc-list: ERROR: Unable to open NFC device: pcsc:ACS ACR1581 1S Dual Reader ICC
The reader is well detected, but connection is not possible.
Any idea?