<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-05-18 9:43 GMT+02:00 William To <span dir="ltr"><<a href="mailto:william.to@erg.com.hk" target="_blank">william.to@erg.com.hk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi All, <br><br></div>I have done the crazy thing of adding the vendor/product ID and human readable name to the Info.plist file and attempted to perform read/write on the card inserted to the smart card reader, and here is what I got:<br><br>0000072 winscard_svc.c:290:() Thread is started: dwClientID=4, threadContext @808E288<br>00000036 winscard_svc.c:308:() Received command: CMD_VERSION from client 4<br>00000024 winscard_svc.c:324:() Client is protocol version 4:0<br>00000021 winscard_svc.c:349:() CMD_VERSION rv=0x0 for client 4<br>00000072 winscard_svc.c:308:() Received command: ESTABLISH_CONTEXT from client 4<br>00000029 winscard.c:218:() Establishing Context: 0x1034607<br>00000021 winscard_svc.c:405:() ESTABLISH_CONTEXT rv=0x0 for client 4<br>00000095 winscard_svc.c:308:() Received command: CMD_GET_READERS_STATE from client 4<br>00000240 winscard_svc.c:308:() Received command: CONNECT from client 4<br>00000027 winscard.c:278:() Attempting Connect to Identive CLOUD 2700 R Smart Card Reader (21121226200082) 00 00 using protocol: 3<br>00000023 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00 <br>00000021 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E<br>00000021 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00<br>00000019 atrhandler.c:153:() T=0 Protocol Found<br>00000019 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1<br>00000020 ATR: 3B BE 96 00 00 41 05 20 00 00 00 00 00 00 00 00 00 90 00 <br>00000020 atrhandler.c:102:() Conv: 01, Y1: 0B, K: 0E<br>00000021 atrhandler.c:119:() TA1: 96, TB1: 00, TC1: FFFFFFFF, TD1: 00<br>00000018 atrhandler.c:153:() T=0 Protocol Found<br>00000021 atrhandler.c:248:() CurrentProtocol: 1, AvailableProtocols: 1<br>00000019 prothandler.c:127:() Attempting PTS to T=0<br>00000028 ifdhandler.c:673:() protocol T=0, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)<br>00009888 winscard.c:423:() Active Protocol: T=0<br>00000039 winscard.c:444:() hCard Identity: 1d223<br>00000023 winscard_svc.c:447:() CONNECT rv=0x0 for client 4<br>00000156 winscard_svc.c:308:() Received command: GET_ATTRIB from client 4<br>00000053 ifdhandler.c:394:() tag: 0x90303, usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)<br>00000033 winscard_svc.c:720:() GET_ATTRIB rv=0x0 for client 4<br>00000135 winscard_svc.c:308:() Received command: TRANSMIT from client 4<br>00000050 winscard.c:1636:() Send Protocol: T=0<br>00000019 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)<br>00006547 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4<br>00000170 winscard_svc.c:308:() Received command: TRANSMIT from client 4<br>00000053 winscard.c:1636:() Send Protocol: T=0<br>00000026 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)<br>00003730 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4<br>00000196 winscard_svc.c:308:() Received command: TRANSMIT from client 4<br>00000056 winscard.c:1636:() Send Protocol: T=0<br>00000024 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)<br>00087784 winscard_svc.c:647:() TRANSMIT rv=0x0 for client 4<br>00000251 winscard_svc.c:308:() Received command: TRANSMIT from client 4<br>00000033 winscard.c:1636:() Send Protocol: T=0<br>00000023 ifdhandler.c:1264:() usb:04e6/5810:libusb:/dev/usb:4e6.5810/0 (lun: 0)<br><b>00015668 commands.c:1364:() overrun by 26 bytes</b><br>00000101 winscard_svc.c:647:() TRANSMIT rv=0x80100008 for client 4<br>00000435 winscard_svc.c:308:() Received command: DISCONNECT from client 4<br>00000034 winscard.c:848:() Active Contexts: 1<br>00000025 winscard_svc.c:487:() DISCONNECT rv=0x0 for client 4<br>00000089 winscard_svc.c:308:() Received command: RELEASE_CONTEXT from client 4<br>00000041 winscard.c:229:() Releasing Context: 0x1034607<br>00000025 winscard_svc.c:421:() RELEASE_CONTEXT rv=0x0 for client 4<br>00000062 winscard_svc.c:301:() Client die: 4<br>00000040 winscard_svc.c:948:() Thread is stopping: dwClientID=4, threadContext @808E288<br>00000022 winscard_svc.c:956:() Freeing SCONTEXT @808E288<br>20105953 pcscdaemon.c:649:() Received signal: 2<br><br></div>There is overrun by 26 bytes and the receive operation failed. <br></div></div></div></blockquote><div><br></div><div>Please generate a log as documented in <a href="https://pcsclite.alioth.debian.org/ccid.html#support">https://pcsclite.alioth.debian.org/ccid.html#support</a><br><br></div><div>I do not have the CCID frames in your log.<br></div><div><br></div><div>Bye<br><br></div></div>-- <br><div class="gmail_signature"> Dr. Ludovic Rousseau</div>
</div></div>