Web lists-archives.com

neard: nfctool does not find ACR122U




Hello,

I am wondering if I am doing something wrong with neard/nfctool: I have 
attached and ACR122U using USB. dmesg finds it, lsusb as well. When an NFC card 
is in reach of the reader, the reader even magically beeps and the color of 
the LED changes from red to green.

But nfctool does not seem to find it (at least the empty Devices section 
implies that(?))...

root@h370:~# dmesg |tail -6 
[121495.757349] usb 1-8: new full-speed USB device number 47 using xhci_hcd 
[121495.913388] usb 1-8: New USB device found, idVendor=072f, idProduct=2200, 
bcdDevice= 2.14 
[121495.913400] usb 1-8: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0 
[121495.913406] usb 1-8: Product: ACR122U PICC Interface 
[121495.913411] usb 1-8: Manufacturer: ACS 
[121495.932344] usb 1-8: NFC: NXP PN532 firmware ver 1.6 now attached 
root@h370:~# lsusb           
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
Bus 001 Device 006: ID 046d:0825 Logitech, Inc. Webcam C270 
Bus 001 Device 047: ID 072f:2200 Advanced Card Systems, Ltd ACR122U 
Bus 001 Device 004: ID 2a07:0102   
Bus 001 Device 040: ID 046d:0a44 Logitech, Inc. Headset H390 
Bus 001 Device 039: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel 
Mouse 
Bus 001 Device 038: ID 046a:0023 Cherry GmbH Keyboard 
Bus 001 Device 037: ID 0409:005a NEC Corp. HighSpeed Hub 
Bus 001 Device 008: ID 04b4:fd13 Cypress Semiconductor Corp. Programmable 
power socket 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
root@h370:~# nfctool -l      
nfc0: 
         Tags: [ ] 
         Devices: [ ] 
         Protocols: [ Felica MIFARE Jewel ISO-DEP NFC-DEP ] 
         Powered: No 
         RF Mode: None 
         lto: 150 
         rw: 15 
         miux: 2047 

root@h370:~# 

Similarly, I see that nfcpy also has problems

rd@h370:~/tmp.nobackup/NFC/nfcpy/examples$ ./tagtool.py 
[nfc.clf] searching for reader on path usb
[nfc.clf] no reader available on path usb
[main] no contactless reader found on usb
[main] no contactless reader available
rd@h370:~/tmp.nobackup/NFC/nfcpy/examples$

but I think the problem is in the area of neard...

Documentation in the NFC on Linux area seems to be sparse, so any hint is 
welcome...

Thanks
Rainer


-- 
Rainer Dorsch
http://bokomoko.de/