On Tue, 2007-12-18 at 21:45 +0100, Ludovic Rousseau wrote: > On Dec 18, 2007 7:39 PM, Sebastien Chassot <[EMAIL PROTECTED]> wrote: > > Hi all, > > Hello,
Thanks for your help. > And with which reader? > It's a SCR335 (SCM Microsystems Inc. SCR33x USB Smart Card Reader, rev 2.00/5.18, addr 2) I choose this model to avoid any difficulties ;) > > You do not provide enough log. Please include the full log since the > start of pcscd. # pcscd -d -a -f pcscdaemon.c:294:main() pcscd set to foreground with debug send to stderr pcscdaemon.c:507:main() pcsc-lite 1.4.4 daemon ready. hotplug_libusb.c:478:HPAddHotPluggable() Adding USB device: /dev/usb2:/dev/ugen0 readerfactory.c:1113:RFInitializeReader() Attempting startup of SCM SCR 335 (21120732207403) 00 00 using /usr/local/lib/pcsc/drivers//ifd-ccid.bundle/Contents/FreeBSD/libccid.so.1.3.1 readerfactory.c:980:RFBindFunctions() Loading IFD Handler 3.0 ifdhandler.c:1239:init_driver() LogLevel: 0x0003 ifdhandler.c:1249:init_driver() DriverOptions: 0x0000 ifdhandler.c:77:IFDHCreateChannelByName() lun: 0, device: usb:04e6/5115:libusb:/dev/usb2:/dev/ugen0 ccid_usb.c:233:OpenUSBByName() Manufacturer: Ludovic Rousseau ([EMAIL PROTECTED]) ccid_usb.c:243:OpenUSBByName() ProductString: Generic CCID driver v1.3.1 ccid_usb.c:249:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version. ccid_usb.c:397:OpenUSBByName() Found Vendor/Product: 04E6/5115 (SCM SCR 335) ccid_usb.c:399:OpenUSBByName() Using USB bus/device: /dev/usb2//dev/ugen0 ccid_usb.c:752:get_data_rates() IFD does not support GET_DATA_RATES request: Input/output error ifdhandler.c:271:IFDHGetCapabilities() lun: 0, tag: 0xFAE ifdhandler.c:313:IFDHGetCapabilities() Reader supports 1 slot(s) ifdhandler.c:841:IFDHPowerICC() lun: 0, action: PowerUp Card ATR: 3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00 90 00 B1 winscard_msg_srv.c:217:SHMProcessEventsServer() Common channel packet arrival winscard_msg_srv.c:226:SHMProcessEventsServer() SHMProcessCommonChannelRequest detects: 11 pcscdaemon.c:174:SVCServiceRunLoop() A new context thread creation is requested: 11 winscard_svc.c:131:ContextThread() Thread is started: 11 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard_svc.c:179:ContextThread() Client is protocol version 2:2 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:242:SCardEstablishContext() Establishing Context: 17002195 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:298:SCardConnect() Attempting Connect to SCM SCR 335 (21120732207403) 00 00 using protocol: 3 prothandler.c:130:PHSetProtocol() Attempting PTS to T=1 ifdhandler.c:418:IFDHSetProtocolParameters() lun: 0, protocol T=1 ifdhandler.c:1344:extra_egt() Extra EGT patch applied winscard.c:433:SCardConnect() Active Protocol: T=1 winscard.c:443:SCardConnect() hCard Identity: 113c3 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 A4 04 00 06 D2 76 00 01 24 01 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 6F 12 84 10 D2 76 00 01 24 01 01 01 00 01 00 00 0C F1 00 00 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 00 4F 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: D2 76 00 01 24 01 01 01 00 01 00 00 0C F1 00 00 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 00 C4 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 01 FE FE FE 03 03 03 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 00 6E 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 4F 10 D2 76 00 01 24 01 01 01 00 01 00 00 0C F1 00 00 73 81 9D C0 01 78 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 FE FE FE 03 03 03 C5 3C F3 30 8A 7D 34 14 FE 8B BF F0 52 AD C6 4C 5C F7 F6 68 5B 06 BD 20 2A 10 BB 35 E4 3B 70 13 DC 55 A1 74 31 7B B5 B0 EA 09 38 65 1C EB 16 A5 04 72 57 77 96 BE 02 61 54 2D 34 3D 65 36 C6 3C C4 85 A6 CD 7E C6 6E 9E EC 33 65 F2 70 F2 75 E4 C3 2F 6C A5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 0C 47 68 35 F0 47 68 35 5F 47 68 35 5E 5E 05 73 69 6E 75 78 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 00 5E 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 73 69 6E 75 78 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 00 65 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 5B 12 43 68 61 73 73 6F 74 3C 3C 53 65 62 61 73 74 69 65 6E 5F 2D 02 66 72 5F 35 01 31 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 5F 50 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 00 6E 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 4F 10 D2 76 00 01 24 01 01 01 00 01 00 00 0C F1 00 00 73 81 9D C0 01 78 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 FE FE FE 03 03 03 C5 3C F3 30 8A 7D 34 14 FE 8B BF F0 52 AD C6 4C 5C F7 F6 68 5B 06 BD 20 2A 10 BB 35 E4 3B 70 13 DC 55 A1 74 31 7B B5 B0 EA 09 38 65 1C EB 16 A5 04 72 57 77 96 BE 02 61 54 2D 34 3D 65 36 C6 3C C4 85 A6 CD 7E C6 6E 9E EC 33 65 F2 70 F2 75 E4 C3 2F 6C A5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 0C 47 68 35 F0 47 68 35 5F 47 68 35 5E 5E 05 73 69 6E 75 78 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 00 C4 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 01 FE FE FE 03 03 03 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 00 7A 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 93 03 00 00 01 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 01 01 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 01 02 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 5B 31 31 35 38 5D 20 53 65 62 61 73 74 69 65 6E 20 43 68 61 73 73 6F 74 20 3C 73 69 6E 75 78 40 66 73 66 65 2E 6F 72 67 3E 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 00 C4 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 01 FE FE FE 03 03 03 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 20 00 82 06 32 34 37 33 32 31 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 20 00 81 06 32 34 37 33 32 31 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 00 6E 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 4F 10 D2 76 00 01 24 01 01 01 00 01 00 00 0C F1 00 00 73 81 9D C0 01 78 C1 05 01 04 00 00 20 C2 05 01 04 00 00 20 C3 05 01 04 00 00 20 C4 07 01 FE FE FE 03 03 03 C5 3C F3 30 8A 7D 34 14 FE 8B BF F0 52 AD C6 4C 5C F7 F6 68 5B 06 BD 20 2A 10 BB 35 E4 3B 70 13 DC 55 A1 74 31 7B B5 B0 EA 09 38 65 1C EB 16 A5 04 72 57 77 96 BE 02 61 54 2D 34 3D 65 36 C6 3C C4 85 A6 CD 7E C6 6E 9E EC 33 65 F2 70 F2 75 E4 C3 2F 6C A5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 0C 47 68 35 F0 47 68 35 5F 47 68 35 5E 5E 05 73 69 6E 75 78 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 CA 00 C4 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 01 FE FE FE 03 03 03 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 20 00 83 08 34 31 33 33 30 34 36 35 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 SW: 90 00 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 11 winscard.c:1601:SCardTransmit() Send Protocol: T=1 APDU: 00 47 80 00 02 B6 00 00 ifdhandler.c:948:IFDHTransmitToICC() lun: 0 openct/proto-t1.c:487:t1_transceive() CT sent S-block with wtx=1 openct/proto-t1.c:487:t1_transceive() CT sent S-block with wtx=1 (...) openct/proto-t1.c:487:t1_transceive() CT sent S-block with wtx=1 openct/proto-t1.c:487:t1_transceive() CT sent S-block with wtx=1 openct/proto-t1.c:487:t1_transceive() CT sent S-block with wtx=1 commands.c:1206:CCID_Receive Card absent or mute openct/proto-t1.c:221:t1_transceive() fatal: transmit/receive failed SW: ifdwrapper.c:762:IFDTransmit() Card not transacted: 612 winscard.c:1628:SCardTransmit() Card not transacted: 0x80100016 ^[[B^Cpcscdaemon.c:572:signal_trap() Preparing for suicide winscard_msg_srv.c:257:SHMProcessEventsContext() select returns with failure: Interrupted system call winscard_svc.c:220:ContextThread() Error in SHMProcessEventsContext readerfactory.c:1379:RFCleanupReaders() entering cleaning function readerfactory.c:1388:RFCleanupReaders() Stopping reader: SCM SCR 335 (21120732207403) 00 00 eventhandler.c:120:EHDestroyEventHandler() Stomping thread. eventhandler.c:148:EHDestroyEventHandler() Thread stomped. readerfactory.c:1164:RFUnInitializeReader() Attempting shutdown of SCM SCR 335 (21120732207403) 00 00. ifdhandler.c:222:IFDHCloseChannel() lun: 0 readerfactory.c:1025:RFUnloadReader() Unloading reader driver. pcscdaemon.c:532:at_exit() cleaning /var/tmp/ _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
