ACR122U NFC Reader and HceDemo example

517 views
Skip to first unread message

etrau...@gmail.com

unread,
Sep 9, 2015, 9:31:46 AM9/9/15
to nfc-developers
Hello all,

I recently aquired an ACR122U NFC reader, and when I tried to run the HceDemo code, I got this error:

Exception in thread "main" java.lang.IllegalArgumentException: No supported card terminal found. Available Terminals 
at org.nfctools.scio.TerminalHandler.getAvailableTerminal(TerminalHandler.java:59)
at org.nfctools.examples.TerminalUtils.getAvailableTerminal(TerminalUtils.java:34)
at org.nfctools.examples.TerminalUtils.getAvailableTerminal(TerminalUtils.java:26)
at org.nfctools.examples.hce.HceDemo.run(HceDemo.java:10)
at org.nfctools.examples.hce.HceDemo.main(HceDemo.java:16)
I'm currently using Ubuntu, and I've already installed the "pcscd" and "pcsc-tools" packages, as well as the drivers from the official website (http://www.acs.com.hk/en/products/3/acr122u-usb-nfc-reader/).
I also ran the "sudo modprobe -r pn533" command to disable the kernel's default NFC drivers, and disabled them in the "/etc/modprobe.d/blacklist.conf" file.
When I run the "pcsc_scan", it results in the following output:

PC/SC device scanner
V 1.4.23 (c) 2001-2011, Ludovic Rousseau <ludovic....@free.fr>
Compiled with PC/SC lite version: 1.8.11
Using reader plug'n play mechanism
Scanning present readers...
0: ACS ACR122U 00 00

Wed Sep  9 13:01:40 2015
Reader 0: ACS ACR122U 00 00
  Card state: Card removed,
  
This seems to indicate that the computer recognizes the reader, and so the problem may not be hardware related.
On the other hand, I also created a simple application to list the available terminals, like it was suggested in (https://groups.google.com/forum/#!msg/nfc-developers/HR4kXtnOuZQ/MoBzmNKZEo0J), but unfortunately, the result came up empty.

Until now I have found no additional workarounds to solve this problem.
Do any of you have any idea about what could be causing this issue?
Reply all
Reply to author
Forward
0 new messages