[Pcsclite-muscle] Help required with Microchip SEC1210 over Serial

Tobias Girstmair tobi at isticktoit.net
Wed Feb 28 13:43:54 PST 2018


> You shall generate a pcscd trace as described in
> https://pcsclite.alioth.debian.org/ccid.html#support

sorry I forgot; It is attached now (and on https://pastebin.com/k3HjjhmZ 
if that did not work).

Here is the information that the support page also mentions:

  - CCID driver version: pcsc-ccid-1.4.29_2 (voidlinux package)
  - pcsc-lite version: pcsclite-1.8.23_1 (voidlinux package)
  - `/usr/sbin/pcscd --version`:
     pcsc-lite version 1.8.23.
     Copyright (C) 1999-2002 by David Corcoran <corcoran at musclecard.com>.
     Copyright (C) 2001-2015 by Ludovic Rousseau <ludovic.rousseau at free.fr>.
     Copyright (C) 2003-2004 by Damien Sauveron <sauveron at labri.fr>.
     Report bugs to <pcsclite-muscle at lists.alioth.debian.org>.
     Enabled features: Linux arm-unknown-linux-gnueabihf serial usb 
libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd 
configdir=/etc/reader.conf.d
  - Linux Distro: voidlinux (rolling-release, up-to-date)
  - Hardware: Raspberry Pi Zero
  - Smart card middleware: not sure -- OpenPGP Card 2.1
  - Smart card reader: own PCB for Microchip SEC1210-I/PV-URT
  - Smart card name: OpenPGP card 2.1
-------------- next part --------------
00000000 debuglog.c:289:DebugLogSetLevel() debug level=debug
00002393 debuglog.c:310:DebugLogSetCategory() Debug options: APDU
00002516 pcscdaemon.c:352:main() Force colored logs
00002509 configfile.l:285:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00002406 configfile.l:361:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00002319 configfile.l:322:DBGetReaderListDir() Skipping non regular file: .
00001157 configfile.l:361:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/reader.sec1210.conf
00001981 configfile.l:211:evaluatetoken() Add reader: Microchip SEC1210
00000502 configfile.l:322:DBGetReaderListDir() Skipping non regular file: ..
00001223 readerfactory.c:1075:RFInitializeReader() Attempting startup of Microchip SEC1210 00 00 using /usr/lib/pcsc/drivers/serial/libccidtwin.so
00002924 readerfactory.c:950:RFBindFunctions() Loading IFD Handler 3.0
00003061 ifdhandler.c:1961:init_driver() Driver version: 1.4.29
00010663 ifdhandler.c:1978:init_driver() LogLevel: 0x0003
00003089 ifdhandler.c:1989:init_driver() DriverOptions: 0x0000
00004503 ifdhandler.c:2002:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x000F
00002020 ifdhandler.c:110:CreateChannelByNameOrChannel() Lun: 0, device: /dev/ttyAMA0:SEC1210
00002015 ccid_serial.c:698:OpenSerialByName() Reader index: 0, Device: /dev/ttyAMA0:SEC1210
00002576 ccid_serial.c:746:OpenSerialByName() Plug-n-Play inhibition successful
00001946 ccid_serial.c:837:OpenSerialByName() Set serial port baudrate to 115200 and correct configuration
00001706 -> 000000 03 06 6B 01 00 00 00 00 00 00 00 00 06 69 
00001229 ccid_serial.c:235:ReadSerial() start
00000304 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00001397 ccid_serial.c:384:get_bytes() get more data: 1
00001372 <- 000000 03 06 83 01 00 00 00 00 
00001349 ccid_serial.c:457:ReadChunk() read: 8, to read: 1
00000308 ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
00000255 ccid_serial.c:275:ReadSerial() sync
00001315 ccid_serial.c:361:get_bytes() available: 7, needed: 1
00001325 ccid_serial.c:365:get_bytes() data available
00000297 ccid_serial.c:305:ReadSerial() ack
00000546 ccid_serial.c:361:get_bytes() available: 6, needed: 5
00001033 ccid_serial.c:365:get_bytes() data available
00000084 ccid_serial.c:319:ReadSerial() frame size: 11
00000042 ccid_serial.c:361:get_bytes() available: 1, needed: 6
00000035 ccid_serial.c:378:get_bytes() some data available: 1
00000034 ccid_serial.c:384:get_bytes() get more data: 5
00000130 <- 000000 00 01 00 00 22 A4 
00000043 ccid_serial.c:457:ReadChunk() read: 6, to read: 5
00000037 ccid_serial.c:397:get_bytes() offset: 5, last_offset: 6
00000064 frame: 83 01 00 00 00 00 00 01 00 00 22 
00000031 ccid_serial.c:326:ReadSerial() lrc
00000032 ccid_serial.c:361:get_bytes() available: 1, needed: 1
00000030 ccid_serial.c:365:get_bytes() data available
00000308 ccid_serial.c:330:ReadSerial() lrc: 0xA4
00000053 ccid_serial.c:869:OpenSerialByName() Firmware: "
00000093 -> 000000 03 06 65 00 00 00 00 00 01 00 00 00 61 
00000082 ccid_serial.c:235:ReadSerial() start
00000041 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000036 ccid_serial.c:384:get_bytes() get more data: 1
00005012 <- 000000 03 06 81 00 00 00 00 00 01 01 00 01 85 
00000314 ccid_serial.c:457:ReadChunk() read: 13, to read: 1
00001423 ccid_serial.c:397:get_bytes() offset: 1, last_offset: 13
00000085 ccid_serial.c:275:ReadSerial() sync
00000044 ccid_serial.c:361:get_bytes() available: 12, needed: 1
00000034 ccid_serial.c:365:get_bytes() data available
00000032 ccid_serial.c:305:ReadSerial() ack
00000033 ccid_serial.c:361:get_bytes() available: 11, needed: 5
00000027 ccid_serial.c:365:get_bytes() data available
00000033 ccid_serial.c:319:ReadSerial() frame size: 10
00000031 ccid_serial.c:361:get_bytes() available: 6, needed: 5
00000027 ccid_serial.c:365:get_bytes() data available
00000070 frame: 81 00 00 00 00 00 01 01 00 01 
00000032 ccid_serial.c:326:ReadSerial() lrc
00000032 ccid_serial.c:361:get_bytes() available: 1, needed: 1
00000030 ccid_serial.c:365:get_bytes() data available
00000030 ccid_serial.c:330:ReadSerial() lrc: 0x85
00000088 -> 000000 03 06 65 00 00 00 00 00 02 00 00 00 62 
00000078 ccid_serial.c:235:ReadSerial() start
00000040 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000034 ccid_serial.c:384:get_bytes() get more data: 1
00004844 <- 000000 03 06 81 00 00 00 00 00 02 01 00 01 86 
00000094 ccid_serial.c:457:ReadChunk() read: 13, to read: 1
00000047 ccid_serial.c:397:get_bytes() offset: 1, last_offset: 13
00000034 ccid_serial.c:275:ReadSerial() sync
00000036 ccid_serial.c:361:get_bytes() available: 12, needed: 1
00000029 ccid_serial.c:365:get_bytes() data available
00000034 ccid_serial.c:305:ReadSerial() ack
00000031 ccid_serial.c:361:get_bytes() available: 11, needed: 5
00000029 ccid_serial.c:365:get_bytes() data available
00000028 ccid_serial.c:319:ReadSerial() frame size: 10
00000033 ccid_serial.c:361:get_bytes() available: 6, needed: 5
00000027 ccid_serial.c:365:get_bytes() data available
00000062 frame: 81 00 00 00 00 00 02 01 00 01 
00000034 ccid_serial.c:326:ReadSerial() lrc
00000031 ccid_serial.c:361:get_bytes() available: 1, needed: 1
00000029 ccid_serial.c:365:get_bytes() data available
00000031 ccid_serial.c:330:ReadSerial() lrc: 0x86
00000050 ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFB3, /dev/ttyAMA0:SEC1210 (lun: 0)
00000038 readerfactory.c:391:RFAddReader() Using the pcscd polling thread
00000037 ifdhandler.c:1821:IFDHICCPresence() /dev/ttyAMA0:SEC1210 (lun: 0)
00000082 -> 000000 03 06 65 00 00 00 00 00 03 00 00 00 63 
00000074 ccid_serial.c:235:ReadSerial() start
00000039 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000034 ccid_serial.c:384:get_bytes() get more data: 1
00005447 <- 000000 03 06 81 00 00 00 00 00 03 01 00 01 87 
00000093 ccid_serial.c:457:ReadChunk() read: 13, to read: 1
00000047 ccid_serial.c:397:get_bytes() offset: 1, last_offset: 13
00000033 ccid_serial.c:275:ReadSerial() sync
00000037 ccid_serial.c:361:get_bytes() available: 12, needed: 1
00000031 ccid_serial.c:365:get_bytes() data available
00000033 ccid_serial.c:305:ReadSerial() ack
00000029 ccid_serial.c:361:get_bytes() available: 11, needed: 5
00000030 ccid_serial.c:365:get_bytes() data available
00000031 ccid_serial.c:319:ReadSerial() frame size: 10
00000030 ccid_serial.c:361:get_bytes() available: 6, needed: 5
00000029 ccid_serial.c:365:get_bytes() data available
00000061 frame: 81 00 00 00 00 00 03 01 00 01 
00000032 ccid_serial.c:326:ReadSerial() lrc
00000033 ccid_serial.c:361:get_bytes() available: 1, needed: 1
00000029 ccid_serial.c:365:get_bytes() data available
00000033 ccid_serial.c:330:ReadSerial() lrc: 0x87
00000033 ifdhandler.c:1942:IFDHICCPresence() Card present
00000524 ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFAE, /dev/ttyAMA0:SEC1210 (lun: 0)
00000069 ifdhandler.c:476:IFDHGetCapabilities() Reader supports 2 slot(s)
00000063 ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFAC, /dev/ttyAMA0:SEC1210 (lun: 0)
00000041 readerfactory.c:1075:RFInitializeReader() Attempting startup of Microchip SEC1210 00 01 using /usr/lib/pcsc/drivers/serial/libccidtwin.so
00000039 readerfactory.c:864:RFLoadReader() Reusing already loaded driver for /usr/lib/pcsc/drivers/serial/libccidtwin.so
00000113 readerfactory.c:950:RFBindFunctions() Loading IFD Handler 3.0
00000285 ifdhandler.c:110:CreateChannelByNameOrChannel() Lun: 1, device: /dev/ttyAMA0
00000056 ccid_serial.c:698:OpenSerialByName() Reader index: 1, Device: /dev/ttyAMA0
00006602 ccid_serial.c:539:set_ccid_descriptor() /dev/ttyAMA0 already used. Multi-slot reader?
00000371 ccid_serial.c:559:set_ccid_descriptor() Opening slot: 1
00000734 -> 000001 03 06 65 00 00 00 00 01 04 00 00 00 65 
00001134 ccid_serial.c:235:ReadSerial() start
00001170 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000697 ccid_serial.c:384:get_bytes() get more data: 1
03003221 ccid_serial.c:442:ReadChunk() Timeout! (3000 ms)
00000397 -> 000001 03 06 65 00 00 00 00 01 05 00 00 00 64 
00000104 ccid_serial.c:235:ReadSerial() start
00000046 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000035 ccid_serial.c:384:get_bytes() get more data: 1
00100272 ccid_serial.c:442:ReadChunk() Timeout! (100 ms)
00000389 -> 000001 03 06 65 00 00 00 00 01 06 00 00 00 67 
00000231 ccid_serial.c:235:ReadSerial() start
00000187 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000951 ccid_serial.c:384:get_bytes() get more data: 1
00102229 ccid_serial.c:442:ReadChunk() Timeout! (100 ms)
00000106 ifdhandler.c:194:CreateChannelByNameOrChannel() failed
00000049 ccid_serial.c:911:CloseSerial() Closing serial device: /dev/ttyAMA0
00000139 ifdhandler.c:1821:IFDHICCPresence() /dev/ttyAMA0:SEC1210 (lun: 0)
00000106 -> 000000 03 06 65 00 00 00 00 00 07 00 00 00 67 
00000081 ccid_serial.c:235:ReadSerial() start
00000045 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000034 ccid_serial.c:384:get_bytes() get more data: 1
00000365 readerfactory.c:1106:RFInitializeReader() Open Port 0x0 Failed (/dev/ttyAMA0)
00000082 readerfactory.c:610:RFRemoveReader() UnrefReader() count was: 1
00000043 eventhandler.c:173:EHDestroyEventHandler() Stomping thread.
00001889 <- 000000 03 06 81 00 00 00 00 00 
00000079 ccid_serial.c:457:ReadChunk() read: 8, to read: 1
00000044 ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
00000033 ccid_serial.c:275:ReadSerial() sync
00000037 ccid_serial.c:361:get_bytes() available: 7, needed: 1
00000030 ccid_serial.c:365:get_bytes() data available
00000030 ccid_serial.c:305:ReadSerial() ack
00000029 ccid_serial.c:361:get_bytes() available: 6, needed: 5
00000030 ccid_serial.c:365:get_bytes() data available
00000031 ccid_serial.c:319:ReadSerial() frame size: 10
00000030 ccid_serial.c:361:get_bytes() available: 1, needed: 5
00000030 ccid_serial.c:378:get_bytes() some data available: 1
00000029 ccid_serial.c:384:get_bytes() get more data: 4
00000993 <- 000000 07 01 00 01 83 
00000076 ccid_serial.c:457:ReadChunk() read: 5, to read: 4
00000039 ccid_serial.c:397:get_bytes() offset: 4, last_offset: 5
00000066 frame: 81 00 00 00 00 00 07 01 00 01 
00000035 ccid_serial.c:326:ReadSerial() lrc
00000034 ccid_serial.c:361:get_bytes() available: 1, needed: 1
00000032 ccid_serial.c:365:get_bytes() data available
00000034 ccid_serial.c:330:ReadSerial() lrc: 0x83
00000035 ifdhandler.c:1942:IFDHICCPresence() Card present
00000079 ifdhandler.c:1821:IFDHICCPresence() /dev/ttyAMA0:SEC1210 (lun: 0)
00000091 -> 000000 03 06 65 00 00 00 00 00 08 00 00 00 68 
00000074 ccid_serial.c:235:ReadSerial() start
00000043 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000033 ccid_serial.c:384:get_bytes() get more data: 1
00002362 <- 000000 03 06 81 00 00 00 00 00 
00000073 ccid_serial.c:457:ReadChunk() read: 8, to read: 1
00000042 ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
00000034 ccid_serial.c:275:ReadSerial() sync
00000035 ccid_serial.c:361:get_bytes() available: 7, needed: 1
00000032 ccid_serial.c:365:get_bytes() data available
00000281 ccid_serial.c:305:ReadSerial() ack
00000060 ccid_serial.c:361:get_bytes() available: 6, needed: 5
00000034 ccid_serial.c:365:get_bytes() data available
00001042 ccid_serial.c:319:ReadSerial() frame size: 10
00000048 ccid_serial.c:361:get_bytes() available: 1, needed: 5
00000034 ccid_serial.c:378:get_bytes() some data available: 1
00000035 ccid_serial.c:384:get_bytes() get more data: 4
00000124 <- 000000 08 01 00 01 8C 
00000043 ccid_serial.c:457:ReadChunk() read: 5, to read: 4
00000034 ccid_serial.c:397:get_bytes() offset: 4, last_offset: 5
00000066 frame: 81 00 00 00 00 00 08 01 00 01 
00000034 ccid_serial.c:326:ReadSerial() lrc
00000032 ccid_serial.c:361:get_bytes() available: 1, needed: 1
00000033 ccid_serial.c:365:get_bytes() data available
00000305 ccid_serial.c:330:ReadSerial() lrc: 0x8C
00000053 ifdhandler.c:1942:IFDHICCPresence() Card present
00000053 ifdhandler.c:1154:IFDHPowerICC() action: PowerUp, /dev/ttyAMA0:SEC1210 (lun: 0)
00000089 -> 000000 03 06 62 00 00 00 00 00 09 01 00 00 6F 
00000073 ccid_serial.c:235:ReadSerial() start
00000043 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000036 ccid_serial.c:384:get_bytes() get more data: 1
00034649 <- 000000 03 06 80 00 00 00 00 00 09 41 FE 00 33 
00000103 ccid_serial.c:457:ReadChunk() read: 13, to read: 1
00000043 ccid_serial.c:397:get_bytes() offset: 1, last_offset: 13
00000034 ccid_serial.c:275:ReadSerial() sync
00000038 ccid_serial.c:361:get_bytes() available: 12, needed: 1
00000031 ccid_serial.c:365:get_bytes() data available
00000032 ccid_serial.c:305:ReadSerial() ack
00000033 ccid_serial.c:361:get_bytes() available: 11, needed: 5
00000031 ccid_serial.c:365:get_bytes() data available
00000030 ccid_serial.c:319:ReadSerial() frame size: 10
00000031 ccid_serial.c:361:get_bytes() available: 6, needed: 5
00000029 ccid_serial.c:365:get_bytes() data available
00000060 frame: 80 00 00 00 00 00 09 41 FE 00 
00000030 ccid_serial.c:326:ReadSerial() lrc
00000032 ccid_serial.c:361:get_bytes() available: 1, needed: 1
00000032 ccid_serial.c:365:get_bytes() data available
00000033 ccid_serial.c:330:ReadSerial() lrc: 0x33
00000035 commands.c:249:CmdPowerOn Card absent or mute
00000034 commands.c:278:CmdPowerOn() Power up with 5V failed. Try with auto.
00000081 -> 000000 03 06 62 00 00 00 00 00 0A 03 00 00 6E 
00000073 ccid_serial.c:235:ReadSerial() start
00000039 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000034 ccid_serial.c:384:get_bytes() get more data: 1
00032932 <- 000000 03 06 80 00 00 00 00 00 
00000101 ccid_serial.c:457:ReadChunk() read: 8, to read: 1
00000046 ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
00000036 ccid_serial.c:275:ReadSerial() sync
00000037 ccid_serial.c:361:get_bytes() available: 7, needed: 1
00000032 ccid_serial.c:365:get_bytes() data available
00000030 ccid_serial.c:305:ReadSerial() ack
00000031 ccid_serial.c:361:get_bytes() available: 6, needed: 5
00000030 ccid_serial.c:365:get_bytes() data available
00000032 ccid_serial.c:319:ReadSerial() frame size: 10
00000030 ccid_serial.c:361:get_bytes() available: 1, needed: 5
00000031 ccid_serial.c:378:get_bytes() some data available: 1
00000030 ccid_serial.c:384:get_bytes() get more data: 4
00000651 <- 000000 0A 41 FE 00 30 
00000075 ccid_serial.c:457:ReadChunk() read: 5, to read: 4
00000042 ccid_serial.c:397:get_bytes() offset: 4, last_offset: 5
00000064 frame: 80 00 00 00 00 00 0A 41 FE 00 
00000035 ccid_serial.c:326:ReadSerial() lrc
00000036 ccid_serial.c:361:get_bytes() available: 1, needed: 1
00000031 ccid_serial.c:365:get_bytes() data available
00000031 ccid_serial.c:330:ReadSerial() lrc: 0x30
00000037 commands.c:249:CmdPowerOn Card absent or mute
00000034 commands.c:278:CmdPowerOn() Power up with 1.8V failed. Try with 3V.
00000080 -> 000000 03 06 62 00 00 00 00 00 0B 02 00 00 6E 
00000070 ccid_serial.c:235:ReadSerial() start
00000039 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000037 ccid_serial.c:384:get_bytes() get more data: 1
00032924 <- 000000 03 06 80 00 00 00 00 00 
00000103 ccid_serial.c:457:ReadChunk() read: 8, to read: 1
00000043 ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
00000033 ccid_serial.c:275:ReadSerial() sync
00000038 ccid_serial.c:361:get_bytes() available: 7, needed: 1
00000032 ccid_serial.c:365:get_bytes() data available
00000030 ccid_serial.c:305:ReadSerial() ack
00000033 ccid_serial.c:361:get_bytes() available: 6, needed: 5
00000028 ccid_serial.c:365:get_bytes() data available
00000031 ccid_serial.c:319:ReadSerial() frame size: 10
00000030 ccid_serial.c:361:get_bytes() available: 1, needed: 5
00000033 ccid_serial.c:378:get_bytes() some data available: 1
00000030 ccid_serial.c:384:get_bytes() get more data: 4
00000270 <- 000000 0B 41 FE 00 31 
00000052 ccid_serial.c:457:ReadChunk() read: 5, to read: 4
00000040 ccid_serial.c:397:get_bytes() offset: 4, last_offset: 5
00000060 frame: 80 00 00 00 00 00 0B 41 FE 00 
00000032 ccid_serial.c:326:ReadSerial() lrc
00000035 ccid_serial.c:361:get_bytes() available: 1, needed: 1
00000030 ccid_serial.c:365:get_bytes() data available
00000032 ccid_serial.c:330:ReadSerial() lrc: 0x31
00000034 commands.c:249:CmdPowerOn Card absent or mute
00000037 commands.c:278:CmdPowerOn() Power up with 3V failed. Try with 5V.
00000034 ifdhandler.c:1221:IFDHPowerICC() PowerUp failed
00000093 ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFB1, /dev/ttyAMA0:SEC1210 (lun: 0)
00000058 ifdhandler.c:381:IFDHGetCapabilities() tag: 0xFB2, /dev/ttyAMA0:SEC1210 (lun: 0)
00000041 eventhandler.c:202:EHDestroyEventHandler() Waiting polling thread
00000092 eventhandler.c:302:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
00000051 eventhandler.c:303:EHStatusHandlerThread() Error powering up card: -2146435050 0x80100016
00000048 ifdhandler.c:1821:IFDHICCPresence() /dev/ttyAMA0:SEC1210 (lun: 0)
00000084 -> 000000 03 06 65 00 00 00 00 00 0C 00 00 00 6C 
00000075 ccid_serial.c:235:ReadSerial() start
00000045 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000034 ccid_serial.c:384:get_bytes() get more data: 1
00003203 <- 000000 03 06 81 00 00 00 00 00 0C 01 00 01 88 
00000074 ccid_serial.c:457:ReadChunk() read: 13, to read: 1
00000042 ccid_serial.c:397:get_bytes() offset: 1, last_offset: 13
00000036 ccid_serial.c:275:ReadSerial() sync
00000034 ccid_serial.c:361:get_bytes() available: 12, needed: 1
00000029 ccid_serial.c:365:get_bytes() data available
00000031 ccid_serial.c:305:ReadSerial() ack
00000030 ccid_serial.c:361:get_bytes() available: 11, needed: 5
00000028 ccid_serial.c:365:get_bytes() data available
00000030 ccid_serial.c:319:ReadSerial() frame size: 10
00000032 ccid_serial.c:361:get_bytes() available: 6, needed: 5
00000028 ccid_serial.c:365:get_bytes() data available
00000061 frame: 81 00 00 00 00 00 0C 01 00 01 
00000032 ccid_serial.c:326:ReadSerial() lrc
00000033 ccid_serial.c:361:get_bytes() available: 1, needed: 1
00000029 ccid_serial.c:365:get_bytes() data available
00000031 ccid_serial.c:330:ReadSerial() lrc: 0x88
00000035 ifdhandler.c:1942:IFDHICCPresence() Card present
00400186 eventhandler.c:502:EHStatusHandlerThread() Die
00001733 eventhandler.c:213:EHDestroyEventHandler() Thread stomped.
00000082 readerfactory.c:1126:RFUnInitializeReader() Attempting shutdown of Microchip SEC1210 00 00.
00000047 ifdhandler.c:284:IFDHCloseChannel() /dev/ttyAMA0:SEC1210 (lun: 0)
00000092 -> 000000 03 06 63 00 00 00 00 00 0D 00 00 00 6B 
00000083 ccid_serial.c:235:ReadSerial() start
00000045 ccid_serial.c:361:get_bytes() available: 0, needed: 1
00000034 ccid_serial.c:384:get_bytes() get more data: 1
00002360 <- 000000 03 06 81 00 00 00 00 00 
00000080 ccid_serial.c:457:ReadChunk() read: 8, to read: 1
00000285 ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
00000054 ccid_serial.c:275:ReadSerial() sync
00000040 ccid_serial.c:361:get_bytes() available: 7, needed: 1
00000033 ccid_serial.c:365:get_bytes() data available
00000031 ccid_serial.c:305:ReadSerial() ack
00000030 ccid_serial.c:361:get_bytes() available: 6, needed: 5
00000030 ccid_serial.c:365:get_bytes() data available
00000680 ccid_serial.c:319:ReadSerial() frame size: 10
00000044 ccid_serial.c:361:get_bytes() available: 1, needed: 5
00000037 ccid_serial.c:378:get_bytes() some data available: 1
00000031 ccid_serial.c:384:get_bytes() get more data: 4
00000122 <- 000000 0D 01 00 01 89 
00000042 ccid_serial.c:457:ReadChunk() read: 5, to read: 4
00000034 ccid_serial.c:397:get_bytes() offset: 4, last_offset: 5
00000062 frame: 81 00 00 00 00 00 0D 01 00 01 
00000034 ccid_serial.c:326:ReadSerial() lrc
00000032 ccid_serial.c:361:get_bytes() available: 1, needed: 1
00000032 ccid_serial.c:365:get_bytes() data available
00000031 ccid_serial.c:330:ReadSerial() lrc: 0x89
00000038 ccid_serial.c:911:CloseSerial() Closing serial device: /dev/ttyAMA0
00000032 ccid_serial.c:919:CloseSerial() Last slot closed. Release resources
00000591 readerfactory.c:610:RFRemoveReader() UnrefReader() count was: 1
00000078 readerfactory.c:1126:RFUnInitializeReader() Attempting shutdown of Microchip SEC1210 00 01.
00000039 readerfactory.c:987:RFUnloadReader() Unloading reader driver.
00000284 pcscdaemon.c:662:main() pcsc-lite 1.8.23 daemon ready.
00031938 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00003587 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00003140 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0409, PID: 0x005A, path: /dev/bus/usb/001/002
00002909 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x9710, PID: 0x7832, path: /dev/bus/usb/001/003
00004272 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0409, PID: 0x005A, path: /dev/bus/usb/001/002


More information about the pcsclite-muscle mailing list