Topic: [SOLVED] UART PN532 + PCSC-Lite + ifdnfc problems
Trying to make my UART PN532 work with PCSC-lite (and ifdnfc).
The story so far:
My reader is on /dev/ttyAMA0 (Elechouse PN532 module on the RPI)
It is configured in /usr/local/etc/nfc/devices.d/pn532_uart_on_rpi.conf
name = "PN532 board on UART" connstring = pn532_uart:/dev/ttyAMA0:115200 allow_intrusive_scan = true
It is happily detected by lsnfc (and all other libnfc derivatives)
rebadge@000000006bb07853 /tmp/pcsc-tools-1.4.25 $ lsnfc NFC device: pn532_uart:/dev/ttyAMA0 UID=6e72cf89
I have successfully installed ifdnfc, and pscs-lite.
My /usr/local/etc/reader.conf.d/ifdnfc is correct (I've also got a copy in place in /etc/reader.conf.d/ifdnfc)
cat /etc/reader.conf.d/ifdnfc ## This file can be enabled if you want to use ifdnfc with a non-usb device (not ## automatically detected by PCSC) FRIENDLYNAME "IFD-NFC" DEVICENAME /dev/ttyAMA0 LIBPATH /usr/lib/pcsc/drivers/ifdnfc.bundle/Contents/Linux/libifdnfc.so.0.1.4 CHANNELID 0
However, pcsc_scan returns nothing:
PC/SC device scanner V 1.4.25 (c) 2001-2011, Ludovic Rousseau <firstname.lastname@example.org> Compiled with PC/SC lite version: 1.8.15 Using reader plug'n play mechanism Scanning present readers... Waiting for the first reader...
and ifdnfc-activate returns nothing:
ifdnfc-activate Cannot find a smart card reader.
I'm unsure how to proceed from here - any insight would be much appreciated.