Near-field communication communication devices have become pretty easy to operate and read out under Linux. This page explains how to quickly set up the most common NFC scanners.
Install , , , and .
pcscd.socket which will cause the
pcscd server to start when a program requests it. Alternatively, you can manually start/enable the
Scanning an NFC card
Now everything should already be in place for a test scan. Plug in your NFC reader and run
pcsc_scan. This tool will try to communicate with your scanner and also poll for any NFC cards placed on your scanner. If you try to scan a card after the tool has found your scanner, you should see events printed on your terminal.
Using reader plug'n play mechanism Scanning present readers... 0: ACS ACR122U 00 00 Sun Sep 5 05:15:10 2021 Reader 0: ACS ACR122U 00 00 Event number: 0 Card state: Card removed,
See https://ccid.apdu.fr/#readers for a list of scanners supported by ccid.
In case things do not seem to work, investigate the log of