我尝试在 PCSCD 终端上使用带有 mfcuk bu 的 ACR122U 和 PCSCD 我经常出现错误:
00400285 ccid_usb.c:747:WriteUSB() write failed (3/4): -1 LIBUSB_ERROR_IO
00000063 ifdwrapper.c:371:IFDStatusICC() Card not transacted: 612
00000034 eventhandler.c:335:EHStatusHandlerThread() Error communicating to: ACS ACR122U PICC Interface 00 00
00000063 ccid_usb.c:1213:InterruptRead() libusb_submit_transfer failed: -1
我不知道它从哪里来以及如何解决它......
最佳答案
您是否正确安装了驱动程序? 如果是这样尝试this工具。这些工具用于测试 PC/SC 驱动程序、卡或读卡器或发送命令。
如果是这样,请查看 this answer再次检查配置。
尝试this answer 。它建议使用智能卡 API,而不是使用 libusb,例如 PC/SC,它会为您处理 USB 的复杂性,例如通过 C/C++ 的 PCSC lite、Python 中的 pyscard 或其他语言中的其他 API/绑定(bind)。
我已经用过这个并且它有效。
pyscard 文档和示例为 here 。干杯!
关于linux - 使用 PCSCD 时出现 ACR122U 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35153019/