1 (edited by langeron 2013-07-24 17:19:28)

Topic: Cardreader ACR 1222U and libnfc

Hello All,
I have a card reader ACR1222U-C3
this cardreader is very similar to ACR122U according to the specs on the website ACR but has a different color.
I installed libnfc-1.7.0-rc7 but

nfc-list-v
nfc-list uses libnfc 1.7.0-rc7
No NFC device found.

Please tell me what I can do to add the card reader to the list of supported libnfc?
Is it possible for solve this problem to use a driver written for ACR122U and what needs to change in other files.
Many thanks.

Re: Cardreader ACR 1222U and libnfc

Hi,

You could try:
nfc-scan-device -v

But I don't think it will be useful.

Next, you can try to add the vendor ID and product ID of your device to acr122_usb_supported_device struct in libnfc/drivers/acr122_usb.c

Please give us some feedback smile

Romuald Conty

3 (edited by langeron 2013-07-30 17:08:35)

Re: Cardreader ACR 1222U and libnfc

4 (edited by d.giordan88 2013-07-30 19:30:10)

Re: Cardreader ACR 1222U and libnfc

Hi, I don't know if can work for you. But try to re install libnfc with the PCSC driver. Because you are using the USB driver, but the does not work really well.

To install the PCSC driver I think you should use:

./configure --with-drivers=acr122_pcsc

Re: Cardreader ACR 1222U and libnfc

Re: Cardreader ACR 1222U and libnfc

wget libnfc.googlecode.com/files/libnfc-1.7.0-rc4.tar.gz
tar -xvzf libnfc-1.7.0-rc4.tar.gz
rm libnfc-1.7.0-rc4.tar.gz
cd ~
cd libnfc-1.7.0-rc4
./configure --with-drivers=acr122_pcsc && make clean
make clean
make
make install
sudo sh -c "echo /usr/local/lib > /etc/ld.so.conf.d/usr-local-lib.conf"
sudo ldconfig
cd

Re: Cardreader ACR 1222U and libnfc

Re: Cardreader ACR 1222U and libnfc

Re: Cardreader ACR 1222U and libnfc

Which driver are you using?
libnfc.driver.acr122_pcsc or libnfc.driver.acr122_usb?
Nowadays I think the usb version is more stable, use it if possible.
From the error of the previous person, it sounds like he was using pcsc but couldn't connect pcsc daemon.
If you want to use the pcsc version, can you check you can talk to the pcsc daemon by executing "pcsc_scan" ?

Phil

10 (edited by fritsimeel 2014-02-17 18:21:40)

Re: Cardreader ACR 1222U and libnfc

Re: Cardreader ACR 1222U and libnfc