Libnfc:FAQ

From NFC Tools
(Difference between revisions)
Jump to: navigation, search
(Too small reply error)
Line 13: Line 13:
 
Avoid using pcscd and libnfc with acr122_usb driver all together.
 
Avoid using pcscd and libnfc with acr122_usb driver all together.
 
<br>You can stop pcscd or disable support of that reader by pcscd by changing the libccid list of supported readers.
 
<br>You can stop pcscd or disable support of that reader by pcscd by changing the libccid list of supported readers.
 +
 +
You've to know that those readers are very bad regarding all NFC features and you can expect troubles when using any command not sending immediately a reply: nfc-poll, emulation and p2p modes.
 +
 
==== How do I change the libccid list of supported readers? ====
 
==== How do I change the libccid list of supported readers? ====
  

Revision as of 21:26, 18 February 2013

Contents

No NFC device found error

with a UART-based reader

Since v1.7.0, your PN532 UART device needs some configuration in newly introduced configuration file (eg. /etc/nfc/libnfc.conf).
Please read NEWS file, then copy libnfc.conf.sample to the right place.
Make sure to put the file in SYSCONFDIR/nfc/libnfc.conf
If you don't want SYSCONFDIR to be /usr/local/etc, use ./configure --sysconfdir=/etc

with an ACR122U under Windows

Remove ACR122U drivers from ACS

Too small reply error

With Touchatag or ACR122U

Avoid using pcscd and libnfc with acr122_usb driver all together.
You can stop pcscd or disable support of that reader by pcscd by changing the libccid list of supported readers.

You've to know that those readers are very bad regarding all NFC features and you can expect troubles when using any command not sending immediately a reply: nfc-poll, emulation and p2p modes.

How do I change the libccid list of supported readers?

  • Get the libccid source code;
  • edit the file readers/supported_readers.txt;
  • remove the line with the VID/PID of the reader you want to disable;
  • reinstall the libccid driver, or just the regenerated src/Info.plist.
Personal tools
Namespaces

Variants
Actions
Navigation
Documentation
Misc
Toolbox
Partners