Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rdesktop and smartcard (scard)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 374

PostPosted: Tue Mar 18, 2014 1:44 pm    Post subject: rdesktop and smartcard (scard) Reply with quote

Hi,

I'm trying to redirect a local smartcard reader (Cherry Multiboard) when connecting with rdesktop to a remote Windows 2003 terminal server.

I launch the following:

Code:
rdesktop -r scard:"Cherry GmbH SmartTerminal XX44 00 00"="SmartTerminal XX44" -f $RDP_SERVER


and

Code:
rdesktop -r scard -f $RDP_SERVER


and they both *seem* to work because I'm prompted for the card's PIN on the Windows login screen (although I did not specify -i as an rdesktop option).

However, if I cancel the Windows PIN login and enter my user/domain credentials then the smartcard reader doesn't seem to work from the Windows Terminal Server application (AuthentIC Manager v. 3.4.1.0 - Oberthur Card Systems) because I'm not prompted for a PIN (as is the case if I connect from a Windows RDP client).

By the way, the part to the right of = in '-r scard' should be the "Device shown in Windows enviroment". However, I have no idea how to check the device name in Windows. I tried searching in the control panel and with other tools such as USBDeview (http://www.nirsoft.net/utils/usb_devices_view.html) but can't seem to find it (I suppose it may be normal since it's not directly attached via USB but only redirected from the RDP client). [EDIT]: if I connect the Smartcard reader to a Windows machine and search for it with USBdeview then I find the device name "SmartTerminal XX44".

In any case, specifying '-r scard' alone seems to "work" at the Windows login screen but not beyond.

How can I further diagnose this?

While I opened the Windows Terminal Server AuthentIC application I logged the output of the pcscd daemon on Linux:

[code]
00000000 pcscdaemon.c:233:main() pcscd set to foreground with debug send to stdout
00000289 configfile.l:298:DBGetReaderList() Parsing conf file: /etc/reader.conf.d
00000069 pcscdaemon.c:525:main() pcsc-lite 1.8.8 daemon ready.
00005270 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000408 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000288 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000386 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x046A, PID: 0x0009, path: /dev/bus/usb/003/003
00000307 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x046A, PID: 0x0019, path: /dev/bus/usb/003/004
00000300 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x046A, PID: 0x0019, path: /dev/bus/usb/003/004
00000336 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x046A, PID: 0x0009, path: /dev/bus/usb/003/003
00000310 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x046A, PID: 0x002D, path: /dev/bus/usb/003/005
00000090 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x046A, PID: 0x002D, path: /dev/bus/usb/003/005
00000025 hotplug_libudev.c:312:HPAddDevice() Adding USB device: Cherry GmbH SmartTerminal XX44
00000085 readerfactory.c:978:RFInitializeReader() Attempting startup of Cherry GmbH SmartTerminal XX44 00 00 using /usr/lib/readers/usb/ifd-ccid.bundle/Contents/Linux/libccid.so
00000487 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0
00000093 ifdhandler.c:1837:init_driver() Driver version: 1.4.8
00001448 ifdhandler.c:1854:init_driver() LogLevel: 0x0003
00000035 ifdhandler.c:1865:init_driver() DriverOptions: 0x0000
00000351 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:046a/002d:libudev:0:/dev/bus/usb/003/005
00000070 ccid_usb.c:228:OpenUSBByName() Using: /usr/lib/readers/usb/ifd-ccid.bundle/Contents/Info.plist
00001193 ccid_usb.c:246:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau@free.fr)
00000028 ccid_usb.c:247:OpenUSBByName() ifdProductString: Generic CCID driver
00000024 ccid_usb.c:248: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.
00046646 ccid_usb.c:521:OpenUSBByName() Found Vendor/Product: 046A/002D (Cherry GmbH SmartTerminal XX44)
00000043 ccid_usb.c:523:OpenUSBByName() Using USB bus/device: 3/5
00016770 ccid_usb.c:1003:get_data_rates() Got 256 data rates but was expecting 106
00000050 ccid_usb.c:1021:get_data_rates() declared: 10752 bps
00000018 ccid_usb.c:1021:get_data_rates() declared: 21505 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 43010 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 86021 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 172043 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 344086 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 129032 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 215053 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 12903 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 25806 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 51612 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 103225 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 206451 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 412903 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 154838 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 258064 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 7168 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 14336 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 28673 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 57347 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 114695 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 229390 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 143369 bps
00000031 ccid_usb.c:1021:get_data_rates() declared: 8602 bps
00000015 ccid_usb.c:1021:get_data_rates() declared: 17204 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 34408 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 68817 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 137634 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 275268 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 5376 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 64516 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 107526 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 6451 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 77419 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 8064 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 16129 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 32258 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 96774 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 161290 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 3584 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 71684 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 4301 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 2688 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 53763 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 3225 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 38709 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 4032 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 48387 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 80645 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 2150 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 2580 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 5161 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 10322 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 20645 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 41290 bps
00000017 ccid_usb.c:1021:get_data_rates() declared: 82580 bps
00000017 ccid_usb.c:1021:get_data_rates() declared: 30967 bps
00000018 ccid_usb.c:1021:get_data_rates() declared: 7812 bps
00000024 ccid_usb.c:1021:get_data_rates() declared: 15625 bps
00000018 ccid_usb.c:1021:get_data_rates() declared: 31250 bps
00000015 ccid_usb.c:1021:get_data_rates() declared: 62500 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 125000 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 250000 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 93750 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 156250 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 9375 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 18750 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 37500 bps
00000034 ccid_usb.c:1021:get_data_rates() declared: 75000 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 150000 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 300000 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 112500 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 187500 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 5208 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 10416 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 20833 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 41666 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 83333 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 166666 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 104166 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 6250 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 12500 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 25000 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 50000 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 100000 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 200000 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 3906 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 46875 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 78125 bps
00000025 ccid_usb.c:1021:get_data_rates() declared: 4687 bps
00000015 ccid_usb.c:1021:get_data_rates() declared: 56250 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 5859 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 11718 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 23437 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 70312 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 117187 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 2604 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 52083 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 3125 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 1953 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 39062 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 2343 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 28125 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 2929 bps
00000014 ccid_usb.c:1021:get_data_rates() declared: 35156 bps
00000013 ccid_usb.c:1021:get_data_rates() declared: 58593 bps
00010408 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFB3, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000035 readerfactory.c:332:RFAddReader() Using the reader polling thread
00002071 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFAE, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000031 ifdhandler.c:446:IFDHGetCapabilities() Reader supports 1 slot(s)
00000432 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x046A, PID: 0x0009, path: /dev/bus/usb/003/003
00000302 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000413 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x219C, path: /dev/bus/usb/003/002
00000313 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x219C, path: /dev/bus/usb/003/002
00000292 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x219C, path: /dev/bus/usb/003/002
00000398 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x219C, path: /dev/bus/usb/003/002
00000403 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000502 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000423 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000295 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000077 ifdhandler.c:1119:IFDHPowerICC() action: PowerUp, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000364 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0AC8, PID: 0xC33F, path: /dev/bus/usb/001/003
00000303 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0AC8, PID: 0xC33F, path: /dev/bus/usb/001/003
00000117 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010181 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010173 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010163 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010139 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010166 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010155 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010179 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010154 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010158 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010180 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010162 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010166 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010186 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010149 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010159 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010160 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010157 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010159 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010166 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010210 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010148 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010156 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010162 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010157 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010169 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010192 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010155 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010164 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010156 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010160 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010168 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00010208 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader: Cherry GmbH SmartTerminal XX44 00 00
00001929 eventhandler.c:256:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000050 Card ATR: 3B FB 18 00 00 81 31 FE 45 00 31 C0 64 77 E9 10 00 01 90 00 62
05006921 ifdhandler.c:1119:IFDHPowerICC() action: PowerDown, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00001993 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
08319907 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival
00000064 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 15
00000022 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 15
00000219 winscard_svc.c:299:ContextThread() Thread is started: dwClientID=15, threadContext @0x961cc58
00000044 winscard_svc.c:317:ContextThread() Received command: CMD_VERSION from client 15
00000031 winscard_svc.c:329:ContextThread() Client is protocol version 4:2
00000020 winscard_svc.c:349:ContextThread() CMD_VERSION rv=0x0 for client 15
00000149 winscard_svc.c:317:ContextThread() Received command: ESTABLISH_CONTEXT from client 15
00000060 winscard.c:193:SCardEstablishContext() Establishing Context: 0x2923D8A7
00000021 winscard_svc.c:410:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 15
00000144 winscard_svc.c:317:ContextThread() Received command: RELEASE_CONTEXT from client 15
00000038 winscard.c:204:SCardReleaseContext() Releasing Context: 0x2923D8A7
00000036 winscard_svc.c:425:ContextThread() RELEASE_CONTEXT rv=0x0 for client 15
00000116 winscard_svc.c:309:ContextThread() Client die: 15
00000046 winscard_svc.c:928:MSGCleanupClient() Thread is stopping: dwClientID=15, threadContext @0x961cc58
00000027 winscard_svc.c:934:MSGCleanupClient() Freeing SCONTEXT @0x961cc58
00232537 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival
00000053 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 15
00000022 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 15
00000135 winscard_svc.c:299:ContextThread() Thread is started: dwClientID=15, threadContext @0x961cc58
00000037 winscard_svc.c:317:ContextThread() Received command: CMD_VERSION from client 15
00000030 winscard_svc.c:329:ContextThread() Client is protocol version 4:2
00000016 winscard_svc.c:349:ContextThread() CMD_VERSION rv=0x0 for client 15
00000136 winscard_svc.c:317:ContextThread() Received command: ESTABLISH_CONTEXT from client 15
00000034 winscard.c:193:SCardEstablishContext() Establishing Context: 0x3AED1E45
00000021 winscard_svc.c:410:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 15
00000974 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 15
00001312 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 15
00001530 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 15
00000184 winscard_svc.c:317:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 15
13469408 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival
00000061 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 16
00000022 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 16
00000176 winscard_svc.c:299:ContextThread() Thread is started: dwClientID=16, threadContext @0x9602ff8
00000036 winscard_svc.c:317:ContextThread() Received command: CMD_VERSION from client 16
00000029 winscard_svc.c:329:ContextThread() Client is protocol version 4:2
00000021 winscard_svc.c:349:ContextThread() CMD_VERSION rv=0x0 for client 16
00000157 winscard_svc.c:317:ContextThread() Received command: ESTABLISH_CONTEXT from client 16
00000035 winscard.c:193:SCardEstablishContext() Establishing Context: 0x449EA727
00000021 winscard_svc.c:410:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 16
00095844 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 16
00000186 winscard_svc.c:317:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 16
05869034 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival
00000056 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 17
00000072 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 17
00000188 winscard_svc.c:299:ContextThread() Thread is started: dwClientID=17, threadContext @0x96030f0
00000038 winscard_svc.c:317:ContextThread() Received command: CMD_VERSION from client 17
00000030 winscard_svc.c:329:ContextThread() Client is protocol version 4:2
00000021 winscard_svc.c:349:ContextThread() CMD_VERSION rv=0x0 for client 17
00000146 winscard_svc.c:317:ContextThread() Received command: ESTABLISH_CONTEXT from client 17
00000032 winscard.c:193:SCardEstablishContext() Establishing Context: 0x6CDCD8B6
00000021 winscard_svc.c:410:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 17
00001054 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000927 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001017 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival
00000047 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 18
00000022 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 18
00000173 winscard_svc.c:299:ContextThread() Thread is started: dwClientID=18, threadContext @0x96076b0
00000050 winscard_svc.c:317:ContextThread() Received command: CMD_VERSION from client 18
00000029 winscard_svc.c:329:ContextThread() Client is protocol version 4:2
00000017 winscard_svc.c:349:ContextThread() CMD_VERSION rv=0x0 for client 18
00000181 winscard_svc.c:317:ContextThread() Received command: ESTABLISH_CONTEXT from client 18
00000035 winscard.c:193:SCardEstablishContext() Establishing Context: 0x20FF4870
00000021 winscard_svc.c:410:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 18
00000956 winscard_svc.c:317:ContextThread() Received command: CONNECT from client 18
00000055 winscard.c:235:SCardConnect() Attempting Connect to Cherry GmbH SmartTerminal XX44 00 00 using protocol: 3
00000023 readerfactory.c:739:RFReaderInfo() RefReader() count was: 1
00002843 ifdhandler.c:1119:IFDHPowerICC() action: PowerUp, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00329060 winscard.c:310:SCardConnect() power up complete.
00000056 Card ATR: 3B FB 18 00 00 81 31 FE 45 00 31 C0 64 77 E9 10 00 01 90 00 62
00000017 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE
00000016 prothandler.c:87:PHSetProtocol() Attempting PTS to T=1
00000018 ifdhandler.c:668:IFDHSetProtocolParameters() protocol T=1, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000018 ifdhandler.c:1973:extra_egt() Extra EGT patch applied
00009823 winscard.c:409:SCardConnect() Active Protocol: T=1
00000056 winscard.c:429:SCardConnect() hCard Identity: 73a18f19
00000022 winscard.c:490:SCardConnect() UnrefReader() count was: 2
00000019 winscard_svc.c:451:ContextThread() CONNECT rv=0x0 for client 18
00001062 winscard_svc.c:317:ContextThread() Received command: GET_ATTRIB from client 18
00000047 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000022 ifdhandler.c:358:IFDHGetCapabilities() tag: 0x80201, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000016 winscard.c:1420:SCardGetAttrib() UnrefReader() count was: 2
00000016 winscard_svc.c:679:ContextThread() GET_ATTRIB rv=0x8010001F for client 18
00000785 winscard_svc.c:317:ContextThread() Received command: GET_ATTRIB from client 18
00000045 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000021 ifdhandler.c:358:IFDHGetCapabilities() tag: 0x90303, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000016 winscard.c:1420:SCardGetAttrib() UnrefReader() count was: 2
00000016 winscard_svc.c:679:ContextThread() GET_ATTRIB rv=0x0 for client 18
00004442 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000745 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000855 winscard_svc.c:317:ContextThread() Received command: GET_ATTRIB from client 18
00000041 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000022 ifdhandler.c:358:IFDHGetCapabilities() tag: 0x10100, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000017 winscard.c:1420:SCardGetAttrib() UnrefReader() count was: 2
00000016 winscard_svc.c:679:ContextThread() GET_ATTRIB rv=0x0 for client 18
00001003 winscard_svc.c:317:ContextThread() Received command: GET_ATTRIB from client 18
00000041 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000021 ifdhandler.c:358:IFDHGetCapabilities() tag: 0x10100, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000016 winscard.c:1420:SCardGetAttrib() UnrefReader() count was: 2
00000016 winscard_svc.c:679:ContextThread() GET_ATTRIB rv=0x0 for client 18
00000877 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000939 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000950 winscard_svc.c:317:ContextThread() Received command: GET_ATTRIB from client 18
00000044 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000026 ifdhandler.c:358:IFDHGetCapabilities() tag: 0x10100, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000021 winscard.c:1420:SCardGetAttrib() UnrefReader() count was: 2
00000020 winscard_svc.c:679:ContextThread() GET_ATTRIB rv=0x0 for client 18
00000920 winscard_svc.c:317:ContextThread() Received command: GET_ATTRIB from client 18
00000054 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000061 ifdhandler.c:358:IFDHGetCapabilities() tag: 0x10100, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000032 winscard.c:1420:SCardGetAttrib() UnrefReader() count was: 2
00000027 winscard_svc.c:679:ContextThread() GET_ATTRIB rv=0x0 for client 18
00008458 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00009005 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001091 winscard_svc.c:317:ContextThread() Received command: GET_ATTRIB from client 18
00000133 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000037 ifdhandler.c:358:IFDHGetCapabilities() tag: 0x10100, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000026 winscard.c:1420:SCardGetAttrib() UnrefReader() count was: 2
00000024 winscard_svc.c:679:ContextThread() GET_ATTRIB rv=0x0 for client 18
00002368 winscard_svc.c:317:ContextThread() Received command: BEGIN_TRANSACTION from client 18
00000058 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000026 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000
00000019 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2
00000019 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 18
00000910 winscard_svc.c:317:ContextThread() Received command: RECONNECT from client 18
00000043 winscard.c:504:SCardReconnect() Attempting reconnect to token.
00000023 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000020 winscard.c:704:SCardReconnect() Active Protocol: T=1
00000016 winscard.c:794:SCardReconnect() UnrefReader() count was: 2
00000020 winscard_svc.c:470:ContextThread() RECONNECT rv=0x0 for client 18
00000850 winscard_svc.c:317:ContextThread() Received command: GET_ATTRIB from client 18
00000043 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000026 ifdhandler.c:358:IFDHGetCapabilities() tag: 0x80201, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000020 winscard.c:1420:SCardGetAttrib() UnrefReader() count was: 2
00000020 winscard_svc.c:679:ContextThread() GET_ATTRIB rv=0x8010001F for client 18
00001029 winscard_svc.c:317:ContextThread() Received command: GET_ATTRIB from client 18
00000050 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000023 ifdhandler.c:358:IFDHGetCapabilities() tag: 0x90303, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000020 winscard.c:1420:SCardGetAttrib() UnrefReader() count was: 2
00000019 winscard_svc.c:679:ContextThread() GET_ATTRIB rv=0x0 for client 18
00000851 winscard_svc.c:317:ContextThread() Received command: END_TRANSACTION from client 18
00000042 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000023 winscard.c:1219:SCardEndTransaction() Status: 0x00000000
00000036 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2
00000020 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 18
00007680 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000922 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000873 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00061400 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000930 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000996 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060745 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000856 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000860 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060824 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000902 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000988 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00069092 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00002728 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001065 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00058833 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001013 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000980 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00051662 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000995 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000937 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060534 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000997 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001051 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060581 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000913 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000983 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060507 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000957 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001091 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060599 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000974 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000953 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060487 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001072 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001043 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060828 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000931 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001044 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060298 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000886 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000879 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060954 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000954 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001030 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060068 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000930 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001107 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060422 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000992 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000869 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060784 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000894 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001070 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060577 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000852 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000835 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060658 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001003 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001018 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060570 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000925 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000946 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060551 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000935 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001013 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060611 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000957 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000908 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060509 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000841 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000966 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060719 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001100 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000962 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060497 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000987 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001018 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060481 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001103 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001024 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060184 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000979 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000993 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060651 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001025 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001040 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060681 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000959 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000948 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060420 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001080 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001061 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060210 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000938 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001042 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060682 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001024 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000991 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060434 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000918 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001016 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060713 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000885 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000947 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060715 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000871 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001010 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060618 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000905 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000794 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060680 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001002 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000956 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060616 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000901 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001017 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060532 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000990 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001059 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060503 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000977 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000942 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060305 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000920 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001099 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060697 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000943 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000951 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060468 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001005 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000906 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060623 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000871 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000931 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060633 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001055 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000979 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060616 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000979 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000990 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060361 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001021 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001093 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060544 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001013 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000792 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060705 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000979 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000896 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060457 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001123 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000950 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060533 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001162 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000971 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060397 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000787 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001020 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060627 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000978 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001023 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060685 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000923 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000928 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060305 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000989 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001055 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060745 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000937 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000929 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060417 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000983 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000960 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060650 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001003 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001193 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060169 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000909 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001116 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060541 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000962 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000929 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060674 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000971 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000956 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060581 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000997 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001086 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060348 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000957 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001000 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060694 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000969 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001006 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060253 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000954 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001045 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060785 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000973 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000977 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060469 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000955 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001063 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060382 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000985 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001035 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060620 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000898 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001085 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060601 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001023 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001039 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060236 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000913 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000961 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060734 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001010 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000937 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060460 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000950 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000998 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060715 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000901 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001113 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060317 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000928 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000911 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060880 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000912 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001011 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060290 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000950 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001039 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060740 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000940 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001063 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060344 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17


