Gemalto is now part of the Thales Group, find out more.

You are here

Gemalto USB Shell Token V2 not working under Debian 7.3 | Thales IoT Developer Community

September 10, 2014 - 5:47pm, 6960 views

Hi, I have strange problem with Gemalto USB Shell Token V2 tokens. After plugging it into USB port (no matter if it's 2.0 or 3.0) it's blinking and I cannot access certificate. Below is full log of pcscd: ~# pcscd -fdT 00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug 00000098 pcscdaemon.c:245:main() Force colored logs 00000298 configfile.l:254:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d 00000063 configfile.l:266:DBGetReaderListDir() Skipping non regular file: .. 00000025 configfile.l:266:DBGetReaderListDir() Skipping non regular file: . 00000028 configfile.l:307:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin 00000118 pcscdaemon.c:545:main() pcsc-lite 1.8.10 daemon ready. 00003162 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001 00000114 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001 00000084 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000079 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000077 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000079 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000075 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000076 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000076 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000074 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001 00000081 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC52F, path: /dev/bus/usb/003/002 00000079 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC52F, path: /dev/bus/usb/003/002 00000097 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/004/001 00000099 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 00000076 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 00000082 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002 00000085 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x2232, PID: 0x1035, path: /dev/bus/usb/001/003 00000079 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x2232, PID: 0x1035, path: /dev/bus/usb/001/003 00000077 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002 00000101 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001 00000074 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001 00000084 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/002/002 06605425 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x08E6, PID: 0x3438, path: /dev/bus/usb/003/010 00000035 hotplug_libudev.c:321:HPAddDevice() Adding USB device: Gemalto USB Shell Token V2 00000126 readerfactory.c:989:RFInitializeReader() Attempting startup of Gemalto USB Shell Token V2 (F4DAF7B0) 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so 00000341 readerfactory.c:874:RFBindFunctions() Loading IFD Handler 3.0 00000079 ifdhandler.c:1910:init_driver() Driver version: 1.4.15 00001283 ifdhandler.c:1927:init_driver() LogLevel: 0x0003 00000020 ifdhandler.c:1938:init_driver() DriverOptions: 0x0000 00000282 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:08e6/3438:libudev:0:/dev/bus/usb/003/010 00000060 ccid_usb.c:281:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist 00001263 ccid_usb.c:299:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr) 00000021 ccid_usb.c:300:OpenUSBByName() ifdProductString: Generic CCID driver 00000015 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. 00005535 ccid_usb.c:589:OpenUSBByName() Found Vendor/Product: 08E6/3438 (Gemalto USB Shell Token V2) 00000032 ccid_usb.c:591:OpenUSBByName() Using USB bus/device: 3/10 00002747 ccid_usb.c:1129:get_data_rates() declared: 12903 bps 00000031 ccid_usb.c:1129:get_data_rates() declared: 25806 bps 00000007 ccid_usb.c:1129:get_data_rates() declared: 51613 bps 00000006 ccid_usb.c:1129:get_data_rates() declared: 103226 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 206452 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 412903 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 825806 bps 00000006 ccid_usb.c:1129:get_data_rates() declared: 154839 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 258065 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 17204 bps 00000006 ccid_usb.c:1129:get_data_rates() declared: 34409 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 68817 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 137634 bps 00000006 ccid_usb.c:1129:get_data_rates() declared: 275269 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 550538 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 172043 bps 00000004 ccid_usb.c:1129:get_data_rates() declared: 12403 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 24806 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 49612 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 99225 bps 00000004 ccid_usb.c:1129:get_data_rates() declared: 198450 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 396899 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 74419 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 124031 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 86022 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 38710 bps 00000004 ccid_usb.c:1129:get_data_rates() declared: 64516 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 10323 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 20645 bps 00000004 ccid_usb.c:1129:get_data_rates() declared: 41290 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 82581 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 165161 bps 00000004 ccid_usb.c:1129:get_data_rates() declared: 30968 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 18750 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 37500 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 75000 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 150000 bps 00000004 ccid_usb.c:1129:get_data_rates() declared: 300000 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 600000 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 112500 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 187500 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 12500 bps 00000004 ccid_usb.c:1129:get_data_rates() declared: 25000 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 50000 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 100000 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 200000 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 400000 bps 00000004 ccid_usb.c:1129:get_data_rates() declared: 125000 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 56250 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 93750 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 62500 bps 00000005 ccid_usb.c:1129:get_data_rates() declared: 28125 bps 00000004 ccid_usb.c:1129:get_data_rates() declared: 46875 bps 00001910 ccid.c:78:ccid_open_hack_pre() ZLP fixup 00013139 commands.c:902:CmdEscape error on byte 10 00000047 ccid.c:219:set_gemalto_firmware_features() GET_FIRMWARE_FEATURES failed: 612, len=0 00000030 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB3, usb:08e6/3438:libudev:0:/dev/bus/usb/003/010 (lun: 0) 00000014 readerfactory.c:332:RFAddReader() Using the reader polling thread 00000776 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFAE, usb:08e6/3438:libudev:0:/dev/bus/usb/003/010 (lun: 0) 00000044 ifdhandler.c:450:IFDHGetCapabilities() Reader supports 1 slot(s) 00001538 ifdhandler.c:1122:IFDHPowerICC() action: PowerUp, usb:08e6/3438:libudev:0:/dev/bus/usb/003/010 (lun: 0) 00084021 eventhandler.c:266:EHStatusHandlerThread() powerState: POWER_STATE_POWERED 00000061 Card ATR: 3B DB 96 00 80 B1 FE 45 1F 83 00 31 E8 54 27 E6 04 00 0F 90 00 8C 05001618 ifdhandler.c:1122:IFDHPowerICC() action: PowerDown, usb:08e6/3438:libudev:0:/dev/bus/usb/003/010 (lun: 0) 00011981 eventhandler.c:455:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED 04475803 hotplug_libudev.c:594:HPEstablishUSBNotifications() Device removed 00001542 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001 00000320 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001 00000284 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000277 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000253 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000236 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000164 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000152 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000149 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x05C6, PID: 0x9025, path: /dev/bus/usb/003/007 00000149 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001 00000152 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC52F, path: /dev/bus/usb/003/002 00000151 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC52F, path: /dev/bus/usb/003/002 00000198 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/004/001 00000203 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 00000151 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 00000157 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002 00000164 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x2232, PID: 0x1035, path: /dev/bus/usb/001/003 00000153 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x2232, PID: 0x1035, path: /dev/bus/usb/001/003 00000156 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002 00000191 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001 00000151 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001 00000152 hotplug_libudev.c:269:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/002/002 00000028 hotplug_libudev.c:520:HPRescanUsbBus() Removing USB device[0]: Gemalto USB Shell Token V2 (F4DAF7B0) at /dev/bus/usb/003/010 00000029 readerfactory.c:535:RFRemoveReader() UnrefReader() count was: 1 00000012 eventhandler.c:156:EHDestroyEventHandler() Stomping thread. 00000012 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB1, usb:08e6/3438:libudev:0:/dev/bus/usb/003/010 (lun: 0) 00000012 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB2, usb:08e6/3438:libudev:0:/dev/bus/usb/003/010 (lun: 0) 00000010 eventhandler.c:181:EHDestroyEventHandler() Request stopping of polling thread 00000010 ifdhandler.c:327:IFDHStopPolling() usb:08e6/3438:libudev:0:/dev/bus/usb/003/010 (lun: 0) 00391891 eventhandler.c:478:EHStatusHandlerThread() Die 00000685 eventhandler.c:196:EHDestroyEventHandler() Thread stomped. 00000046 readerfactory.c:1040:RFUnInitializeReader() Attempting shutdown of Gemalto USB Shell Token V2 (F4DAF7B0) 00 00. 00000089 ifdhandler.c:253:IFDHCloseChannel() usb:08e6/3438:libudev:0:/dev/bus/usb/003/010 (lun: 0) 00000123 ccid_usb.c:751:WriteUSB() write failed (3/10): -4 No such device 00000122 ccid_usb.c:191:close_libusb_if_needed() libusb_exit 00000321 readerfactory.c:911:RFUnloadReader() Unloading reader driver. ^C03665849 pcscdaemon.c:726:signal_trap() Received signal: 2 00000041 pcscdaemon.c:745:signal_trap() Preparing for suicide 01000171 readerfactory.c:1273:RFCleanupReaders() entering cleaning function 00000053 winscard_svc.c:130:ContextsDeinitialize() remaining threads: 0 00000014 pcscdaemon.c:670:at_exit() cleaning /var/run/pcscd Is there someone who can help me? Token does work in Windows 7 without any problem. I'm using libccid 1.4.15 and pcsc-lite 1.8.10.