-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: CmdEscape error on byte 10. Gemalto USB Shell Token V2 CentOS 7 #51
Comments
Please regenerate pcscd logs as documented at https://ccid.apdu.fr/#support |
No error in this log. You can ignore the "CmdEscape error on byte 10" log. I see no card transaction so I guess you have not executed your application. |
I am using Gemalto USB Shell Token V2 for installing License Server on the machine, but I am not able to do that. In the installation guide is required to have this type of log in the /var/log/messages.
I have done the installation on CentOS 6.9 and it is working properly, but I can't on CentOS 7. |
You can ignore this error message. It is harmless. |
Oct 4 02:45:18 localhost pcscd: 99999999 commands.c:1443:CCID_Receive() Not enough data received: 0 bytes |
So use VirtualBox. |
I need it to run on VMWare ... this is backtrace.log from gdb pcscd Thread 4 (Thread 0x7ffff4be3700 (LWP 1384)): Thread 3 (Thread 0x7ffff53e4700 (LWP 1383)): Thread 2 (Thread 0x7ffff5be5700 (LWP 1382)): Thread 1 (Thread 0x7ffff7fd0740 (LWP 1378)): |
Have you noticed you NEVER indicated what does not work? |
I'm trying to get my Gemalto USB Shell Token V2 to run on CentOS 7 but it seems there are bugs and errors with the drivers. Here are some logs:
/var/log/messages
Aug 17 04:02:24 localhost systemd: Starting Session 3 of user root.
Aug 17 04:02:47 localhost systemd: Started PC/SC Smart Card Daemon.
Aug 17 04:02:47 localhost systemd: Starting PC/SC Smart Card Daemon...
Aug 17 04:02:48 localhost pcscd: 00000000 utils.c:53:GetDaemonPid() Can't open /var/run/pcscd/pcscd.pid: No such file or directory
Aug 17 04:02:48 localhost pcscd: 00213651 commands.c:905:CmdEscape error on byte 10
Aug 17 05:02:33 localhost systemd: Started PC/SC Smart Card Daemon.
Aug 17 05:02:33 localhost systemd: Starting PC/SC Smart Card Daemon...
Aug 17 05:02:33 localhost pcscd: 00000000 utils.c:53:GetDaemonPid() Can't open /var/run/pcscd/pcscd.pid: No such file or directory
Aug 17 05:02:33 localhost pcscd: 00271234 commands.c:905:CmdEscape error on byte 10
Aug 17 05:02:43 localhost pcscd: 09750641 commands.c:1449:CCID_Receive Card absent or mute
Aug 17 05:02:43 localhost pcscd: 00000037 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
Aug 17 05:02:43 localhost pcscd: 00000006 winscard.c:1606:SCardTransmit() Card not transacted: 0x80100016
Aug 17 05:02:43 localhost pcscd: 00009814 commands.c:1449:CCID_Receive Unknown CCID error: 0xBC
Aug 17 05:02:43 localhost pcscd: 00000020 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
Aug 17 05:02:43 localhost pcscd: 00000004 winscard.c:1606:SCardTransmit() Card not transacted: 0x80100016
Aug 17 05:03:39 localhost pcscd: 56722103 commands.c:1449:CCID_Receive Card absent or mute
Aug 17 05:03:39 localhost pcscd: 00000046 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
Aug 17 05:03:39 localhost pcscd: 00000008 winscard.c:1606:SCardTransmit() Card not transacted: 0x80100016
Aug 17 05:03:39 localhost pcscd: 00010450 commands.c:1449:CCID_Receive Unknown CCID error: 0xBC
Aug 17 05:03:39 localhost pcscd: 00000020 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
Aug 17 05:03:39 localhost pcscd: 00000005 winscard.c:1606:SCardTransmit() Card not transacted: 0x80100016
Aug 17 05:03:49 localhost pcscd: 09137370 commands.c:1449:CCID_Receive Card absent or mute
Aug 17 05:03:49 localhost pcscd: 00000045 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
Aug 17 05:03:49 localhost pcscd: 00000008 winscard.c:1606:SCardTransmit() Card not transacted: 0x80100016
Aug 17 05:03:49 localhost pcscd: 00010776 commands.c:1449:CCID_Receive Unknown CCID error: 0xBC
Aug 17 05:03:49 localhost pcscd: 00000020 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
Aug 17 05:03:49 localhost pcscd: 00000004 winscard.c:1606:SCardTransmit() Card not transacted: 0x80100016
Aug 17 05:04:01 localhost pcscd: 12896464 commands.c:1449:CCID_Receive Card absent or mute
Aug 17 05:04:01 localhost pcscd: 00000091 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
Aug 17 05:04:01 localhost pcscd: 00000009 winscard.c:1606:SCardTransmit() Card not transacted: 0x80100016
Aug 17 05:04:01 localhost pcscd: 00009780 commands.c:1449:CCID_Receive Unknown CCID error: 0xBC
Aug 17 05:04:01 localhost pcscd: 00000022 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
Aug 17 05:04:01 localhost pcscd: 00000005 winscard.c:1606:SCardTransmit() Card not transacted: 0x80100016
pcscd -adf
00000000 pcscdaemon.c:233:main() pcscd set to foreground with debug send to stdout
00000229 utils.c:53:GetDaemonPid() Can't open /var/run/pcscd/pcscd.pid: No such file or directory
00004229 configfile.l:245:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000032 configfile.l:257:DBGetReaderListDir() Skipping non regular file: .
00000008 configfile.l:257:DBGetReaderListDir() Skipping non regular file: ..
00000014 pcscdaemon.c:525:main() pcsc-lite 1.8.8 daemon ready.
00005681 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000285 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000242 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0E0F, PID: 0x0003, path: /dev/bus/usb/002/002
00000217 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000225 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0E0F, PID: 0x0002, path: /dev/bus/usb/002/003
00000337 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x08E6, PID: 0x3438, path: /dev/bus/usb/002/004
00000050 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x08E6, PID: 0x3438, path: /dev/bus/usb/002/004
00000012 hotplug_libudev.c:312:HPAddDevice() Adding USB device: Gemalto USB Shell Token V2
00000098 readerfactory.c:978:RFInitializeReader() Attempting startup of Gemalto USB Shell Token V2 (27306242) 00 00 using /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000849 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0
00000053 ifdhandler.c:1840:init_driver() Driver version: 1.4.10
00000494 ifdhandler.c:1857:init_driver() LogLevel: 0x0003
00000005 ifdhandler.c:1868:init_driver() DriverOptions: 0x0000
00000086 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:08e6/3438:libudev:0:/dev/bus/usb/002/004
00000042 ccid_usb.c:258:OpenUSBByName() Using: /usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
00000487 ccid_usb.c:276:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr)
00000009 ccid_usb.c:277:OpenUSBByName() ifdProductString: Generic CCID driver
00000004 ccid_usb.c:278: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.
00007284 ccid_usb.c:551:OpenUSBByName() Found Vendor/Product: 08E6/3438 (Gemalto USB Shell Token V2)
00000043 ccid_usb.c:553:OpenUSBByName() Using USB bus/device: 2/4
00796597 ccid_usb.c:1054:get_data_rates() declared: 12903 bps
00000032 ccid_usb.c:1054:get_data_rates() declared: 25806 bps
00000007 ccid_usb.c:1054:get_data_rates() declared: 51613 bps
00000007 ccid_usb.c:1054:get_data_rates() declared: 103226 bps
00000007 ccid_usb.c:1054:get_data_rates() declared: 206452 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 412903 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 825806 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 154839 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 258065 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 17204 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 34409 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 68817 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 137634 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 275269 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 550538 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 172043 bps
00000007 ccid_usb.c:1054:get_data_rates() declared: 12403 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 24806 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 49612 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 99225 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 198450 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 396899 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 74419 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 124031 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 86022 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 38710 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 64516 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 10323 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 20645 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 41290 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 82581 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 165161 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 30968 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 18750 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 37500 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 75000 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 150000 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 300000 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 600000 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 112500 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 187500 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 12500 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 25000 bps
00000007 ccid_usb.c:1054:get_data_rates() declared: 50000 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 100000 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 200000 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 400000 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 125000 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 56250 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 93750 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 62500 bps
00000006 ccid_usb.c:1054:get_data_rates() declared: 28125 bps
00000008 ccid_usb.c:1054:get_data_rates() declared: 46875 bps
00129369 commands.c:905:CmdEscape error on byte 10
00000054 ccid.c:210:set_gemalto_firmware_features() GET_FIRMWARE_FEATURES failed: 612, len=0
00000031 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFB3, usb:08e6/3438:libudev:0:/dev/bus/usb/002/004 (lun: 0)
00000012 readerfactory.c:332:RFAddReader() Using the reader polling thread
00004069 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFAE, usb:08e6/3438:libudev:0:/dev/bus/usb/002/004 (lun: 0)
00000025 ifdhandler.c:446:IFDHGetCapabilities() Reader supports 1 slot(s)
00000356 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0E0F, PID: 0x0002, path: /dev/bus/usb/002/003
00000428 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000304 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Gemalto USB Shell Token V2 (27306242) 00 00
00009754 ifdhandler.c:1122:IFDHPowerICC() action: PowerUp, usb:08e6/3438:libudev:0:/dev/bus/usb/002/004 (lun: 0)
00000600 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Gemalto USB Shell Token V2 (27306242) 00 00
00010479 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Gemalto USB Shell Token V2 (27306242) 00 00
00011073 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Gemalto USB Shell Token V2 (27306242) 00 00
00010974 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Gemalto USB Shell Token V2 (27306242) 00 00
00010985 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Gemalto USB Shell Token V2 (27306242) 00 00
00011060 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Gemalto USB Shell Token V2 (27306242) 00 00
00010966 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Gemalto USB Shell Token V2 (27306242) 00 00
00010957 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Gemalto USB Shell Token V2 (27306242) 00 00
00011078 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Gemalto USB Shell Token V2 (27306242) 00 00
00010883 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Gemalto USB Shell Token V2 (27306242) 00 00
00008054 eventhandler.c:256:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000029 Card ATR: 3B 16 96 41 73 74 72 69 64
05697988 ifdhandler.c:1122:IFDHPowerICC() action: PowerDown, usb:08e6/3438:libudev:0:/dev/bus/usb/002/004 (lun: 0)
00013996 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
opensc-tool -l
Detected readers (pcsc)
Nr. Card Features Name
0 Yes Gemalto USB Shell Token V2 (27306242) 00 00
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 08e6:3438 Gemalto (was Gemplus) GemPC Key SmartCard Reader
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
pcsc_scan
PC/SC device scanner
V 1.4.25 (c) 2001-2011, Ludovic Rousseau ludovic.rousseau@free.fr
Compiled with PC/SC lite version: 1.8.8
Using reader plug'n play mechanism
Scanning present readers...
0: Gemalto USB Shell Token V2 (27306242) 00 00
Fri Aug 17 06:57:11 2018
Reader 0: Gemalto USB Shell Token V2 (27306242) 00 00
Card state: Card inserted,
ATR: 3B 16 96 41 73 74 72 69 64
ATR: 3B 16 96 41 73 74 72 69 64
TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU
250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s
Category indicator byte: 41 (proprietary format)
Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 16 96 41 73 74 72 69 64
3B .. .. 41 73 74 72 69 64
Axalto Cryptoflex .NET
3B 16 96 41 73 74 72 69 64
Gemalto .NET v2.0
The text was updated successfully, but these errors were encountered: