[Pcsclite-muscle] Gemalto (was Gemplus) GemPC Key SmartCard Reader not working in debian stretch

Sébastien Chaumat euidzero
Sun May 21 13:04:01 PDT 2017


Hello,

 Maybe  situation similar as this one reported here long ago :

https://developer.gemalto.com/threads/gemalto-usb-shell-token-v2-not-working-under-debian-73

 I'm trying to get this device working with an openPGP 2.1 card (that works
perfectly with another card reader on same distribution) on debian strech.

 tested with ccid-1.4.27 freshly compiled.

See the log in attachement.

Thanks for helping.
S?bastien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20170521/7f9d6af5/attachment-0001.html>
-------------- next part --------------
00000000 debuglog.c:289:DebugLogSetLevel() debug level=debug
00000031 debuglog.c:310:DebugLogSetCategory() Debug options: APDU
00000002 pcscdaemon.c:351:main() Force colored logs
00000060 configfile.l:282:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000010 configfile.l:319:DBGetReaderListDir() Skipping non regular file: .
00000002 configfile.l:319:DBGetReaderListDir() Skipping non regular file: ..
00000001 configfile.l:358:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000022 pcscdaemon.c:655:main() pcsc-lite 1.8.20 daemon ready.
00002165 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
00000062 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
00000083 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x08E6, PID: 0x3438, path: /dev/bus/usb/003/012
00000003 hotplug_libudev.c:433:HPAddDevice() Adding USB device: Gemalto USB Shell Token V2
00000018 readerfactory.c:1079:RFInitializeReader() Attempting startup of Gemalto USB Shell Token V2 (CF4B23C4) 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000083 readerfactory.c:954:RFBindFunctions() Loading IFD Handler 3.0
00000021 ifdhandler.c:1965:init_driver() Driver version: 1.4.27
00000335 ifdhandler.c:1982:init_driver() LogLevel: 0x0003
00000003 ifdhandler.c:1993:init_driver() DriverOptions: 0x0000
00000134 ifdhandler.c:2006:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x000F
00000001 ifdhandler.c:111:CreateChannelByNameOrChannel() Lun: 0, device: usb:08e6/3438:libudev:0:/dev/bus/usb/003/012
00000003 ccid_usb.c:237:OpenUSBByName() Reader index: 0, Device: usb:08e6/3438:libudev:0:/dev/bus/usb/003/012
00000006 ccid_usb.c:269:OpenUSBByName() interface_number: 0
00000000 ccid_usb.c:270:OpenUSBByName() usb bus/device: 3/12
00000001 ccid_usb.c:302:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
00000331 ccid_usb.c:320:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau at free.fr)
00000002 ccid_usb.c:321:OpenUSBByName() ifdProductString: Generic CCID driver
00000001 ccid_usb.c:322: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.
00002275 ccid_usb.c:406:OpenUSBByName() Try device: 3/12
00000004 ccid_usb.c:416:OpenUSBByName() vid/pid : 08E6/3438
00000001 ccid_usb.c:483:OpenUSBByName() Checking device: 3/12
00000001 ccid_usb.c:554:OpenUSBByName() Trying to open USB bus/device: 3/12
00113133 ccid_usb.c:656:OpenUSBByName() Found Vendor/Product: 08E6/3438 (Gemalto USB Shell Token V2)
00000005 ccid_usb.c:658:OpenUSBByName() Using USB bus/device: 3/12
00000002 ccid_usb.c:1243:ControlUSB() request: 0x03
00002617 receive: 67 32 00 00 CE 64 00 00 9D C9 00 00 3A 93 01 00 74 26 03 00 E7 4C 06 00 CE 99 0C 00 D7 5C 02 00 11 F0 03 00 34 43 00 00 69 86 00 00 D1 0C 01 00 A2 19 02 00 45 33 04 00 8A 66 08 00 0B A0 02 00 73 30 00 00 E6 60 00 00 CC C1 00 00 99 83 01 00 32 07 03 00 63 0E 06 00 B3 22 01 00 7F E4 01 00 06 50 01 00 36 97 00 00 04 FC 00 00 53 28 00 00 A5 50 00 00 4A A1 00 00 95 42 01 00 29 85 02 00 F8 78 00 00 3E 49 00 00 7C 92 00 00 F8 24 01 00 F0 49 02 00 E0 93 04 00 C0 27 09 00 74 B7 01 00 6C DC 02 00 D4 30 00 00 A8 61 00 00 50 C3 00 00 A0 86 01 00 40 0D 03 00 80 1A 06 00 48 E8 01 00 BA DB 00 00 36 6E 01 00 24 F4 00 00 DD 6D 00 00 1B B7 00 00 
00000005 ccid_usb.c:1223:get_data_rates() declared: 12903 bps
00000002 ccid_usb.c:1223:get_data_rates() declared: 25806 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 51613 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 103226 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 206452 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 412903 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 825806 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 154839 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 258065 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 17204 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 34409 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 68817 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 137634 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 275269 bps
00000000 ccid_usb.c:1223:get_data_rates() declared: 550538 bps
00000003 ccid_usb.c:1223:get_data_rates() declared: 172043 bps
00000000 ccid_usb.c:1223:get_data_rates() declared: 12403 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 24806 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 49612 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 99225 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 198450 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 396899 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 74419 bps
00000002 ccid_usb.c:1223:get_data_rates() declared: 124031 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 86022 bps
00000002 ccid_usb.c:1223:get_data_rates() declared: 38710 bps
00000002 ccid_usb.c:1223:get_data_rates() declared: 64516 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 10323 bps
00000002 ccid_usb.c:1223:get_data_rates() declared: 20645 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 41290 bps
00000002 ccid_usb.c:1223:get_data_rates() declared: 82581 bps
00000002 ccid_usb.c:1223:get_data_rates() declared: 165161 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 30968 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 18750 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 37500 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 75000 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 150000 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 300000 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 600000 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 112500 bps
00000000 ccid_usb.c:1223:get_data_rates() declared: 187500 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 12500 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 25000 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 50000 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 100000 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 200000 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 400000 bps
00000002 ccid_usb.c:1223:get_data_rates() declared: 125000 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 56250 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 93750 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 62500 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 28125 bps
00000001 ccid_usb.c:1223:get_data_rates() declared: 46875 bps
00001488 ccid_usb.c:1296:InterruptRead() before (0)
00014714 ccid_usb.c:1342:InterruptRead() after (0) (0)
00000004 NotifySlotChange: 50 03 
00000003 -> 000000 65 00 00 00 00 00 00 00 00 00 
00000546 <- 000000 
00000003 commands.c:1226:CmdGetSlotStatus() Not enough data received: 0 bytes
00000002 -> 000000 65 00 00 00 00 00 01 00 00 00 
00000508 <- 000000 
00000003 commands.c:1226:CmdGetSlotStatus() Not enough data received: 0 bytes
00000002 -> 000000 65 00 00 00 00 00 02 00 00 00 
00000514 <- 000000 
00000004 commands.c:1226:CmdGetSlotStatus() Not enough data received: 0 bytes
00000002 ifdhandler.c:195:CreateChannelByNameOrChannel() failed
00000002 ccid_usb.c:931:CloseUSB() Closing USB device: 3/12
00000001 ccid_usb.c:941:CloseUSB() Last slot closed. Release resources
00000015 ccid_usb.c:189:close_libusb_if_needed() libusb_exit
00000055 readerfactory.c:1110:RFInitializeReader() Open Port 0x200000 Failed (usb:08e6/3438:libudev:0:/dev/bus/usb/003/012)
00000003 readerfactory.c:375:RFAddReader() Gemalto USB Shell Token V2 (CF4B23C4) init failed.
00000002 readerfactory.c:608:RFRemoveReader() UnrefReader() count was: 1
00000001 readerfactory.c:1130:RFUnInitializeReader() Attempting shutdown of Gemalto USB Shell Token V2 (CF4B23C4) 00 00.
00000002 readerfactory.c:991:RFUnloadReader() Unloading reader driver.
00000027 hotplug_libudev.c:520:HPAddDevice() Failed adding USB device: Gemalto USB Shell Token V2
00000114 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
00000073 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x28DE, PID: 0x1142, path: /dev/bus/usb/003/002
00000055 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x28DE, PID: 0x1142, path: /dev/bus/usb/003/002
00000042 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x28DE, PID: 0x1142, path: /dev/bus/usb/003/002
00000041 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x28DE, PID: 0x1142, path: /dev/bus/usb/003/002
00000040 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x28DE, PID: 0x1142, path: /dev/bus/usb/003/002
00000039 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
00000041 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x0810, path: /dev/bus/usb/003/003
00000045 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x3431, path: /dev/bus/usb/003/004
00000047 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1E7D, PID: 0x2E22, path: /dev/bus/usb/003/005
00000046 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1E7D, PID: 0x2E22, path: /dev/bus/usb/003/005
00000043 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x3431, path: /dev/bus/usb/003/004
00000047 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x04B3, PID: 0x3016, path: /dev/bus/usb/003/006
00000052 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x04B3, PID: 0x3019, path: /dev/bus/usb/003/008
00000049 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x04B3, PID: 0x3019, path: /dev/bus/usb/003/008
00000046 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x04B3, PID: 0x3016, path: /dev/bus/usb/003/006
00000050 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x06CB, PID: 0x0009, path: /dev/bus/usb/003/009
00000048 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x06CB, PID: 0x0009, path: /dev/bus/usb/003/009
00000046 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x04B3, PID: 0x3016, path: /dev/bus/usb/003/006
00000044 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x3431, path: /dev/bus/usb/003/004
00000040 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x0810, path: /dev/bus/usb/003/003
00000063 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/004/001
00000038 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/004/001
00000041 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x0810, path: /dev/bus/usb/004/002
00000045 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x8110, path: /dev/bus/usb/004/003
00000040 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x0810, path: /dev/bus/usb/004/002
00000065 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000033 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000038 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8008, path: /dev/bus/usb/001/002
00000054 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000034 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000037 hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/002/002
07758337 winscard_msg_srv.c:251:ProcessEventsServer() Common channel packet arrival
00000014 winscard_msg_srv.c:263:ProcessEventsServer() ProcessCommonChannelRequest detects: 7
00000002 pcscdaemon.c:132:SVCServiceRunLoop() A new context thread creation is requested: 7
00000041 winscard_svc.c:337:ContextThread() Authorized PC/SC client
00000002 winscard_svc.c:341:ContextThread() Thread is started: dwClientID=7, threadContext @0x559f24d25d80
00000005 winscard_svc.c:359:ContextThread() Received command: CMD_VERSION from client 7
00000002 winscard_svc.c:371:ContextThread() Client is protocol version 4:3
00000002 winscard_svc.c:391:ContextThread() CMD_VERSION rv=0x0 for client 7
00000024 winscard_svc.c:359:ContextThread() Received command: ESTABLISH_CONTEXT from client 7
00000005 winscard.c:215:SCardEstablishContext() Establishing Context: 0xD3699CE
00000002 winscard_svc.c:455:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 7
00000017 winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000029 winscard_svc.c:359:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 7
00000022 winscard_svc.c:359:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 7
00000004 winscard_svc.c:436:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 7
00000017 winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000027 winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000015 winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000016 winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
00000014 winscard_svc.c:359:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 7
09630578 winscard_svc.c:351:ContextThread() Client die: 7
00000016 winscard.c:226:SCardReleaseContext() Releasing Context: 0xD3699CE
00000003 winscard_svc.c:1013:MSGCleanupClient() Thread is stopping: dwClientID=7, threadContext @0x559f24d25d80
00000001 winscard_svc.c:1019:MSGCleanupClient() Freeing SCONTEXT @0x559f24d25d80



More information about the pcsclite-muscle mailing list