Last edited by Vieri on Tue Mar 18, 2014 2:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 374

PostPosted: Tue Mar 18, 2014 1:45 pm    Post subject: Reply with quote

I also did a scan before that (with pcsc_scan):

Code:

PC/SC device scanner
V 1.4.22 (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: Cherry GmbH SmartTerminal XX44 00 00

Tue Mar 18 14:09:28 2014
Reader 0: Cherry GmbH SmartTerminal XX44 00 00
  Card state: Card inserted, 
  ATR: 3B FB 18 00 00 81 31 FE 45 00 31 C0 64 77 E9 10 00 01 90 00 62
ATR: 3B FB 18 00 00 81 31 FE 45 00 31 C0 64 77 E9 10 00 01 90 00 62
+ TS = 3B --> Direct Convention
+ T0 = FB, Y(1): 1111, K: 11 (historical bytes)
  TA(1) = 18 --> Fi=372, Di=12, 31 cycles/ETU
    129032 bits/s at 4 MHz, fMax for Fi = 5 MHz => 161290 bits/s
  TB(1) = 00 --> VPP is not electrically connected
  TC(1) = 00 --> Extra guard time: 0
  TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1 
-----
  TD(2) = 31 --> Y(i+1) = 0011, Protocol T = 1 
-----
  TA(3) = FE --> IFSC: 254
  TB(3) = 45 --> Block Waiting Integer: 4 - Character Waiting Integer: 5
+ Historical bytes: 00 31 C0 64 77 E9 10 00 01 90 00
  Category indicator byte: 00 (compact TLV data object)
    Tag: 3, len: 1 (card service data byte)
      Card service data byte: C0
        - Application selection: by full DF name
        - Application selection: by partial DF name
        - EF.DIR and EF.ATR access services: by GET RECORD(s) command
        - Card with MF
    Tag: 6, len: 4 (pre-issuing data)
      Data: 77 E9 10 00
    Mandatory status indicator (3 last bytes)
      LCS (life card cycle): 01 (Creation state)
      SW: 9000 (Normal processing.)
+ TCK = 62 (correct checksum)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B FB 18 00 00 81 31 FE 45 00 31 C0 64 77 E9 10 00 01 90 00 62


Thanks,

Vieri
Back to top
View user's profile Send private message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 374

PostPosted: Tue Mar 18, 2014 1:49 pm    Post subject: Reply with quote

My first post was too long and got truncated so I'm pasting just the part of the pcscd log when I remove the card and put it back in while I'm connected with rdesktop -r scard:

Code:

00051786 eventhandler.c:325:EHStatusHandlerThread() Card Removed From Cherry GmbH SmartTerminal XX44 00 00
00000045 winscard_svc.c:733:MSGSignalClient() Signal client: 15
00000035 winscard_svc.c:736:MSGSignalClient() SIGNAL rv=0x0 for client 15
00000044 winscard_svc.c:733:MSGSignalClient() Signal client: 16
00000022 winscard_svc.c:736:MSGSignalClient() SIGNAL rv=0x0 for client 16
00000043 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 15
00000095 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 16
00000141 winscard_svc.c:317:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 16
00000797 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 15
00000113 winscard_svc.c:317:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 15
00007248 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000729 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001044 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00001206 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000992 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001060 winscard_svc.c:317:ContextThread() Received command: RECONNECT from client 18
00000041 winscard.c:504:SCardReconnect() Attempting reconnect to token.
00000024 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000020 winscard.c:794:SCardReconnect() UnrefReader() count was: 2
00000020 winscard_svc.c:470:ContextThread() RECONNECT rv=0x8010000C for client 18
00000996 winscard_svc.c:317:ContextThread() Received command: RECONNECT from client 18
00000037 winscard.c:504:SCardReconnect() Attempting reconnect to token.
00000022 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00004259 winscard.c:593:SCardReconnect() Error resetting card.
00000044 winscard.c:794:SCardReconnect() UnrefReader() count was: 2
00000021 winscard_svc.c:470:ContextThread() RECONNECT rv=0x8010000C for client 18
00000840 winscard_svc.c:317:ContextThread() Received command: CONNECT from client 18
00000039 winscard.c:235:SCardConnect() Attempting Connect to Cherry GmbH SmartTerminal XX44 00 00 using protocol: 3
00000018 readerfactory.c:739:RFReaderInfo() RefReader() count was: 1
00000015 winscard.c:290:SCardConnect() Card Not Inserted
00000015 winscard.c:490:SCardConnect() UnrefReader() count was: 2
00000015 winscard_svc.c:451:ContextThread() CONNECT rv=0x8010000C for client 18
00000862 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000750 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000810 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00048821 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001003 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000978 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060514 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000960 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000956 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060489 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000974 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000944 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
...
00007766 ifdhandler.c:1119:IFDHPowerICC() action: PowerUp, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00052524 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000758 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000862 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060947 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000803 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000889 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060678 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000988 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000844 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060867 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000785 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000900 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060694 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000811 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000899 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00026786 eventhandler.c:372:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000049 eventhandler.c:387:EHStatusHandlerThread() Card inserted into Cherry GmbH SmartTerminal XX44 00 00
00000019 winscard_svc.c:733:MSGSignalClient() Signal client: 16
00000015 winscard_svc.c:736:MSGSignalClient() SIGNAL rv=0x0 for client 16
00000040 winscard_svc.c:733:MSGSignalClient() Signal client: 15
00000024 winscard_svc.c:736:MSGSignalClient() SIGNAL rv=0x0 for client 15
00000041 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 16
00000021 Card ATR: 3B FB 18 00 00 81 31 FE 45 00 31 C0 64 77 E9 10 00 01 90 00 62
00000073 winscard_svc.c:317:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 16
00000043 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 15
00001572 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 15
00000140 winscard_svc.c:317:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 15
00032164 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000930 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000991 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00000886 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000966 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001036 winscard_svc.c:317:ContextThread() Received command: CONNECT from client 18
00000078 winscard.c:235:SCardConnect() Attempting Connect to Cherry GmbH SmartTerminal XX44 00 00 using protocol: 3
00000023 readerfactory.c:739:RFReaderInfo() RefReader() count was: 1
00000019 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE
00000019 prothandler.c:87:PHSetProtocol() Attempting PTS to T=1
00000040 ifdhandler.c:668:IFDHSetProtocolParameters() protocol T=1, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000023 ifdhandler.c:1973:extra_egt() Extra EGT patch applied
00010789 winscard.c:409:SCardConnect() Active Protocol: T=1
00000055 winscard.c:429:SCardConnect() hCard Identity: 60424317
00000021 winscard.c:490:SCardConnect() UnrefReader() count was: 2
00000019 winscard_svc.c:451:ContextThread() CONNECT rv=0x0 for client 18
00000955 winscard_svc.c:317:ContextThread() Received command: GET_ATTRIB from client 18
00000042 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000021 ifdhandler.c:358:IFDHGetCapabilities() tag: 0x80201, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000016 winscard.c:1420:SCardGetAttrib() UnrefReader() count was: 2
00000016 winscard_svc.c:679:ContextThread() GET_ATTRIB rv=0x8010001F for client 18
00000914 winscard_svc.c:317:ContextThread() Received command: GET_ATTRIB from client 18
00000043 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1
00000021 ifdhandler.c:358:IFDHGetCapabilities() tag: 0x90303, usb:046a/002d:libudev:0:/dev/bus/usb/003/005 (lun: 0)
00000016 winscard.c:1420:SCardGetAttrib() UnrefReader() count was: 2
00000016 winscard_svc.c:679:ContextThread() GET_ATTRIB rv=0x0 for client 18
00000902 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000898 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000939 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00057470 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000972 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001128 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060101 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001030 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001050 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060713 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000911 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000945 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060499 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000911 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001036 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060823 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00000972 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
00001102 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 18
00060254 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 17
Back to top
View user's profile Send private message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 374

PostPosted: Tue Mar 18, 2014 5:53 pm    Post subject: Reply with quote

sys-apps/pcsc-lite-1.8.8-r1
app-crypt/ccid-1.4.8
Back to top
View user's profile Send private message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 374

PostPosted: Wed Mar 19, 2014 10:14 am    Post subject: Reply with quote

I also tried with

sys-apps/pcsc-lite-1.8.11-r1
app-crypt/ccid-1.4.15

but still can't read card data from Windows TS.

Furthermore I tried using opensc-tool --name but it always replies with an "unsupported card" message, even though opensc-tool --list-drivers has both "oberthur" and "authentic".
I believe the appropriate driver should be 'authentic' and the only thing that troubles me is that opensc seems to support authentic v. 3.1 but I think that the cards were meant to be read by authentic v. 3.4.
I don't know if this is the reason the card won't work.
Back to top
View user's profile Send private message
Vieri
Guru
Guru


Joined: 18 Dec 2005
Posts: 374

PostPosted: Wed Mar 19, 2014 12:06 pm    Post subject: Reply with quote

When I connect from a Windows client (and the card works fine) I get the following log according to a diagnostics tool on the Windows Terminal Server:

Code:

***********************
PC/SC DiagnoseTool v2.1
***********************
Resource Manager Status:  OK

Operating system:
-----------------------

Windows 2003 Server, Version 5.02, Product = 0x3, Suite = 0x10
(Build 3790 Service Pack 2)

Files:
-----------------------

scardsvr.exe   5.2.3790.3959 (srv03_sp2_rtm.070216-1710)   Microsoft Corporation
smclib.sys   5.2.3790.3959 (srv03_sp2_rtm.070216-1710)   Microsoft Corporation
winscard.dll   5.2.3790.3959 (srv03_sp2_rtm.070216-1710)   Microsoft Corporation

Connected readers:
-----------------------

Cherry GmbH SmartTerminal XX44 0
Firmware Version:  unavailable
EMV Version:  unavailable

Card information:
-----------------------

Cherry GmbH SmartTerminal XX44 0:

Attribute              |Value
--------------------------------+----------------------------------------------
ATR            |3b fb 18 00 00 81 31 fe 45 00 31 c0 64 77 e9 10 00 01 90 00 62
Clock rate (MHz)      |4
Convention         |direct
Protocol         |T=1
(TA1) Divider F         |372
(TA1) Transfer factor D      |12
(TA1) Transmission rate (bit/s)   |129032
(TA1) Work etu (s/bit)      |7.750000e-006
(TB1) VPP supply      |unnecessary
(TC1) Extra guardtime N      |0 work etu
(TC2) Work waiting time      |115200 work etu
(TA3) IFSC (byte)      |254
(TB3) CWT         |43 work etu
(TB3) BWT         |1439.48 work etu
Historical Characters (text)   | 1Àdwé 
Historical Characters (hex)   |00 31 c0 64 77 e9 10 00 01 90 00


However, when I connect from a Linux rdesktop client (and the card does NOT work as expected) I get the following log according to a diagnostics tool on the Windows Terminal Server:

Code:

***********************
PC/SC DiagnoseTool v2.1
***********************

Resource Manager Status:  OK

Operating system:
-----------------------

Windows 2003 Server, Version 5.02, Product = 0x3, Suite = 0x10
(Build 3790 Service Pack 2)

Files:
-----------------------

scardsvr.exe   5.2.3790.3959 (srv03_sp2_rtm.070216-1710)   Microsoft Corporation
smclib.sys   5.2.3790.3959 (srv03_sp2_rtm.070216-1710)   Microsoft Corporation
winscard.dll   5.2.3790.3959 (srv03_sp2_rtm.070216-1710)   Microsoft Corporation

Connected readers:
-----------------------

Cherry GmbH SmartTerminal XX44 00 00
Firmware Version:  unavailable
EMV Version:  unavailable

Card information:
-----------------------

Cherry GmbH SmartTerminal XX44 00 00:

Attribute              |Value
--------------------------------+----------------------------------------------
ATR            |3b fb 18 00 00 81 31 fe 45 00 31 c0 64 77 e9 10 00 01 90 00 62
Clock rate (MHz)      |Error
Convention         |direct
Protocol         |T=1
(TA1) Divider F         |372
(TA1) Transfer factor D      |12
(TB1) VPP supply      |unnecessary
(TC1) Extra guardtime N      |0 work etu
(TC2) Work waiting time      |115200 work etu
(TA3) IFSC (byte)      |254
(TB3) CWT         |43 work etu
(TB3) BWT         |Error
Historical Characters (text)   | 1Àdwé 
Historical Characters (hex)   |00 31 c0 64 77 e9 10 00 01 90 00


Note the "Clock rate" and "BWT" errors.

Any ideas?

[EDIT] I also tried the following but still had the same errors as above:
Code:
rdesktop -r scard:"Cherry GmbH SmartTerminal XX44 00 00"="Cherry GmbH SmartTerminal XX44 0" -f "$RDP_SERVER"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum