I have a Raspberry Pi 4 which I am trying to use a CIR315A based reader with, but I am not having much luck. What I tried:
> sudo apt install nfctools-bin
> nfc-list
nfc-list uses libnfc 1.8.0
No NFC device found.
> sudo apt install libccid
> lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 31aa:3001 Circle CIR315
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> nfc-scan-device
nfc-scan-device uses libnfc 1.8.0
No NFC device found.
> sudo apt install pcsc-tools
> pcsc_scan
SCardEstablishContext: Service not available.
> sudo apt install pcscd
> pcsc_scan
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader... -
LIBNFC_LOG_LEVEL=3 nfc-list -v
debug libnfc.config Unable to open directory: /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 false
debug libnfc.general 0 device(s) defined by user
nfc-list uses libnfc 1.8.0
debug libnfc.general 0 device(s) found using acr122_usb driver
debug libnfc.general 0 device(s) found using pn53x_usb driver
No NFC device found.
While there is a manufacturer supplied fork of the libccid, I am trying to keep to the mainline of libccid, since the device is listed in the "should work" section of the site.
I did end up trying the manufacturer's driver (I needed to download and build from source). While restarting pcscd and re-running pcsc_scan did give me the output below, there was no change in the output of LIBNFC_LOG_LEVEL=3 nfc-list -v :
Using reader plug'n play mechanism
Scanning present readers...
0: Circle CIR315 [CIR315 SAM] 00 00
Sun May 5 16:54:37 2024
Reader 0: Circle CIR315 [CIR315 SAM] 00 00
Event number: 0
Card state: Card removed,
Note the contents of /usr/lib/pcsc/drivers/ were:
drwxr-xr-x 3 root root 4096 May 5 16:53 ifd-abcccid.bundle
drwxr-xr-x 3 root root 4096 May 5 16:52 ifd-ccid.bundle
drwxr-xr-x 2 root root 4096 May 5 16:52 serial
Version values in the Info.plist files:
ifd-ccid.bundle: 1.4.34
ifd-abcccid.bundle: 2.1.8
BTW I have also been trying on macOS, but haven't been successful there yet either. (see here and here)
More testing with pcsc_scan, after installing ccid 1.5.4, gives:
I have a Raspberry Pi 4 which I am trying to use a CIR315A based reader with, but I am not having much luck. What I tried:
For the OS:
While there is a manufacturer supplied fork of the libccid, I am trying to keep to the mainline of libccid, since the device is listed in the "should work" section of the site.
I did end up trying the manufacturer's driver (I needed to download and build from source). While restarting
pcscd
and re-runningpcsc_scan
did give me the output below, there was no change in the output ofLIBNFC_LOG_LEVEL=3 nfc-list -v
:Note the contents of
/usr/lib/pcsc/drivers/
were:Version values in the
Info.plist
files:BTW I have also been trying on macOS, but haven't been successful there yet either. (see here and here)
More testing with
pcsc_scan
, after installing ccid 1.5.4, gives:Still no change with
nfc-list
.I am really not sure what else to explore at this point.