Le samedi 29 octobre 2011 à 13:08 +0200, Ludovic Rousseau a écrit : > Run the examples/scardcontrol provided with the source code of my CCID > driver. > And post the output.
Dear Ludovic, Using pure libccid, the card does not response. I guess this is a power-up problem and I don't know whether this is a bug or a feature (power safe). When using libacsccid, and running your tool, the output is: SCardControl sample code V 1.4 © 2004-2010, Ludovic Rousseau <ludovic.rouss...@free.fr> THIS PROGRAM IS NOT DESIGNED AS A TESTING TOOL! Do NOT use it unless you really know what you do. SCardListReaders: OK Available readers (use command line argument to select) 0: ACS APG8201 00 00 Using reader: ACS APG8201 00 00 Protocol: 2 SCardConnect: OK SCardControl: OK TLV (18): 06 04 42 33 00 06 07 04 42 33 00 07 0A 04 42 33 00 0A SCardControl(CM_IOCTL_GET_FEATURE_REQUEST): OK Reader supports: FEATURE_VERIFY_PIN_DIRECT Reader supports: FEATURE_MODIFY_PIN_DIRECT Reader supports: FEATURE_IFD_PIN_PROPERTIES SCardControl(pin_properties_ioctl): OK PIN PROPERTIES (4): 10 02 07 00 wLcdLayout: 0x0210 bEntryValidationCondition: 7 bTimeOut2: 0 Reader: ACS APG8201 00 00 (length 18 bytes) State: 0x0034 Prot: 2 ATR (length 23 bytes): 3B 9F 95 81 31 FE 9F 00 65 46 53 05 30 06 71 DF 00 00 00 81 61 0E D8 SCardStatus: OK Protocol: 2 SCardReconnect: OK Select applet: 00 A4 04 00 06 A0 00 00 00 18 FF card response: 6A 82 SCardTransmit: OK Error: test applet not found! Kind regards, -- Jean-Michel Pouré - Gooze - http://www.gooze.eu
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel