Hi Ludovic, I downloaded the source, built it, stopped ``pcscd`` and ran ``parse``. The resulting output is attached. Also attached is the output generated by running ``pcscd`` with the debugging options, while the card inserted, then removing the card and then inserting it again.
Thanks Ludovic Rousseau (el 2009-11-12 a les 21:23:13 +0100) va dir:: > Send me the output.txt file as described in [1]. > > Also send me pcscd logs as described in [2]. > > Thanks > > [1] http://pcsclite.alioth.debian.org/ccid.html#CCID_compliant > [2] http://pcsclite.alioth.debian.org/ccid.html#support :: Ivan Vilata i Balaguer -- http://ivan.lovesgazpacho.net/
idVendor: 0x04E6 iManufacturer: SCM Microsystems Inc. idProduct: 0x5116 iProduct: SCR3310 v2.0 USB SC Reader bcdDevice: 2.04 (firmware release?) bLength: 9 bDescriptorType: 4 bInterfaceNumber: 0 bAlternateSetting: 0 bNumEndpoints: 3 bulk-IN, bulk-OUT and Interrupt-IN bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)] bInterfaceSubClass: 0 bInterfaceProtocol: 0 bulk transfer, optional interrupt-IN (CCID) iInterface: CCID Interface CCID Class Descriptor bLength: 0x36 bDescriptorType: 0x21 bcdCCID: 1.10 bMaxSlotIndex: 0x00 bVoltageSupport: 0x07 5.0V 3.0V 1.8V dwProtocols: 0x0000 0x0003 T=0 T=1 dwDefaultClock: 4.800 MHz dwMaximumClock: 8.000 MHz bNumClockSupported: 0 (will use whatever is returned) Support 4000 kHz Support 4800 kHz Support 6000 kHz Support 8000 kHz Support 12000 kHz dwDataRate: 12903 bps dwMaxDataRate: 412903 bps bNumDataRatesSupported: 0 (will use whatever is returned) Support 10752 bps Support 21505 bps Support 43010 bps Support 86021 bps Support 172043 bps Support 344086 bps Support 129032 bps Support 215053 bps Support 12903 bps Support 25806 bps Support 51612 bps Support 103225 bps Support 206451 bps Support 412903 bps Support 154838 bps Support 258064 bps Support 10752 bps Support 21505 bps Support 43010 bps Support 86021 bps Support 172043 bps Support 344086 bps Support 129032 bps Support 215053 bps Support 10752 bps Support 21505 bps Support 43010 bps Support 86021 bps Support 172043 bps Support 344086 bps Support 129032 bps Support 215053 bps Support 7168 bps Support 14336 bps Support 28673 bps Support 57347 bps Support 114695 bps Support 229390 bps Support 86021 bps Support 143369 bps Support 5376 bps Support 10752 bps Support 21505 bps Support 43010 bps Support 86021 bps Support 172043 bps Support 64516 bps Support 107526 bps Support 4301 bps Support 8602 bps Support 17204 bps Support 34408 bps Support 68817 bps Support 137634 bps Support 51612 bps Support 86021 bps Support 9375 bps Support 18750 bps Support 37500 bps Support 75000 bps Support 150000 bps Support 300000 bps Support 112500 bps Support 187500 bps Support 7812 bps Support 15625 bps Support 31250 bps Support 62500 bps Support 125000 bps Support 250000 bps Support 93750 bps Support 156250 bps Support 7812 bps Support 15625 bps Support 31250 bps Support 62500 bps Support 125000 bps Support 250000 bps Support 93750 bps Support 156250 bps Support 5208 bps Support 10416 bps Support 20833 bps Support 41666 bps Support 83333 bps Support 166666 bps Support 62500 bps Support 104166 bps Support 3906 bps Support 7812 bps Support 15625 bps Support 31250 bps Support 62500 bps Support 125000 bps Support 46875 bps Support 78125 bps dwMaxIFSD: 252 dwSynchProtocols: 0x00000000 dwMechanical: 0x00000000 No special characteristics dwFeatures: 0x000101BA ....02 Automatic parameter configuration based on ATR data ....08 Automatic ICC voltage selection ....10 Automatic ICC clock frequency change according to parameters ....20 Automatic baud rate change according to frequency and Fi, Di params ....80 Automatic PPS made by the CCID ..01.. CCID can set ICC in clock stop mode 01.... TPDU level exchange dwMaxCCIDMessageLength: 271 bytes bClassGetResponse: 0xFF echoes the APDU class bClassEnveloppe: 0xFF echoes the APDU class wLcdLayout: 0x0000 bPINSupport: 0x00 bMaxCCIDBusySlots: 1
debuglog.c:230:DebugLogSetLevel() debug level=debug debuglog.c:259:DebugLogSetCategory() Debug options: APDU pcscdaemon.c:512:main() pcsc-lite 1.5.5 daemon ready. hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x04E6, PID: 0x5116 hotplug_libhal.c:366:HPAddDevice() Adding USB device: usb_device_4e6_5116_noserial_if0 readerfactory.c:1024:RFInitializeReader() Attempting startup of SCM SCR 3310 [CCID Interface] 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0 ifdhandler.c:1532:init_driver() Driver version: 1.3.11 ifdhandler.c:1545:init_driver() LogLevel: 0x0003 ifdhandler.c:1555:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x0007 ifdhandler.c:1565:init_driver() DriverOptions: 0x0000 ifdhandler.c:82:IFDHCreateChannelByName() lun: 0, device: usb:04e6/5116:libhal:/org/freedesktop/Hal/devices/usb_device_4e6_5116_noserial_if0 ccid_usb.c:162:OpenUSBByName() Reader index: 0, Device: usb:04e6/5116:libhal:/org/freedesktop/Hal/devices/usb_device_4e6_5116_noserial_if0 ccid_usb.c:285:OpenUSBByName() Manufacturer: Ludovic Rousseau ([email protected]) ccid_usb.c:295:OpenUSBByName() ProductString: Generic CCID driver ccid_usb.c:301: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:383:OpenUSBByName() Checking device: 004/006 ccid_usb.c:437:OpenUSBByName() Trying to open USB bus/device: 004/006 ccid_usb.c:501:OpenUSBByName() Found Vendor/Product: 04E6/5116 (SCM SCR 3310) ccid_usb.c:503:OpenUSBByName() Using USB bus/device: 004/006 ccid_usb.c:949:ControlUSB() request: 0x03 receive: 00 2A 00 00 01 54 00 00 02 A8 00 00 05 50 01 00 0B A0 02 00 16 40 05 00 08 F8 01 00 0D 48 03 00 67 32 00 00 CE 64 00 00 9C C9 00 00 39 93 01 00 73 26 03 00 E7 4C 06 00 D6 5C 02 00 10 F0 03 00 00 2A 00 00 01 54 00 00 02 A8 00 00 05 50 01 00 0B A0 02 00 16 40 05 00 08 F8 01 00 0D 48 03 00 00 2A 00 00 01 54 00 00 02 A8 00 00 05 50 01 00 0B A0 02 00 16 40 05 00 08 F8 01 00 0D 48 03 00 00 1C 00 00 00 38 00 00 01 70 00 00 03 E0 00 00 07 C0 01 00 0E 80 03 00 05 50 01 00 09 30 02 00 00 15 00 00 00 2A 00 00 01 54 00 00 02 A8 00 00 05 50 01 00 0B A0 02 00 04 FC 00 00 06 A4 01 00 CD 10 00 00 9A 21 00 00 34 43 00 00 68 86 00 00 D1 0C 01 00 A2 19 02 00 9C C9 00 00 05 50 01 00 9F 24 00 00 3E 49 00 00 7C 92 00 00 F8 24 01 00 F0 49 02 00 E0 93 04 00 74 B7 01 00 6C DC 02 00 84 1E 00 00 09 3D 00 00 12 7A 00 00 24 F4 00 00 48 E8 01 00 90 D0 03 00 36 6E 01 00 5A 62 02 00 84 1E 00 00 09 3D 00 00 12 7A 00 00 24 F4 00 00 48 E8 01 00 90 D0 03 00 36 6E 01 00 5A 62 02 00 58 14 00 00 B0 28 00 00 61 51 00 00 C2 A2 00 00 85 45 01 00 0A 8B 02 00 24 F4 00 00 E6 96 01 00 42 0F 00 00 84 1E 00 00 09 3D 00 00 12 7A 00 00 24 F4 00 00 48 E8 01 00 1B B7 00 00 2D 31 01 00 ccid_usb.c:929:get_data_rates() declared: 10752 bps ccid_usb.c:929:get_data_rates() declared: 21505 bps ccid_usb.c:929:get_data_rates() declared: 43010 bps ccid_usb.c:929:get_data_rates() declared: 86021 bps ccid_usb.c:929:get_data_rates() declared: 172043 bps ccid_usb.c:929:get_data_rates() declared: 344086 bps ccid_usb.c:929:get_data_rates() declared: 129032 bps ccid_usb.c:929:get_data_rates() declared: 215053 bps ccid_usb.c:929:get_data_rates() declared: 12903 bps ccid_usb.c:929:get_data_rates() declared: 25806 bps ccid_usb.c:929:get_data_rates() declared: 51612 bps ccid_usb.c:929:get_data_rates() declared: 103225 bps ccid_usb.c:929:get_data_rates() declared: 206451 bps ccid_usb.c:929:get_data_rates() declared: 412903 bps ccid_usb.c:929:get_data_rates() declared: 154838 bps ccid_usb.c:929:get_data_rates() declared: 258064 bps ccid_usb.c:929:get_data_rates() declared: 10752 bps ccid_usb.c:929:get_data_rates() declared: 21505 bps ccid_usb.c:929:get_data_rates() declared: 43010 bps ccid_usb.c:929:get_data_rates() declared: 86021 bps ccid_usb.c:929:get_data_rates() declared: 172043 bps ccid_usb.c:929:get_data_rates() declared: 344086 bps ccid_usb.c:929:get_data_rates() declared: 129032 bps ccid_usb.c:929:get_data_rates() declared: 215053 bps ccid_usb.c:929:get_data_rates() declared: 10752 bps ccid_usb.c:929:get_data_rates() declared: 21505 bps ccid_usb.c:929:get_data_rates() declared: 43010 bps ccid_usb.c:929:get_data_rates() declared: 86021 bps ccid_usb.c:929:get_data_rates() declared: 172043 bps ccid_usb.c:929:get_data_rates() declared: 344086 bps ccid_usb.c:929:get_data_rates() declared: 129032 bps ccid_usb.c:929:get_data_rates() declared: 215053 bps ccid_usb.c:929:get_data_rates() declared: 7168 bps ccid_usb.c:929:get_data_rates() declared: 14336 bps ccid_usb.c:929:get_data_rates() declared: 28673 bps ccid_usb.c:929:get_data_rates() declared: 57347 bps ccid_usb.c:929:get_data_rates() declared: 114695 bps ccid_usb.c:929:get_data_rates() declared: 229390 bps ccid_usb.c:929:get_data_rates() declared: 86021 bps ccid_usb.c:929:get_data_rates() declared: 143369 bps ccid_usb.c:929:get_data_rates() declared: 5376 bps ccid_usb.c:929:get_data_rates() declared: 10752 bps ccid_usb.c:929:get_data_rates() declared: 21505 bps ccid_usb.c:929:get_data_rates() declared: 43010 bps ccid_usb.c:929:get_data_rates() declared: 86021 bps ccid_usb.c:929:get_data_rates() declared: 172043 bps ccid_usb.c:929:get_data_rates() declared: 64516 bps ccid_usb.c:929:get_data_rates() declared: 107526 bps ccid_usb.c:929:get_data_rates() declared: 4301 bps ccid_usb.c:929:get_data_rates() declared: 8602 bps ccid_usb.c:929:get_data_rates() declared: 17204 bps ccid_usb.c:929:get_data_rates() declared: 34408 bps ccid_usb.c:929:get_data_rates() declared: 68817 bps ccid_usb.c:929:get_data_rates() declared: 137634 bps ccid_usb.c:929:get_data_rates() declared: 51612 bps ccid_usb.c:929:get_data_rates() declared: 86021 bps ccid_usb.c:929:get_data_rates() declared: 9375 bps ccid_usb.c:929:get_data_rates() declared: 18750 bps ccid_usb.c:929:get_data_rates() declared: 37500 bps ccid_usb.c:929:get_data_rates() declared: 75000 bps ccid_usb.c:929:get_data_rates() declared: 150000 bps ccid_usb.c:929:get_data_rates() declared: 300000 bps ccid_usb.c:929:get_data_rates() declared: 112500 bps ccid_usb.c:929:get_data_rates() declared: 187500 bps ccid_usb.c:929:get_data_rates() declared: 7812 bps ccid_usb.c:929:get_data_rates() declared: 15625 bps ccid_usb.c:929:get_data_rates() declared: 31250 bps ccid_usb.c:929:get_data_rates() declared: 62500 bps ccid_usb.c:929:get_data_rates() declared: 125000 bps ccid_usb.c:929:get_data_rates() declared: 250000 bps ccid_usb.c:929:get_data_rates() declared: 93750 bps ccid_usb.c:929:get_data_rates() declared: 156250 bps ccid_usb.c:929:get_data_rates() declared: 7812 bps ccid_usb.c:929:get_data_rates() declared: 15625 bps ccid_usb.c:929:get_data_rates() declared: 31250 bps ccid_usb.c:929:get_data_rates() declared: 62500 bps ccid_usb.c:929:get_data_rates() declared: 125000 bps ccid_usb.c:929:get_data_rates() declared: 250000 bps ccid_usb.c:929:get_data_rates() declared: 93750 bps ccid_usb.c:929:get_data_rates() declared: 156250 bps ccid_usb.c:929:get_data_rates() declared: 5208 bps ccid_usb.c:929:get_data_rates() declared: 10416 bps ccid_usb.c:929:get_data_rates() declared: 20833 bps ccid_usb.c:929:get_data_rates() declared: 41666 bps ccid_usb.c:929:get_data_rates() declared: 83333 bps ccid_usb.c:929:get_data_rates() declared: 166666 bps ccid_usb.c:929:get_data_rates() declared: 62500 bps ccid_usb.c:929:get_data_rates() declared: 104166 bps ccid_usb.c:929:get_data_rates() declared: 3906 bps ccid_usb.c:929:get_data_rates() declared: 7812 bps ccid_usb.c:929:get_data_rates() declared: 15625 bps ccid_usb.c:929:get_data_rates() declared: 31250 bps ccid_usb.c:929:get_data_rates() declared: 62500 bps ccid_usb.c:929:get_data_rates() declared: 125000 bps ccid_usb.c:929:get_data_rates() declared: 46875 bps ccid_usb.c:929:get_data_rates() declared: 78125 bps ifdhandler.c:364:IFDHGetCapabilities() tag: 0xFB0, usb:04e6/5116:libhal:/org/freedesktop/Hal/devices/usb_device_4e6_5116_noserial_if0 (lun: 0) readerfactory.c:249:RFAddReader() Using the pcscd polling thread ifdhandler.c:1043:IFDHPowerICC() action: PowerUp, usb:04e6/5116:libhal:/org/freedesktop/Hal/devices/usb_device_4e6_5116_noserial_if0 (lun: 0) -> 000000 62 00 00 00 00 00 04 00 00 00 <- 000000 80 14 00 00 00 00 04 00 00 00 3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00 90 00 B1 Card ATR: 3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00 90 00 B1 ifdhandler.c:364:IFDHGetCapabilities() tag: 0xFAE, usb:04e6/5116:libhal:/org/freedesktop/Hal/devices/usb_device_4e6_5116_noserial_if0 (lun: 0) ifdhandler.c:418:IFDHGetCapabilities() Reader supports 1 slot(s) hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x05AC, PID: 0x1000 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x05AC, PID: 0x1000 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0002 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x05AC, PID: 0x8240 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x0603, PID: 0x00F2 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x0603, PID: 0x00F2 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x046D, PID: 0xC00E hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 commands.c:1010:CmdGetSlotStatus Card absent or mute eventhandler.c:361:EHStatusHandlerThread() Card Removed From SCM SCR 3310 [CCID Interface] 00 00 commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute commands.c:1010:CmdGetSlotStatus Card absent or mute ifdhandler.c:1043:IFDHPowerICC() action: PowerUp, usb:04e6/5116:libhal:/org/freedesktop/Hal/devices/usb_device_4e6_5116_noserial_if0 (lun: 0) -> 000000 62 00 00 00 00 00 43 00 00 00 <- 000000 80 14 00 00 00 00 43 00 00 00 3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00 90 00 B1 eventhandler.c:429:EHStatusHandlerThread() Card inserted into SCM SCR 3310 [CCID Interface] 00 00 Card ATR: 3B FA 13 00 FF 81 31 80 45 00 31 C1 73 C0 01 00 00 90 00 B1 pcscdaemon.c:588:signal_trap() Preparing for suicide readerfactory.c:1270:RFCleanupReaders() entering cleaning function readerfactory.c:1279:RFCleanupReaders() Stopping reader: SCM SCR 3310 [CCID Interface] 00 00 eventhandler.c:126:EHDestroyEventHandler() Stomping thread. ifdhandler.c:364:IFDHGetCapabilities() tag: 0xFB1, usb:04e6/5116:libhal:/org/freedesktop/Hal/devices/usb_device_4e6_5116_noserial_if0 (lun: 0) eventhandler.c:139:EHDestroyEventHandler() Waiting polling thread eventhandler.c:474:EHStatusHandlerThread() Die eventhandler.c:163:EHDestroyEventHandler() Thread stomped. readerfactory.c:1065:RFUnInitializeReader() Attempting shutdown of SCM SCR 3310 [CCID Interface] 00 00. ifdhandler.c:266:IFDHCloseChannel() usb:04e6/5116:libhal:/org/freedesktop/Hal/devices/usb_device_4e6_5116_noserial_if0 (lun: 0) -> 000000 63 00 00 00 00 00 5D 00 00 00 <- 000000 81 00 00 00 00 00 5D 01 00 01 ccid_usb.c:677:CloseUSB() Closing USB device: 004/006 ccid_usb.c:692:CloseUSB() Last slot closed. Release resources readerfactory.c:914:RFUnloadReader() Unloading reader driver. pcscdaemon.c:537:at_exit() cleaning /var/run/pcscd
signature.asc
Description: Digital signature

