[Pcsclite-muscle] Different behaviour with Select MF on Omnikey 5427 and 5022

Stephan Guilloux stephan.guilloux at crisalid.com
Wed Nov 4 05:14:17 EST 2020


Here you are.

I took the opportunity to update PCSC and CCID to the latest versions
available (1.9.0 and 1.4.33).
Results are the same.

To reproduce, I ran the last official scard_example.go and rebuilt it
with the libs above.
scard_example output is inserted in each PCSC log file.

For comparison, the same process is used with a 5427 and a 5022.
5427 logs are attached in this mail.
5022 will be sent in a second mail.

Stephan.


Le mar. 3 nov. 2020 à 18:41, Ludovic Rousseau
<ludovic.rousseau at gmail.com> a écrit :
>
> Le mar. 3 nov. 2020 à 15:52, Stephan Guilloux
> <stephan.guilloux at crisalid.com> a écrit :
> >
> > Spent some time to reduce the code to the strict minimum, and it comes
> > almost the same as
> >      https://github.com/ebfe/scard/blob/master/example_test.go
> > (traces are a bit different though)
> >
> > APDU is take from the same example:
> >      0x00, 0xa4, 0x00, 0x0c, 0x02, 0x3f, 0x00
>
> The next step is to generate a pcscd trace as documented in
> https://pcsclite.apdu.fr/#support
>
> Bye
>
> --
>  Dr. Ludovic Rousseau
>
> _______________________________________________
> pcsclite-muscle mailing list
> pcsclite-muscle at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/pcsclite-muscle
-------------- next part --------------
[root at Rasp-8AC500 ~]$ ./scard-example 
Found 1 readers:
[0] HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) 00 00
Waiting for a Card
Connecting to card in  HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) 00 00
Card status:
     reader: HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) 00 00
     state: 20034
     active protocol: 2
     atr: 3b 8f 80 01 80 4f 0c a0 00 00 03 06 03 00 01 00 00 00 00 6a
Transmit:
	c-apdu: 00 a4 00 0c 02 3f 00
scard: Transaction failed.
[root at Rasp-8AC500 ~]$ 

----------------------------------------------------------------------

