[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
[36m00000002[0m [34mpcscdaemon.c:351:main() Force colored logs[0m
[36m00000060[0m configfile.l:282:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
[36m00000010[0m configfile.l:319:DBGetReaderListDir() Skipping non regular file: .
[36m00000002[0m configfile.l:319:DBGetReaderListDir() Skipping non regular file: ..
[36m00000001[0m configfile.l:358:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
[36m00000022[0m [34mpcscdaemon.c:655:main() pcsc-lite 1.8.20 daemon ready.[0m
[36m00002165[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
[36m00000062[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
[36m00000083[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x08E6, PID: 0x3438, path: /dev/bus/usb/003/012
[36m00000003[0m [34mhotplug_libudev.c:433:HPAddDevice() Adding USB device: Gemalto USB Shell Token V2[0m
[36m00000018[0m [34mreaderfactory.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[0m
[36m00000083[0m [34mreaderfactory.c:954:RFBindFunctions() Loading IFD Handler 3.0[0m
[36m00000021[0m [34mifdhandler.c:1965:init_driver() Driver version: 1.4.27[0m
[36m00000335[0m [34mifdhandler.c:1982:init_driver() LogLevel: 0x0003[0m
[36m00000003[0m [34mifdhandler.c:1993:init_driver() DriverOptions: 0x0000[0m
[36m00000134[0m [34mifdhandler.c:2006:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x000F[0m
[36m00000001[0m [34mifdhandler.c:111:CreateChannelByNameOrChannel() Lun: 0, device: usb:08e6/3438:libudev:0:/dev/bus/usb/003/012[0m
[36m00000003[0m ccid_usb.c:237:OpenUSBByName() Reader index: 0, Device: usb:08e6/3438:libudev:0:/dev/bus/usb/003/012
[36m00000006[0m ccid_usb.c:269:OpenUSBByName() interface_number: 0
[36m00000000[0m ccid_usb.c:270:OpenUSBByName() usb bus/device: 3/12
[36m00000001[0m [34mccid_usb.c:302:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist[0m
[36m00000331[0m [34mccid_usb.c:320:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau at free.fr)[0m
[36m00000002[0m [34mccid_usb.c:321:OpenUSBByName() ifdProductString: Generic CCID driver[0m
[36m00000001[0m [34mccid_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.[0m
[36m00002275[0m ccid_usb.c:406:OpenUSBByName() Try device: 3/12
[36m00000004[0m ccid_usb.c:416:OpenUSBByName() vid/pid : 08E6/3438
[36m00000001[0m ccid_usb.c:483:OpenUSBByName() Checking device: 3/12
[36m00000001[0m ccid_usb.c:554:OpenUSBByName() Trying to open USB bus/device: 3/12
[36m00113133[0m [34mccid_usb.c:656:OpenUSBByName() Found Vendor/Product: 08E6/3438 (Gemalto USB Shell Token V2)[0m
[36m00000005[0m [34mccid_usb.c:658:OpenUSBByName() Using USB bus/device: 3/12[0m
[36m00000002[0m ccid_usb.c:1243:ControlUSB() request: 0x03
[36m00002617[0m 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
[36m00000005[0m [34mccid_usb.c:1223:get_data_rates() declared: 12903 bps[0m
[36m00000002[0m [34mccid_usb.c:1223:get_data_rates() declared: 25806 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 51613 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 103226 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 206452 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 412903 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 825806 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 154839 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 258065 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 17204 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 34409 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 68817 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 137634 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 275269 bps[0m
[36m00000000[0m [34mccid_usb.c:1223:get_data_rates() declared: 550538 bps[0m
[36m00000003[0m [34mccid_usb.c:1223:get_data_rates() declared: 172043 bps[0m
[36m00000000[0m [34mccid_usb.c:1223:get_data_rates() declared: 12403 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 24806 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 49612 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 99225 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 198450 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 396899 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 74419 bps[0m
[36m00000002[0m [34mccid_usb.c:1223:get_data_rates() declared: 124031 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 86022 bps[0m
[36m00000002[0m [34mccid_usb.c:1223:get_data_rates() declared: 38710 bps[0m
[36m00000002[0m [34mccid_usb.c:1223:get_data_rates() declared: 64516 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 10323 bps[0m
[36m00000002[0m [34mccid_usb.c:1223:get_data_rates() declared: 20645 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 41290 bps[0m
[36m00000002[0m [34mccid_usb.c:1223:get_data_rates() declared: 82581 bps[0m
[36m00000002[0m [34mccid_usb.c:1223:get_data_rates() declared: 165161 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 30968 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 18750 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 37500 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 75000 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 150000 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 300000 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 600000 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 112500 bps[0m
[36m00000000[0m [34mccid_usb.c:1223:get_data_rates() declared: 187500 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 12500 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 25000 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 50000 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 100000 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 200000 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 400000 bps[0m
[36m00000002[0m [34mccid_usb.c:1223:get_data_rates() declared: 125000 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 56250 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 93750 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 62500 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 28125 bps[0m
[36m00000001[0m [34mccid_usb.c:1223:get_data_rates() declared: 46875 bps[0m
[36m00001488[0m ccid_usb.c:1296:InterruptRead() before (0)
[36m00014714[0m ccid_usb.c:1342:InterruptRead() after (0) (0)
[36m00000004[0m NotifySlotChange: 50 03
[36m00000003[0m -> 000000 65 00 00 00 00 00 00 00 00 00
[36m00000546[0m <- 000000
[36m00000003[0m [01;31mcommands.c:1226:CmdGetSlotStatus() Not enough data received: 0 bytes[0m
[36m00000002[0m -> 000000 65 00 00 00 00 00 01 00 00 00
[36m00000508[0m <- 000000
[36m00000003[0m [01;31mcommands.c:1226:CmdGetSlotStatus() Not enough data received: 0 bytes[0m
[36m00000002[0m -> 000000 65 00 00 00 00 00 02 00 00 00
[36m00000514[0m <- 000000
[36m00000004[0m [01;31mcommands.c:1226:CmdGetSlotStatus() Not enough data received: 0 bytes[0m
[36m00000002[0m [01;31mifdhandler.c:195:CreateChannelByNameOrChannel() failed[0m
[36m00000002[0m ccid_usb.c:931:CloseUSB() Closing USB device: 3/12
[36m00000001[0m ccid_usb.c:941:CloseUSB() Last slot closed. Release resources
[36m00000015[0m [34mccid_usb.c:189:close_libusb_if_needed() libusb_exit[0m
[36m00000055[0m [01;31mreaderfactory.c:1110:RFInitializeReader() Open Port 0x200000 Failed (usb:08e6/3438:libudev:0:/dev/bus/usb/003/012)[0m
[36m00000003[0m [35mreaderfactory.c:375:RFAddReader() Gemalto USB Shell Token V2 (CF4B23C4) init failed.[0m
[36m00000002[0m readerfactory.c:608:RFRemoveReader() UnrefReader() count was: 1
[36m00000001[0m [34mreaderfactory.c:1130:RFUnInitializeReader() Attempting shutdown of Gemalto USB Shell Token V2 (CF4B23C4) 00 00.[0m
[36m00000002[0m [34mreaderfactory.c:991:RFUnloadReader() Unloading reader driver.[0m
[36m00000027[0m [35mhotplug_libudev.c:520:HPAddDevice() Failed adding USB device: Gemalto USB Shell Token V2[0m
[36m00000114[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
[36m00000073[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x28DE, PID: 0x1142, path: /dev/bus/usb/003/002
[36m00000055[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x28DE, PID: 0x1142, path: /dev/bus/usb/003/002
[36m00000042[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x28DE, PID: 0x1142, path: /dev/bus/usb/003/002
[36m00000041[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x28DE, PID: 0x1142, path: /dev/bus/usb/003/002
[36m00000040[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x28DE, PID: 0x1142, path: /dev/bus/usb/003/002
[36m00000039[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
[36m00000041[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x0810, path: /dev/bus/usb/003/003
[36m00000045[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x3431, path: /dev/bus/usb/003/004
[36m00000047[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1E7D, PID: 0x2E22, path: /dev/bus/usb/003/005
[36m00000046[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1E7D, PID: 0x2E22, path: /dev/bus/usb/003/005
[36m00000043[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x3431, path: /dev/bus/usb/003/004
[36m00000047[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x04B3, PID: 0x3016, path: /dev/bus/usb/003/006
[36m00000052[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x04B3, PID: 0x3019, path: /dev/bus/usb/003/008
[36m00000049[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x04B3, PID: 0x3019, path: /dev/bus/usb/003/008
[36m00000046[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x04B3, PID: 0x3016, path: /dev/bus/usb/003/006
[36m00000050[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x06CB, PID: 0x0009, path: /dev/bus/usb/003/009
[36m00000048[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x06CB, PID: 0x0009, path: /dev/bus/usb/003/009
[36m00000046[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x04B3, PID: 0x3016, path: /dev/bus/usb/003/006
[36m00000044[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x3431, path: /dev/bus/usb/003/004
[36m00000040[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x0810, path: /dev/bus/usb/003/003
[36m00000063[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/004/001
[36m00000038[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/004/001
[36m00000041[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x0810, path: /dev/bus/usb/004/002
[36m00000045[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x8110, path: /dev/bus/usb/004/003
[36m00000040[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x2109, PID: 0x0810, path: /dev/bus/usb/004/002
[36m00000065[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
[36m00000033[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
[36m00000038[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8008, path: /dev/bus/usb/001/002
[36m00000054[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
[36m00000034[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
[36m00000037[0m hotplug_libudev.c:294:get_driver() Looking for a driver for VID: 0x8087, PID: 0x8000, path: /dev/bus/usb/002/002
[36m07758337[0m winscard_msg_srv.c:251:ProcessEventsServer() Common channel packet arrival
[36m00000014[0m winscard_msg_srv.c:263:ProcessEventsServer() ProcessCommonChannelRequest detects: 7
[36m00000002[0m pcscdaemon.c:132:SVCServiceRunLoop() A new context thread creation is requested: 7
[36m00000041[0m winscard_svc.c:337:ContextThread() Authorized PC/SC client
[36m00000002[0m winscard_svc.c:341:ContextThread() Thread is started: dwClientID=7, threadContext @0x559f24d25d80
[36m00000005[0m winscard_svc.c:359:ContextThread() Received command: CMD_VERSION from client 7
[36m00000002[0m winscard_svc.c:371:ContextThread() Client is protocol version 4:3
[36m00000002[0m winscard_svc.c:391:ContextThread() CMD_VERSION rv=0x0 for client 7
[36m00000024[0m winscard_svc.c:359:ContextThread() Received command: ESTABLISH_CONTEXT from client 7
[36m00000005[0m winscard.c:215:SCardEstablishContext() Establishing Context: 0xD3699CE
[36m00000002[0m winscard_svc.c:455:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 7
[36m00000017[0m winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00000029[0m winscard_svc.c:359:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 7
[36m00000022[0m winscard_svc.c:359:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 7
[36m00000004[0m winscard_svc.c:436:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 7
[36m00000017[0m winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00000027[0m winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00000015[0m winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00000016[0m winscard_svc.c:359:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
[36m00000014[0m winscard_svc.c:359:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 7
[36m09630578[0m winscard_svc.c:351:ContextThread() Client die: 7
[36m00000016[0m winscard.c:226:SCardReleaseContext() Releasing Context: 0xD3699CE
[36m00000003[0m winscard_svc.c:1013:MSGCleanupClient() Thread is stopping: dwClientID=7, threadContext @0x559f24d25d80
[36m00000001[0m winscard_svc.c:1019:MSGCleanupClient() Freeing SCONTEXT @0x559f24d25d80
More information about the pcsclite-muscle
mailing list