Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请大佬完善一下对ACR122U的支持 #31

Open
MyHeart-lang opened this issue Sep 28, 2020 · 2 comments
Open

请大佬完善一下对ACR122U的支持 #31

MyHeart-lang opened this issue Sep 28, 2020 · 2 comments

Comments

@MyHeart-lang
Copy link

PN532支持确实不错,但是对于老牌读卡器ACR122U支持却不完美,响应慢是常事。ACR122U可是以快速的读写卡为招牌~~~

@sssolitude
Copy link

请问在win10上安装了libusb,然后依然出现如下问题,楼主有办法解决吗
image

@lixin9311
Copy link

lixin9311 commented Dec 5, 2023

应该是libusb库没处理好。
windows上莫名其妙我给跑起来了,分享一下做法:

  1. Zadig安装libusb驱动给acr122
  2. 下载,并且跑这个的英文版,点检测设备,应该会报错 https://github.com/xavave/MifareOneTool-English
  3. 英文版别关,跑最新的1.7.0的中文版,点检测设备,应该会听到usb设备插拔的提示音,并且监测失败。
  4. 这个时候试一下英文版,应该可以读写卡了

如果有其他人试一下没问题请回复一下。

别问我怎么知道的,凑巧。

英文版日志:

Hello,cardman!#Software version1.7.8425.3944
Starting device test……
nfc-bin64/nfc-scan-device.exe uses libnfc 1.8.0
Test:012:0011 device(s) found using acr122_usb driver with connection string: acr122_usb:012:001 
1 NFC device(s) found:

nfc_open failed for acr122_usb:012:001

The following devices were identified:
 did not find any valid NFC devices. 
 Please check if the wiring is correct/whether the drive is properly installed/device power is turned on (for models with power switch). 
##Running finished##

Starting device test……
nfc-bin64/nfc-scan-device.exe uses libnfc 1.8.0
Test:012:0011 device(s) found using acr122_usb driver with connection string: acr122_usb:012:001 
1 NFC device(s) found:
- ACS / ACR122U for NFC :
    acr122_usb:012:001


The following devices were identified:
 did not find any valid NFC devices. 
 Please check if the wiring is correct/whether the drive is properly installed/device power is turned on (for models with power switch). 
##Running finished##

Start scanning cards……
Test:012:0011 device(s) found using acr122_usb driver with connection string: acr122_usb:012:001 
NFC device: ACS / ACR122U for NFC  opened
1 ISO14443A passive target(s) found:
ISO/IEC 14443A (106 kbps) target:
    ATQA (SENS_RES): 00  04  
       UID (NFCID1): c4  27  39  3d  
      SAK (SEL_RES): 08  

中文版日志:

Hello,cardman!
首次运行建议点击"检测设备"以加快后续运行速度
#软件版本 1.7.0.0
开始执行检测设备……
error	libnfc.driver.acr122_usb	Unable to claim USB interface (libusb0-dll:err [claim_interface] could not claim interface 0, win error: The device does not recognize the command.

nfc-bin/nfc-scan-device.exe 使用libnfc 1.7.1
)
找到 1 个NFC设备:
nfc_open 失败 for acr122_usb:bus-0:\\.\libusb0-0001--0x072f-0x2200


识别了以下设备:
没有发现任何有效的NFC设备。
请检查接线是否正确/驱动是否正常安装/设备电源是否已经打开(对于具有电源开关的型号)。
##运行完毕##

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants