Smartcard reader ACR122U has no unique serial number

浪子不回头ぞ 提交于 2019-12-10 18:34:00

问题


I am using the PCSC driver and the javax.smartcardio library as the wrapper to the driver. I have 3 ACR122U devices plugged into a Linux (debian) system. I have ran udevadm info on the devices and they all have a serial number of 0. I need to identify which reader is which in my class. I can check which topological usb port is used by parsing the /sys/devices folder but I still cant "select" a device in the Java api.

Does anyone know a way to modify the PCSC device stack order or something. So that I can specify which order the devices are in the terminal list from the terminal factory. I have emailed ACS asking them why the serial numbers are 0 and if they can help me to modify it but I have had no reply.

Please let me know if anyone thinks they have a solution. Thanks, Mitch


回答1:


The reader does have a unique serial number but it is only an external sticker and not on the readers internal EEPROM. Perhaps you can write the serial number to the reader somehow.



来源:https://stackoverflow.com/questions/21165694/smartcard-reader-acr122u-has-no-unique-serial-number

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!