Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libnfc doesn't work on MacOS with ACR1581U-C1 #711

Open
N0ury opened this issue Feb 12, 2024 · 1 comment
Open

Libnfc doesn't work on MacOS with ACR1581U-C1 #711

N0ury opened this issue Feb 12, 2024 · 1 comment

Comments

@N0ury
Copy link

N0ury commented Feb 12, 2024

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

@N0ury
Copy link
Author

N0ury commented Feb 13, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant