marcus905 / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

touchatag reader is now named "ACS AET65 00 00" instead of "ACS ACR 38U-CCID" #202

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install libccid version 1.4.6 or above
2. use libnfc to find the touchatag reader

Many ACS readers use the same USB PID (product ID) for different readers:
#0x072F:0x90CC:ACS ACR122U (ACR122U.txt)
#0x072F:0x90CC:ACS ACR 38U-CCID (ACR38U-CCID.txt)
#0x072F:0x90CC:ACS ACR100 (ACS_ACR100.txt)
#0x072F:0x90CC:ACS ACR38 plugin (ACS_ACR38_plugin.txt)
#0x072F:0x90CC:ACS AET65 (ACS_AET65.txt)

In version 1.4.6 of libccid the reader list has been reordered. So the name of 
the 0x072F:0x90CC device has changed.

libnfc should also check for the PC/SC name "ACS AET65"

See RedHat bug 832983 https://bugzilla.redhat.com/show_bug.cgi?id=832983
The RedHat bug has a (partly bogus) patch.

Original issue reported on code.google.com by ludovic....@gmail.com on 27 Jul 2012 at 8:20

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1447.

Original comment by ludovic....@gmail.com on 31 Jul 2012 at 8:45

GoogleCodeExporter commented 9 years ago
Your solution is quick, but dirty.

Please consider using the recommended method: 
http://ludovicrousseau.blogspot.de/2011/11/identifying-reader-model.html

Original comment by frankmor...@googlemail.com on 31 Jul 2012 at 12:40

GoogleCodeExporter commented 9 years ago
That would be a good idea to _also_ check the VID/PID in addition to the PC/SC 
name.

Original comment by ludovic....@gmail.com on 31 Jul 2012 at 2:44

GoogleCodeExporter commented 9 years ago
I do plan to use PCSCv2Part10_find_TLV_property_by_tag_from_hcard for that
http://ludovicrousseau.blogspot.com/2012/08/libpcscv2part10.html

Original comment by ludovic....@gmail.com on 10 Aug 2012 at 1:23