使用出现 ACR122U 错误的 PCSCD

Using PCSCD with ACR122U error

我尝试在我的 PCSCD 终端上使用带有 mfcuk bu 的 PCSCD 的 ACR122U 我经常出现错误:

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 驱动程序、卡或 reader 或发送命令。

如果是,请查看 以再次检查配置。

尝试this answer。它建议使用智能卡 API,例如 PC/SC,而不是使用 libusb,它会为您处理 USB 的复杂性,例如通过 C/C++ 的 PCSC lite,Python,或其他语言的 APIs/bindings。

我已经使用过这个并且它有效。

pyscard 文档和示例是 here。干杯!