Re: ACS ACR122U A9 issues
Vazma <[email protected]> Wed, 08 Mar 2017 04:30:04 -0500
| Newsgroups | gmane.comp.lib.muscle |
|---|---|
| Message-ID | <2OoZviIAB6OUcMYrUQP-sU0_6CIOquBIQw7y9tiyyz4w0Wp-DSWTYHqb_Y8XmfeNbfHblG25qv8KRWRtq0BwcEHrxDYZYLp_jqqZN4yqMtk=@protonmail.com> |
Hi, Actually I receive this error when I run the mfcuk command. I am not touching or removing any card reader or card. As I said I tried the same in 2 different operation systems but in the same computer and I had the same issue. Cheers, vazma Sent with [ProtonMail](https://protonmail.com) Secure Email. -------- Original Message -------- Subject: Re: [Pcsclite-muscle] ACS ACR122U A9 issues Local Time: 7 March 2017 9:50 AM UTC Time: 7 March 2017 08:50 From: [email protected] To: Talks about MUSCLE <[email protected]> Hello, 2017-03-07 8:07 GMT+01:00 Godfrey Chung <[email protected]>: Hi Vazma > > no i am running locally without any usb hub. > According to the log, [36m00000005 [0m [34mifdhandler.c:372:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/004/023 (lun: 0) 600000 ms [0m [36m00000004 [0m ccid_usb.c:1705:InterruptRead() before (0) [36m04641736 [0m ccid_usb.c:1751:InterruptRead() after (0) (5) [36m00000021 [0m ccid_usb.c:1794:InterruptRead() InterruptRead (4/23): LIBUSB_TRANSFER_NO_DEVICE It seems that the reader is removed during the operation. This is a strange error code. 00000005 ifdhandler.c:372:IFDHPolling() usb:072f/2200:libudev:0:/dev/bus/usb/004/023 (lun: 0) 600000 ms 00000004 ccid_usb.c:1705:InterruptRead() before (0) 04641736 ccid_usb.c:1751:InterruptRead() after (0) (5) 00000021 ccid_usb.c:1794:InterruptRead() InterruptRead (4/23): LIBUSB_TRANSFER_NO_DEVICE 00400493 ifdhandler.c:2382:IFDHICCPresence() usb:072f/2200:libudev:0:/dev/bus/usb/004/023 (lun: 0) 00000026 -> 000000 65 00 00 00 00 00 0D 00 00 00 00000044 ccid_usb.c:1132:WriteUSB() write failed (4/23): -1 LIBUSB_ERROR_IO 00000008 ifdwrapper.c:369:IFDStatusICC() Card not transacted: 612 00000007 eventhandler.c:333:EHStatusHandlerThread() Error communicating to: ACS ACR122U 00 00 When the device is removed you should get LIBUSB_ERROR_NO_DEVICE but you get LIBUSB_ERROR_IO instead. When libusb_bulk_transfer() returns LIBUSB_ERROR_NO_DEVICE the driver returns STATUS_NO_SUCH_DEVICE and the reader should be removed at the PC/SC level. https://github.com/LudovicRousseau/CCID/blob/master/src/ccid_usb.c#L823 Your device (or your kernel USB stack) may be in a strange state. Bye -- Dr. Ludovic Rousseau _______________________________________________ Pcsclite-muscle mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle