-1

I try to use the ACR122U with PCSCD with mfcuk bu on my PCSCD terminal I have a recurrent error :

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

I don't from where it comes and how to fix it...

4

1 回答 1

-1

您是否正确安装了驱动程序?如果是这样,试试这个工具。这些工具用于测试 PC/SC 驱动程序、卡或读卡器或发送命令。

如果是这样,请查看此答案以再次检查配置。

试试这个答案。建议不要使用 libusb,而是使用智能卡 API,例如 PC/SC,它会为您处理 USB 的复杂性,例如通过 C/C++ 的 PCSC lite、Python 中的 pyscard 或其他语言中的其他 API/绑定。

我已经使用它并且它有效。

pyscard 文档和示例在这里。干杯!

于 2016-02-17T01:59:38.827 回答