Can not connect to ACR122-A9

Asked by Tanja

I have 3 ACR122-A9. The last 3 devices here:

-------------------------
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 006: ID 072f:2200 Advanced Card Systems, Ltd
Bus 001 Device 007: ID 072f:2200 Advanced Card Systems, Ltd
Bus 001 Device 008: ID 072f:2200 Advanced Card Systems, Ltd
-------------------------

I've tried multiple ways to access but I always get:
>>> clf = nfc.ContactlessFrontend('usb:001:006')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "nfc/clf.py", line 106, in __init__
    raise IOError(errno.ENODEV, os.strerror(errno.ENODEV))
IOError: [Errno 19] No such device

I've used sudo python and I've done:

echo "blacklist pn533" | sudo tee -a /etc/modprobe.d/blacklist-nfc.conf

which I don't really understand what it does.

I even tried updating the ACR122 drivers as one other users suggested but with no luck.

If I try libnfc it seems to be working:

$ nfc-list
nfc-list uses libnfc libnfc-1.7.1
NFC device: ACS / ACR122U PICC Interface opened
2 ISO14443A passive target(s) found:
...
...
NFC device: ACS / ACR122U PICC Interface opened
NFC device: ACS / ACR122U PICC Interface opened

But I'd prefer to code in Python than in C :)

Am I missing something?

Question information

Language:
English Edit question
Status:
Answered
For:
nfcpy Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stephen Tiedemann (stephen-tiedemann) said :
#1

For nfcpy there should be no device specific drivers installed. If you did, then may it be that you have some PC/SC software running and it's claiming the readers?

The "blacklist pn533" prevents the Linux kernel driver to use the reader. Per default, if it's not blacklisted, an "lsmod | grep nfc" would output a line showing that the nfc and pn533 drivers are loaded.

Can you help with this problem?

Provide an answer of your own, or ask Tanja for more information if necessary.

To post a message you must log in.