00000000 debuglog.c:299:DebugLogSetLevel() debug level=debug
00000137 debuglog.c:320:DebugLogSetCategory() Debug options: APDU
00000024 [1996345344] pcscdaemon.c:353:main() Force colored logs
00001132 [1996345344] configfile.l:293:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000110 [1996345344] configfile.l:330:DBGetReaderListDir() Skipping non regular file: ..
00000086 [1996345344] configfile.l:330:DBGetReaderListDir() Skipping non regular file: .
00000079 [1996345344] pcscdaemon.c:663:main() pcsc-lite 1.9.0 daemon ready.
00026387 [1982112704] hotplug_libusb.c:538:HPAddHotPluggable() Adding USB device: 1:11:0
00003831 [1982112704] readerfactory.c:1075:RFInitializeReader() Attempting startup of HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000944 [1982112704] readerfactory.c:950:RFBindFunctions() Loading IFD Handler 3.0
00000191 [1982112704] ifdhandler.c:2008:init_driver() Driver version: 1.4.33
00007374 [1982112704] ifdhandler.c:2025:init_driver() LogLevel: 0x0003
00000048 [1982112704] ifdhandler.c:2036:init_driver() DriverOptions: 0x0000
00001435 [1982112704] ifdhandler.c:2049:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x000F
00000044 [1982112704] ifdhandler.c:110:CreateChannelByNameOrChannel() Lun: 0, device: usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0
00000055 [1982112704] ccid_usb.c:237:OpenUSBByName() Reader index: 0, Device: usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0
00000064 [1982112704] ccid_usb.c:302:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
00007404 [1982112704] ccid_usb.c:320:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau at free.fr)
00000050 [1982112704] ccid_usb.c:321:OpenUSBByName() ifdProductString: Generic CCID driver
00000034 [1982112704] ccid_usb.c:322:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00011281 [1982112704] ccid_usb.c:406:OpenUSBByName() Try device: 1/11
00000050 [1982112704] ccid_usb.c:416:OpenUSBByName() vid/pid : 076B/5427
00000021 [1982112704] ccid_usb.c:483:OpenUSBByName() Checking device: 1/11
00000022 [1982112704] ccid_usb.c:554:OpenUSBByName() Trying to open USB bus/device: 1/11
00000431 [1982112704] ccid_usb.c:660:OpenUSBByName() Found Vendor/Product: 076B/5427 (HID OMNIKEY 5427 CK)
00000025 [1982112704] ccid_usb.c:662:OpenUSBByName() Using USB bus/device: 1/11
00000022 [1982112704] ccid_usb.c:722:OpenUSBByName() bNumDataRatesSupported is 0
00004629 [1982112704] ccid_usb.c:1327:InterruptRead() before (0), timeout: 100 ms
00100275 [1982112704] ccid_usb.c:1373:InterruptRead() after (0) (2)
00000080 [1982112704] -> 000000 65 00 00 00 00 00 00 00 00 00 
00205778 [1982112704] <- 000000 81 00 00 00 00 00 00 01 00 01 
00000073 [1982112704] -> 000000 65 00 00 00 00 00 01 00 00 00 
00000790 [1982112704] <- 000000 81 00 00 00 00 00 01 01 00 01 
00000052 [1982112704] ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFB3, usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000028 [1982112704] readerfactory.c:396:RFAddReader() Using the reader polling thread
00000025 [1982112704] ifdhandler.c:1868:IFDHICCPresence() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000037 [1982112704] -> 000000 65 00 00 00 00 00 02 00 00 00 
00000717 [1982112704] <- 000000 81 00 00 00 00 00 02 01 00 01 
00000038 [1982112704] ifdhandler.c:1989:IFDHICCPresence() Card present
00000289 [1982112704] ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFAE, usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000030 [1982112704] ifdhandler.c:476:IFDHGetCapabilities() Reader supports 1 slot(s)
00000044 [1982112704] hotplug_libusb.c:538:HPAddHotPluggable() Adding USB device: 1:11:1
00000030 [1963975616] ifdhandler.c:1868:IFDHICCPresence() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000047 [1963975616] -> 000000 65 00 00 00 00 00 03 00 00 00 
00002089 [1963975616] <- 000000 81 00 00 00 00 00 03 01 00 01 
00000046 [1963975616] ifdhandler.c:1989:IFDHICCPresence() Card present
00000037 [1963975616] ifdhandler.c:1868:IFDHICCPresence() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000039 [1963975616] -> 000000 65 00 00 00 00 00 04 00 00 00 
00001820 [1963975616] <- 000000 81 00 00 00 00 00 04 01 00 01 
00000037 [1963975616] ifdhandler.c:1989:IFDHICCPresence() Card present
00000040 [1963975616] ifdhandler.c:1167:IFDHPowerICC() action: PowerUp, usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000965 [1963975616] -> 000000 62 00 00 00 00 00 05 00 00 00 
00217134 [1963975616] <- 000000 80 00 00 00 00 00 05 42 FE 00 
00000052 [1963975616] commands.c:243:CmdPowerOn Card absent or mute
00000031 [1963975616] ifdhandler.c:1234:IFDHPowerICC() PowerUp failed
00000038 [1963975616] eventhandler.c:304:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
00000038 [1982112704] ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFAF, usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00001226 [1963975616] eventhandler.c:305:EHStatusHandlerThread() Error powering up card: -2146435050 0x80100016
00000089 [1982112704] readerfactory.c:727:RFSetReaderName() Support 16 simultaneous readers
00000058 [1982112704] ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFAD, usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000025 [1982112704] readerfactory.c:338:RFAddReader() Driver is thread safe
00000027 [1982112704] readerfactory.c:1075:RFInitializeReader() Attempting startup of HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) 01 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000023 [1982112704] readerfactory.c:864:RFLoadReader() Reusing already loaded driver for /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000078 [1982112704] readerfactory.c:950:RFBindFunctions() Loading IFD Handler 3.0
00000147 [1982112704] ifdhandler.c:110:CreateChannelByNameOrChannel() Lun: 10000, device: usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if1
00000034 [1982112704] ccid_usb.c:237:OpenUSBByName() Reader index: 1, Device: usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if1
00000057 [1982112704] ccid_usb.c:302:OpenUSBByName() Using: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
00000684 [1963975616] ifdhandler.c:1868:IFDHICCPresence() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000072 [1963975616] -> 000000 65 00 00 00 00 00 06 00 00 00 
00004540 [1963975616] <- 000000 81 00 00 00 00 00 06 02 00 01 
00000059 [1963975616] ifdhandler.c:1989:IFDHICCPresence() Card absent
00000034 [1963975616] eventhandler.c:358:EHStatusHandlerThread() Card Removed From HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) 00 00
00000030 [1963975616] ifdhandler.c:310:IFDHPolling() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0) 600000 ms
00000026 [1963975616] ccid_usb.c:1327:InterruptRead() before (0), timeout: 600000 ms
00000838 [1963975616] ccid_usb.c:1373:InterruptRead() after (0) (0)
00000045 [1963975616] NotifySlotChange: 50 02 
00000029 [1963975616] ifdhandler.c:1868:IFDHICCPresence() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000041 [1963975616] -> 000000 65 00 00 00 00 00 07 00 00 00 
00000927 [1963975616] <- 000000 81 00 00 00 00 00 07 02 00 01 
00000047 [1963975616] ifdhandler.c:1989:IFDHICCPresence() Card absent
00000030 [1963975616] ifdhandler.c:310:IFDHPolling() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0) 600000 ms
00000027 [1963975616] ccid_usb.c:1327:InterruptRead() before (0), timeout: 600000 ms
00000227 [1982112704] ccid_usb.c:320:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (ludovic.rousseau at free.fr)
00000033 [1982112704] ccid_usb.c:321:OpenUSBByName() ifdProductString: Generic CCID driver
00000028 [1982112704] ccid_usb.c:322:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00000593 [1982112704] ccid_usb.c:406:OpenUSBByName() Try device: 1/11
00000037 [1982112704] ccid_usb.c:416:OpenUSBByName() vid/pid : 076B/5427
00000023 [1982112704] ccid_usb.c:483:OpenUSBByName() Checking device: 1/11
00000026 [1982112704] ccid_usb.c:547:OpenUSBByName() USB device 1/11 already in use. Checking next one.
00000022 [1982112704] ccid_usb.c:406:OpenUSBByName() Try device: 1/5
00000022 [1982112704] ccid_usb.c:416:OpenUSBByName() vid/pid : 0424/7800
00000021 [1982112704] ccid_usb.c:406:OpenUSBByName() Try device: 1/3
00000022 [1982112704] ccid_usb.c:416:OpenUSBByName() vid/pid : 0424/2514
00000021 [1982112704] ccid_usb.c:406:OpenUSBByName() Try device: 1/2
00000022 [1982112704] ccid_usb.c:416:OpenUSBByName() vid/pid : 0424/2514
00000022 [1982112704] ccid_usb.c:406:OpenUSBByName() Try device: 1/1
00000022 [1982112704] ccid_usb.c:416:OpenUSBByName() vid/pid : 1D6B/0002
00001827 [1982112704] ccid_usb.c:799:OpenUSBByName() Device not found?
00000040 [1982112704] ifdhandler.c:150:CreateChannelByNameOrChannel() failed
00000031 [1982112704] readerfactory.c:1106:RFInitializeReader() Open Port 0x200001 Failed (usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if1)
00000024 [1982112704] readerfactory.c:376:RFAddReader() HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) init failed.
00000032 [1982112704] readerfactory.c:610:RFRemoveReader() UnrefReader() count was: 1
00000024 [1982112704] readerfactory.c:1126:RFUnInitializeReader() Attempting shutdown of HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) 01 00.
00001242 [1982112704] hotplug_libusb.c:442:HPEstablishUSBNotifications() Driver ifd-ccid.bundle does not support IFD_GENERATE_HOTPLUG. Using active polling instead.
00000038 [1982112704] hotplug_libusb.c:451:HPEstablishUSBNotifications() Polling forced every 1 second(s)
06161187 [1996345344] winscard_msg_srv.c:256:ProcessEventsServer() Common channel packet arrival
00000168 [1996345344] winscard_msg_srv.c:268:ProcessEventsServer() ProcessCommonChannelRequest detects: 6
00000029 [1996345344] pcscdaemon.c:133:SVCServiceRunLoop() A new context thread creation is requested: 6
00000301 [1953493952] winscard_svc.c:340:ContextThread() Authorized PC/SC client
00000030 [1953493952] winscard_svc.c:344:ContextThread() Thread is started: dwClientID=6, threadContext @0x8d9740
00000066 [1953493952] winscard_svc.c:362:ContextThread() Received command: CMD_VERSION from client 6
00000065 [1953493952] winscard_svc.c:374:ContextThread() Client is protocol version 4:4
00000026 [1953493952] winscard_svc.c:396:ContextThread() CMD_VERSION rv=0x0 for client 6
00000917 [1953493952] winscard_svc.c:362:ContextThread() Received command: ESTABLISH_CONTEXT from client 6
00000074 [1953493952] winscard.c:215:SCardEstablishContext() Establishing Context: 0x67F55A20
00000028 [1953493952] winscard_svc.c:461:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 6
00000421 [1953493952] winscard_svc.c:362:ContextThread() Received command: CMD_GET_READERS_STATE from client 6
00000298 [1953493952] winscard_svc.c:362:ContextThread() Received command: CMD_GET_READERS_STATE from client 6
00000927 [1953493952] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 6
00000394 [1953493952] winscard_svc.c:834:MSGSendReaderStates() Send reader states: 6
00000261 [1953493952] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 6
00000034 [1953493952] winscard_svc.c:442:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 6
00000200 [1953493952] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 6
00000031 [1953493952] winscard_svc.c:834:MSGSendReaderStates() Send reader states: 6
01381723 [1963975616] ccid_usb.c:1373:InterruptRead() after (0) (0)
00000066 [1963975616] NotifySlotChange: 50 03 
00000032 [1963975616] ifdhandler.c:1868:IFDHICCPresence() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000040 [1963975616] -> 000000 65 00 00 00 00 00 08 00 00 00 
00001447 [1963975616] <- 000000 81 00 00 00 00 00 08 01 00 01 
00000037 [1963975616] ifdhandler.c:1989:IFDHICCPresence() Card present
00000028 [1963975616] ifdhandler.c:1868:IFDHICCPresence() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000037 [1963975616] -> 000000 65 00 00 00 00 00 09 00 00 00 
00001115 [1963975616] <- 000000 81 00 00 00 00 00 09 01 00 01 
00000033 [1963975616] ifdhandler.c:1989:IFDHICCPresence() Card present
00000027 [1963975616] ifdhandler.c:1167:IFDHPowerICC() action: PowerUp, usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000038 [1963975616] -> 000000 62 00 00 00 00 00 0A 00 00 00 
00255935 [1963975616] <- 000000 80 14 00 00 00 00 0A 00 00 00 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A 
00000096 [1963975616] eventhandler.c:406:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000027 [1963975616] eventhandler.c:423:EHStatusHandlerThread() Card inserted into HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) 00 00
00000025 [1963975616] winscard_svc.c:822:MSGSignalClient() Signal client: 6
00000023 [1963975616] winscard_svc.c:825:MSGSignalClient() SIGNAL rv=0x0 for client 6
00000098 [1963975616] Card ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A 
00000030 [1963975616] ifdhandler.c:310:IFDHPolling() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0) 5000 ms
00000024 [1963975616] ccid_usb.c:1327:InterruptRead() before (0), timeout: 5000 ms
00000084 [1953493952] winscard_svc.c:362:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 6
00000035 [1953493952] winscard_svc.c:834:MSGSendReaderStates() Send reader states: 6
00000183 [1953493952] winscard_svc.c:362:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 6
00000031 [1953493952] winscard_svc.c:442:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 6
00000433 [1953493952] winscard_svc.c:362:ContextThread() Received command: CONNECT from client 6
00000057 [1953493952] winscard_svc.c:499:ContextThread() Authorized client for 'HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) 00 00'
00000025 [1953493952] winscard.c:259:SCardConnect() Attempting Connect to HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) 00 00 using protocol: 3
00000024 [1953493952] readerfactory.c:821:RFReaderInfo() RefReader() count was: 1
00000023 [1953493952] winscard.c:352:SCardConnect() powerState: POWER_STATE_IN_USE
00000026 [1953493952] prothandler.c:108:PHSetProtocol() Attempting PTS to T=1
00000030 [1953493952] ifdhandler.c:708:IFDHSetProtocolParameters() protocol T=1, usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000034 [1953493952] ifdhandler.c:1030:IFDHSetProtocolParameters() Timeout: 167723 ms
00000023 [1953493952] commands.c:2265:SetParameters() length: 7 bytes
00000050 [1953493952] -> 000000 61 07 00 00 00 00 0B 01 00 00 11 10 00 4D 00 20 00 
00003171 [1953493952] <- 000000 82 07 00 00 00 00 0B 00 00 01 11 10 00 4D 00 20 00 
00000053 [1953493952] ifdhandler.c:1100:IFDHSetProtocolParameters() T=1: IFSC=32, IFSD=254
00000033 [1953493952] winscard.c:431:SCardConnect() Active Protocol: T=1
00000032 [1953493952] winscard.c:456:SCardConnect() hCard Identity: 69e5dda9
00000033 [1953493952] winscard.c:518:SCardConnect() UnrefReader() count was: 2
00000030 [1953493952] winscard_svc.c:513:ContextThread() CONNECT rv=0x0 for client 6
00001438 [1953493952] winscard_svc.c:362:ContextThread() Received command: CMD_GET_READERS_STATE from client 6
00000420 [1953493952] winscard_svc.c:362:ContextThread() Received command: STATUS from client 6
00000062 [1953493952] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000025 [1953493952] winscard.c:1300:SCardStatus() UnrefReader() count was: 2
00000025 [1953493952] winscard_svc.c:632:ContextThread() STATUS rv=0x0 for client 6
00013245 [1953493952] winscard_svc.c:362:ContextThread() Received command: TRANSMIT from client 6
00000105 [1953493952] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000027 [1953493952] winscard.c:1595:SCardTransmit() Send Protocol: T=1
00000034 [1953493952] APDU: 00 A4 00 0C 02 3F 00 
00000028 [1953493952] ifdhandler.c:1316:IFDHTransmitToICC() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000046 [1953493952] commands.c:1634:CmdXfrBlockAPDU_extended() T=0 (extended): 7 bytes
00000053 [1953493952] -> 000000 6F 07 00 00 00 00 0C 00 00 00 00 A4 00 0C 02 3F 00 
00039734 [1953493952] <- 000000 80 00 00 00 00 00 0C 40 FE 00 
00000069 [1953493952] commands.c:1534:CCID_Receive Card absent or mute
00000024 [1953493952] SW: 
00000024 [1953493952] ifdwrapper.c:543:IFDTransmit() Card not transacted: 612
00000024 [1953493952] winscard.c:1620:SCardTransmit() Card not transacted: 0x80100016
00000021 [1953493952] winscard.c:1640:SCardTransmit() UnrefReader() count was: 2
00000026 [1953493952] winscard_svc.c:685:ContextThread() TRANSMIT rv=0x80100016 for client 6
00003189 [1953493952] winscard_svc.c:354:ContextThread() Client die: 6
00000186 [1953493952] winscard.c:229:SCardReleaseContext() Releasing Context: 0x67F55A20
00000034 [1953493952] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 1
00000026 [1953493952] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 2
00000025 [1953493952] winscard.c:1300:SCardStatus() UnrefReader() count was: 3
00000065 [1953493952] readerfactory.c:848:RFReaderInfoById() RefReader() count was: 2
00000024 [1953493952] winscard.c:881:SCardDisconnect() Active Contexts: -1
00000021 [1953493952] winscard.c:882:SCardDisconnect() dwDisposition: 1
00000029 [1953493952] ifdhandler.c:1868:IFDHICCPresence() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000042 [1953493952] -> 000000 65 00 00 00 00 00 0D 00 00 00 
00000905 [1953493952] <- 000000 81 00 00 00 00 00 0D 00 00 01 
00000047 [1953493952] ifdhandler.c:1989:IFDHICCPresence() Card present
00000030 [1953493952] ifdhandler.c:1167:IFDHPowerICC() action: Reset, usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000088 [1953493952] -> 000000 62 00 00 00 00 00 0E 00 00 00 
00158114 [1953493952] <- 000000 80 14 00 00 00 00 0E 00 00 00 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A 
00000058 [1953493952] winscard.c:920:SCardDisconnect() Reset complete.
00000052 [1953493952] Card ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A 
00000083 [1953493952] winscard.c:1017:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD
00000030 [1953493952] ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFB2, usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000023 [1953493952] winscard.c:1030:SCardDisconnect() Stopping polling thread
00000024 [1953493952] ifdhandler.c:346:IFDHStopPolling() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000192 [1953493952] winscard.c:1043:SCardDisconnect() UnrefReader() count was: 3
00000049 [1963975616] ccid_usb.c:1373:InterruptRead() after (0) (3)
00000051 [1963975616] ccid_usb.c:1388:InterruptRead() InterruptRead (1/11): 3
00000003 [1953493952] winscard_svc.c:931:MSGRemoveContext() UnrefReader() count was: 2
00000116 [1953493952] winscard_svc.c:1057:MSGCleanupClient() Thread is stopping: dwClientID=6, threadContext @0x8d9740
00000059 [1953493952] winscard_svc.c:1063:MSGCleanupClient() Freeing SCONTEXT @0x8d9740
00400015 [1963975616] eventhandler.c:494:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000062 [1963975616] ifdhandler.c:1868:IFDHICCPresence() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000043 [1963975616] -> 000000 65 00 00 00 00 00 0F 00 00 00 
00001910 [1963975616] <- 000000 81 00 00 00 00 00 0F 00 00 01 
00000044 [1963975616] ifdhandler.c:1989:IFDHICCPresence() Card present
00000029 [1963975616] ifdhandler.c:310:IFDHPolling() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0) 5000 ms
00000028 [1963975616] ccid_usb.c:1327:InterruptRead() before (0), timeout: 5000 ms
02945300 [1963975616] ccid_usb.c:1373:InterruptRead() after (0) (0)
00000058 [1963975616] NotifySlotChange: 50 02 
00000038 [1963975616] ifdhandler.c:1868:IFDHICCPresence() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000040 [1963975616] -> 000000 65 00 00 00 00 00 10 00 00 00 
00001827 [1963975616] <- 000000 81 00 00 00 00 00 10 02 00 01 
00000044 [1963975616] ifdhandler.c:1989:IFDHICCPresence() Card absent
00000027 [1963975616] eventhandler.c:482:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
00000028 [1963975616] ifdhandler.c:1868:IFDHICCPresence() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0)
00000043 [1963975616] -> 000000 65 00 00 00 00 00 11 00 00 00 
00001838 [1963975616] <- 000000 81 00 00 00 00 00 11 02 00 01 
00000036 [1963975616] ifdhandler.c:1989:IFDHICCPresence() Card absent
00000025 [1963975616] eventhandler.c:358:EHStatusHandlerThread() Card Removed From HID OMNIKEY 5427 CK (01010053484D37353001395E34176930) 00 00
00000030 [1963975616] ifdhandler.c:310:IFDHPolling() usb:076b/5427:libhal:/org/freedesktop/Hal/devices/usb_device_076b_5427_serialnotneeded_if0 (lun: 0) 600000 ms
00000105 [1963975616] ccid_usb.c:1327:InterruptRead() before (0), timeout: 600000 ms


More information about the pcsclite-muscle mailing list