Recently, some NFC customer want to use CCID driver to communcate with NFC reader on Linux platform, but they encontered some errors during installing CCID driver for linux. I tested it and installed it to ubuntu 16.04 LTS successfully. Let me share complete steps with those users who want to devevlope NFC applications based on linux platform. If we want to use CCID driver on linux, we need to install these packages:
Before starting to install above packages, probably we need to install necessary dependency packages:
Up to now, above 4 software packages have been installed to ubuntu 16.04 LTS.
(4) Add library file path
open /etc/ld.so.conf , and add one line at the end of the file : include /usr/local/lib , save and exit, run 'sudo ldconfig -v' to update it.
# sudo gedit /etc/ld.so.conf
# sudo sudo ldconfig -v
5. Add Vendor ID & Product ID to info.plist
We should add Vendor ID & Product ID of NFC reader to info.plist, the file is at the path : /usr/local/lib/pcsc/drivers/ifd-ccid.bundle/Contents/. For example , PN7462's vendor ID is 0x1FC9, and product ID is 0x0117.
[Note] This requires Firmware on NFC reader board should support USB CCID, if not, customer should replace it with firmware that supports USB CCID, for the purpose, customer can refer to UM10915.pdf(http://www.nxp.com/docs/en/user-guide/UM10915.pdf ) to do it.