Hi All, I have managed to resolve this issue myself by changing the APDU. I found unexpected behaviour under Windows as well, so I would say it could be differences between readers.
Regards William To On Wed, May 18, 2016 at 4:50 PM, William To <[email protected]> wrote: > Hi All, > > I also checked the reader's behaviour under Windows by sending the > offending command. The card/reader combo returns an unexpected value also. > > I am looking at circumventing the problem by changing the APDU being sent > to the card to see if the issue is fixed. > > Regards > > William To > > On Wed, May 18, 2016 at 4:46 PM, Ludovic Rousseau < > [email protected]> wrote: > >> >> >> 2016-05-18 10:24 GMT+02:00 William To <[email protected]>: >> >>> Hi All, >>> >>> Log is here: >>> >>> pcscd log: >>> >>> 00000169 winscard_svc.c:308:() Received command: TRANSMIT from client 10 >>> 00000055 winscard.c:1636:() Send Protocol: T=0 >>> 00000025 APDU: 00 A4 00 00 00 >>> 00000028 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 >>> (lun: 0) >>> 00000026 commands.c:1412:() T=0 (extended): 5 bytes >>> 00000022 -> 000000 6F 05 00 00 00 00 5C 00 00 00 00 A4 00 00 00 >>> 00017558 <- 000000 80 1C 00 00 00 00 5C 00 00 00 6F 18 83 02 3F 00 88 01 >>> 00 8A 01 05 82 02 3F 00 8D 02 00 03 84 00 8C 00 AB 00 90 00 >>> 00000065 commands.c:1364:() overrun by 26 bytes >>> >> >> The reader sent 28 (0x1C) bytes of data. But the driver was expecting >> only 2 bytes at most. So 26 bytes are in excess. >> >> Maybe it is a problem with your application that is expecting only 2 >> bytes for this APDU command and passed a reception buffer for only 2 bytes. >> Or it is a problem with the Solaris version of pcsc-lite. >> >> Bye >> >> -- >> Dr. Ludovic Rousseau >> >> _______________________________________________ >> Pcsclite-muscle mailing list >> [email protected] >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle >> > >
_______________________________________________ Pcsclite-muscle mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
