[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
[36m00002516[0m [34mpcscdaemon.c:352:main() Force colored logs[0m
[36m00002509[0m configfile.l:285:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
[36m00002406[0m configfile.l:361:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
[36m00002319[0m configfile.l:322:DBGetReaderListDir() Skipping non regular file: .
[36m00001157[0m configfile.l:361:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/reader.sec1210.conf
[36m00001981[0m configfile.l:211:evaluatetoken() Add reader: Microchip SEC1210
[36m00000502[0m configfile.l:322:DBGetReaderListDir() Skipping non regular file: ..
[36m00001223[0m [34mreaderfactory.c:1075:RFInitializeReader() Attempting startup of Microchip SEC1210 00 00 using /usr/lib/pcsc/drivers/serial/libccidtwin.so[0m
[36m00002924[0m [34mreaderfactory.c:950:RFBindFunctions() Loading IFD Handler 3.0[0m
[36m00003061[0m [34mifdhandler.c:1961:init_driver() Driver version: 1.4.29[0m
[36m00010663[0m [34mifdhandler.c:1978:init_driver() LogLevel: 0x0003[0m
[36m00003089[0m [34mifdhandler.c:1989:init_driver() DriverOptions: 0x0000[0m
[36m00004503[0m [34mifdhandler.c:2002:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x000F[0m
[36m00002020[0m [34mifdhandler.c:110:CreateChannelByNameOrChannel() Lun: 0, device: /dev/ttyAMA0:SEC1210[0m
[36m00002015[0m ccid_serial.c:698:OpenSerialByName() Reader index: 0, Device: /dev/ttyAMA0:SEC1210
[36m00002576[0m ccid_serial.c:746:OpenSerialByName() Plug-n-Play inhibition successful
[36m00001946[0m [34mccid_serial.c:837:OpenSerialByName() Set serial port baudrate to 115200 and correct configuration[0m
[36m00001706[0m -> 000000 03 06 6B 01 00 00 00 00 00 00 00 00 06 69
[36m00001229[0m ccid_serial.c:235:ReadSerial() start
[36m00000304[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00001397[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00001372[0m <- 000000 03 06 83 01 00 00 00 00
[36m00001349[0m ccid_serial.c:457:ReadChunk() read: 8, to read: 1
[36m00000308[0m ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
[36m00000255[0m ccid_serial.c:275:ReadSerial() sync
[36m00001315[0m ccid_serial.c:361:get_bytes() available: 7, needed: 1
[36m00001325[0m ccid_serial.c:365:get_bytes() data available
[36m00000297[0m ccid_serial.c:305:ReadSerial() ack
[36m00000546[0m ccid_serial.c:361:get_bytes() available: 6, needed: 5
[36m00001033[0m ccid_serial.c:365:get_bytes() data available
[36m00000084[0m ccid_serial.c:319:ReadSerial() frame size: 11
[36m00000042[0m ccid_serial.c:361:get_bytes() available: 1, needed: 6
[36m00000035[0m ccid_serial.c:378:get_bytes() some data available: 1
[36m00000034[0m ccid_serial.c:384:get_bytes() get more data: 5
[36m00000130[0m <- 000000 00 01 00 00 22 A4
[36m00000043[0m ccid_serial.c:457:ReadChunk() read: 6, to read: 5
[36m00000037[0m ccid_serial.c:397:get_bytes() offset: 5, last_offset: 6
[36m00000064[0m frame: 83 01 00 00 00 00 00 01 00 00 22
[36m00000031[0m ccid_serial.c:326:ReadSerial() lrc
[36m00000032[0m ccid_serial.c:361:get_bytes() available: 1, needed: 1
[36m00000030[0m ccid_serial.c:365:get_bytes() data available
[36m00000308[0m ccid_serial.c:330:ReadSerial() lrc: 0xA4
[36m00000053[0m [34mccid_serial.c:869:OpenSerialByName() Firmware: "[0m
[36m00000093[0m -> 000000 03 06 65 00 00 00 00 00 01 00 00 00 61
[36m00000082[0m ccid_serial.c:235:ReadSerial() start
[36m00000041[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000036[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00005012[0m <- 000000 03 06 81 00 00 00 00 00 01 01 00 01 85
[36m00000314[0m ccid_serial.c:457:ReadChunk() read: 13, to read: 1
[36m00001423[0m ccid_serial.c:397:get_bytes() offset: 1, last_offset: 13
[36m00000085[0m ccid_serial.c:275:ReadSerial() sync
[36m00000044[0m ccid_serial.c:361:get_bytes() available: 12, needed: 1
[36m00000034[0m ccid_serial.c:365:get_bytes() data available
[36m00000032[0m ccid_serial.c:305:ReadSerial() ack
[36m00000033[0m ccid_serial.c:361:get_bytes() available: 11, needed: 5
[36m00000027[0m ccid_serial.c:365:get_bytes() data available
[36m00000033[0m ccid_serial.c:319:ReadSerial() frame size: 10
[36m00000031[0m ccid_serial.c:361:get_bytes() available: 6, needed: 5
[36m00000027[0m ccid_serial.c:365:get_bytes() data available
[36m00000070[0m frame: 81 00 00 00 00 00 01 01 00 01
[36m00000032[0m ccid_serial.c:326:ReadSerial() lrc
[36m00000032[0m ccid_serial.c:361:get_bytes() available: 1, needed: 1
[36m00000030[0m ccid_serial.c:365:get_bytes() data available
[36m00000030[0m ccid_serial.c:330:ReadSerial() lrc: 0x85
[36m00000088[0m -> 000000 03 06 65 00 00 00 00 00 02 00 00 00 62
[36m00000078[0m ccid_serial.c:235:ReadSerial() start
[36m00000040[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000034[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00004844[0m <- 000000 03 06 81 00 00 00 00 00 02 01 00 01 86
[36m00000094[0m ccid_serial.c:457:ReadChunk() read: 13, to read: 1
[36m00000047[0m ccid_serial.c:397:get_bytes() offset: 1, last_offset: 13
[36m00000034[0m ccid_serial.c:275:ReadSerial() sync
[36m00000036[0m ccid_serial.c:361:get_bytes() available: 12, needed: 1
[36m00000029[0m ccid_serial.c:365:get_bytes() data available
[36m00000034[0m ccid_serial.c:305:ReadSerial() ack
[36m00000031[0m ccid_serial.c:361:get_bytes() available: 11, needed: 5
[36m00000029[0m ccid_serial.c:365:get_bytes() data available
[36m00000028[0m ccid_serial.c:319:ReadSerial() frame size: 10
[36m00000033[0m ccid_serial.c:361:get_bytes() available: 6, needed: 5
[36m00000027[0m ccid_serial.c:365:get_bytes() data available
[36m00000062[0m frame: 81 00 00 00 00 00 02 01 00 01
[36m00000034[0m ccid_serial.c:326:ReadSerial() lrc
[36m00000031[0m ccid_serial.c:361:get_bytes() available: 1, needed: 1
[36m00000029[0m ccid_serial.c:365:get_bytes() data available
[36m00000031[0m ccid_serial.c:330:ReadSerial() lrc: 0x86
[36m00000050[0m [34mifdhandler.c:381:IFDHGetCapabilities() tag: 0xFB3, /dev/ttyAMA0:SEC1210 (lun: 0)[0m
[36m00000038[0m [34mreaderfactory.c:391:RFAddReader() Using the pcscd polling thread[0m
[36m00000037[0m ifdhandler.c:1821:IFDHICCPresence() /dev/ttyAMA0:SEC1210 (lun: 0)
[36m00000082[0m -> 000000 03 06 65 00 00 00 00 00 03 00 00 00 63
[36m00000074[0m ccid_serial.c:235:ReadSerial() start
[36m00000039[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000034[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00005447[0m <- 000000 03 06 81 00 00 00 00 00 03 01 00 01 87
[36m00000093[0m ccid_serial.c:457:ReadChunk() read: 13, to read: 1
[36m00000047[0m ccid_serial.c:397:get_bytes() offset: 1, last_offset: 13
[36m00000033[0m ccid_serial.c:275:ReadSerial() sync
[36m00000037[0m ccid_serial.c:361:get_bytes() available: 12, needed: 1
[36m00000031[0m ccid_serial.c:365:get_bytes() data available
[36m00000033[0m ccid_serial.c:305:ReadSerial() ack
[36m00000029[0m ccid_serial.c:361:get_bytes() available: 11, needed: 5
[36m00000030[0m ccid_serial.c:365:get_bytes() data available
[36m00000031[0m ccid_serial.c:319:ReadSerial() frame size: 10
[36m00000030[0m ccid_serial.c:361:get_bytes() available: 6, needed: 5
[36m00000029[0m ccid_serial.c:365:get_bytes() data available
[36m00000061[0m frame: 81 00 00 00 00 00 03 01 00 01
[36m00000032[0m ccid_serial.c:326:ReadSerial() lrc
[36m00000033[0m ccid_serial.c:361:get_bytes() available: 1, needed: 1
[36m00000029[0m ccid_serial.c:365:get_bytes() data available
[36m00000033[0m ccid_serial.c:330:ReadSerial() lrc: 0x87
[36m00000033[0m ifdhandler.c:1942:IFDHICCPresence() Card present
[36m00000524[0m [34mifdhandler.c:381:IFDHGetCapabilities() tag: 0xFAE, /dev/ttyAMA0:SEC1210 (lun: 0)[0m
[36m00000069[0m [34mifdhandler.c:476:IFDHGetCapabilities() Reader supports 2 slot(s)[0m
[36m00000063[0m [34mifdhandler.c:381:IFDHGetCapabilities() tag: 0xFAC, /dev/ttyAMA0:SEC1210 (lun: 0)[0m
[36m00000041[0m [34mreaderfactory.c:1075:RFInitializeReader() Attempting startup of Microchip SEC1210 00 01 using /usr/lib/pcsc/drivers/serial/libccidtwin.so[0m
[36m00000039[0m [34mreaderfactory.c:864:RFLoadReader() Reusing already loaded driver for /usr/lib/pcsc/drivers/serial/libccidtwin.so[0m
[36m00000113[0m [34mreaderfactory.c:950:RFBindFunctions() Loading IFD Handler 3.0[0m
[36m00000285[0m [34mifdhandler.c:110:CreateChannelByNameOrChannel() Lun: 1, device: /dev/ttyAMA0[0m
[36m00000056[0m ccid_serial.c:698:OpenSerialByName() Reader index: 1, Device: /dev/ttyAMA0
[36m00006602[0m ccid_serial.c:539:set_ccid_descriptor() /dev/ttyAMA0 already used. Multi-slot reader?
[36m00000371[0m [34mccid_serial.c:559:set_ccid_descriptor() Opening slot: 1[0m
[36m00000734[0m -> 000001 03 06 65 00 00 00 00 01 04 00 00 00 65
[36m00001134[0m ccid_serial.c:235:ReadSerial() start
[36m00001170[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000697[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m03003221[0m ccid_serial.c:442:ReadChunk() Timeout! (3000 ms)
[36m00000397[0m -> 000001 03 06 65 00 00 00 00 01 05 00 00 00 64
[36m00000104[0m ccid_serial.c:235:ReadSerial() start
[36m00000046[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000035[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00100272[0m ccid_serial.c:442:ReadChunk() Timeout! (100 ms)
[36m00000389[0m -> 000001 03 06 65 00 00 00 00 01 06 00 00 00 67
[36m00000231[0m ccid_serial.c:235:ReadSerial() start
[36m00000187[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000951[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00102229[0m ccid_serial.c:442:ReadChunk() Timeout! (100 ms)
[36m00000106[0m [01;31mifdhandler.c:194:CreateChannelByNameOrChannel() failed[0m
[36m00000049[0m ccid_serial.c:911:CloseSerial() Closing serial device: /dev/ttyAMA0
[36m00000139[0m ifdhandler.c:1821:IFDHICCPresence() /dev/ttyAMA0:SEC1210 (lun: 0)
[36m00000106[0m -> 000000 03 06 65 00 00 00 00 00 07 00 00 00 67
[36m00000081[0m ccid_serial.c:235:ReadSerial() start
[36m00000045[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000034[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00000365[0m [01;31mreaderfactory.c:1106:RFInitializeReader() Open Port 0x0 Failed (/dev/ttyAMA0)[0m
[36m00000082[0m readerfactory.c:610:RFRemoveReader() UnrefReader() count was: 1
[36m00000043[0m [34meventhandler.c:173:EHDestroyEventHandler() Stomping thread.[0m
[36m00001889[0m <- 000000 03 06 81 00 00 00 00 00
[36m00000079[0m ccid_serial.c:457:ReadChunk() read: 8, to read: 1
[36m00000044[0m ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
[36m00000033[0m ccid_serial.c:275:ReadSerial() sync
[36m00000037[0m ccid_serial.c:361:get_bytes() available: 7, needed: 1
[36m00000030[0m ccid_serial.c:365:get_bytes() data available
[36m00000030[0m ccid_serial.c:305:ReadSerial() ack
[36m00000029[0m ccid_serial.c:361:get_bytes() available: 6, needed: 5
[36m00000030[0m ccid_serial.c:365:get_bytes() data available
[36m00000031[0m ccid_serial.c:319:ReadSerial() frame size: 10
[36m00000030[0m ccid_serial.c:361:get_bytes() available: 1, needed: 5
[36m00000030[0m ccid_serial.c:378:get_bytes() some data available: 1
[36m00000029[0m ccid_serial.c:384:get_bytes() get more data: 4
[36m00000993[0m <- 000000 07 01 00 01 83
[36m00000076[0m ccid_serial.c:457:ReadChunk() read: 5, to read: 4
[36m00000039[0m ccid_serial.c:397:get_bytes() offset: 4, last_offset: 5
[36m00000066[0m frame: 81 00 00 00 00 00 07 01 00 01
[36m00000035[0m ccid_serial.c:326:ReadSerial() lrc
[36m00000034[0m ccid_serial.c:361:get_bytes() available: 1, needed: 1
[36m00000032[0m ccid_serial.c:365:get_bytes() data available
[36m00000034[0m ccid_serial.c:330:ReadSerial() lrc: 0x83
[36m00000035[0m ifdhandler.c:1942:IFDHICCPresence() Card present
[36m00000079[0m ifdhandler.c:1821:IFDHICCPresence() /dev/ttyAMA0:SEC1210 (lun: 0)
[36m00000091[0m -> 000000 03 06 65 00 00 00 00 00 08 00 00 00 68
[36m00000074[0m ccid_serial.c:235:ReadSerial() start
[36m00000043[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000033[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00002362[0m <- 000000 03 06 81 00 00 00 00 00
[36m00000073[0m ccid_serial.c:457:ReadChunk() read: 8, to read: 1
[36m00000042[0m ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
[36m00000034[0m ccid_serial.c:275:ReadSerial() sync
[36m00000035[0m ccid_serial.c:361:get_bytes() available: 7, needed: 1
[36m00000032[0m ccid_serial.c:365:get_bytes() data available
[36m00000281[0m ccid_serial.c:305:ReadSerial() ack
[36m00000060[0m ccid_serial.c:361:get_bytes() available: 6, needed: 5
[36m00000034[0m ccid_serial.c:365:get_bytes() data available
[36m00001042[0m ccid_serial.c:319:ReadSerial() frame size: 10
[36m00000048[0m ccid_serial.c:361:get_bytes() available: 1, needed: 5
[36m00000034[0m ccid_serial.c:378:get_bytes() some data available: 1
[36m00000035[0m ccid_serial.c:384:get_bytes() get more data: 4
[36m00000124[0m <- 000000 08 01 00 01 8C
[36m00000043[0m ccid_serial.c:457:ReadChunk() read: 5, to read: 4
[36m00000034[0m ccid_serial.c:397:get_bytes() offset: 4, last_offset: 5
[36m00000066[0m frame: 81 00 00 00 00 00 08 01 00 01
[36m00000034[0m ccid_serial.c:326:ReadSerial() lrc
[36m00000032[0m ccid_serial.c:361:get_bytes() available: 1, needed: 1
[36m00000033[0m ccid_serial.c:365:get_bytes() data available
[36m00000305[0m ccid_serial.c:330:ReadSerial() lrc: 0x8C
[36m00000053[0m ifdhandler.c:1942:IFDHICCPresence() Card present
[36m00000053[0m [34mifdhandler.c:1154:IFDHPowerICC() action: PowerUp, /dev/ttyAMA0:SEC1210 (lun: 0)[0m
[36m00000089[0m -> 000000 03 06 62 00 00 00 00 00 09 01 00 00 6F
[36m00000073[0m ccid_serial.c:235:ReadSerial() start
[36m00000043[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000036[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00034649[0m <- 000000 03 06 80 00 00 00 00 00 09 41 FE 00 33
[36m00000103[0m ccid_serial.c:457:ReadChunk() read: 13, to read: 1
[36m00000043[0m ccid_serial.c:397:get_bytes() offset: 1, last_offset: 13
[36m00000034[0m ccid_serial.c:275:ReadSerial() sync
[36m00000038[0m ccid_serial.c:361:get_bytes() available: 12, needed: 1
[36m00000031[0m ccid_serial.c:365:get_bytes() data available
[36m00000032[0m ccid_serial.c:305:ReadSerial() ack
[36m00000033[0m ccid_serial.c:361:get_bytes() available: 11, needed: 5
[36m00000031[0m ccid_serial.c:365:get_bytes() data available
[36m00000030[0m ccid_serial.c:319:ReadSerial() frame size: 10
[36m00000031[0m ccid_serial.c:361:get_bytes() available: 6, needed: 5
[36m00000029[0m ccid_serial.c:365:get_bytes() data available
[36m00000060[0m frame: 80 00 00 00 00 00 09 41 FE 00
[36m00000030[0m ccid_serial.c:326:ReadSerial() lrc
[36m00000032[0m ccid_serial.c:361:get_bytes() available: 1, needed: 1
[36m00000032[0m ccid_serial.c:365:get_bytes() data available
[36m00000033[0m ccid_serial.c:330:ReadSerial() lrc: 0x33
[36m00000035[0m [35mcommands.c:249:CmdPowerOn Card absent or mute[0m
[36m00000034[0m [34mcommands.c:278:CmdPowerOn() Power up with 5V failed. Try with auto.[0m
[36m00000081[0m -> 000000 03 06 62 00 00 00 00 00 0A 03 00 00 6E
[36m00000073[0m ccid_serial.c:235:ReadSerial() start
[36m00000039[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000034[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00032932[0m <- 000000 03 06 80 00 00 00 00 00
[36m00000101[0m ccid_serial.c:457:ReadChunk() read: 8, to read: 1
[36m00000046[0m ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
[36m00000036[0m ccid_serial.c:275:ReadSerial() sync
[36m00000037[0m ccid_serial.c:361:get_bytes() available: 7, needed: 1
[36m00000032[0m ccid_serial.c:365:get_bytes() data available
[36m00000030[0m ccid_serial.c:305:ReadSerial() ack
[36m00000031[0m ccid_serial.c:361:get_bytes() available: 6, needed: 5
[36m00000030[0m ccid_serial.c:365:get_bytes() data available
[36m00000032[0m ccid_serial.c:319:ReadSerial() frame size: 10
[36m00000030[0m ccid_serial.c:361:get_bytes() available: 1, needed: 5
[36m00000031[0m ccid_serial.c:378:get_bytes() some data available: 1
[36m00000030[0m ccid_serial.c:384:get_bytes() get more data: 4
[36m00000651[0m <- 000000 0A 41 FE 00 30
[36m00000075[0m ccid_serial.c:457:ReadChunk() read: 5, to read: 4
[36m00000042[0m ccid_serial.c:397:get_bytes() offset: 4, last_offset: 5
[36m00000064[0m frame: 80 00 00 00 00 00 0A 41 FE 00
[36m00000035[0m ccid_serial.c:326:ReadSerial() lrc
[36m00000036[0m ccid_serial.c:361:get_bytes() available: 1, needed: 1
[36m00000031[0m ccid_serial.c:365:get_bytes() data available
[36m00000031[0m ccid_serial.c:330:ReadSerial() lrc: 0x30
[36m00000037[0m [35mcommands.c:249:CmdPowerOn Card absent or mute[0m
[36m00000034[0m [34mcommands.c:278:CmdPowerOn() Power up with 1.8V failed. Try with 3V.[0m
[36m00000080[0m -> 000000 03 06 62 00 00 00 00 00 0B 02 00 00 6E
[36m00000070[0m ccid_serial.c:235:ReadSerial() start
[36m00000039[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000037[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00032924[0m <- 000000 03 06 80 00 00 00 00 00
[36m00000103[0m ccid_serial.c:457:ReadChunk() read: 8, to read: 1
[36m00000043[0m ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
[36m00000033[0m ccid_serial.c:275:ReadSerial() sync
[36m00000038[0m ccid_serial.c:361:get_bytes() available: 7, needed: 1
[36m00000032[0m ccid_serial.c:365:get_bytes() data available
[36m00000030[0m ccid_serial.c:305:ReadSerial() ack
[36m00000033[0m ccid_serial.c:361:get_bytes() available: 6, needed: 5
[36m00000028[0m ccid_serial.c:365:get_bytes() data available
[36m00000031[0m ccid_serial.c:319:ReadSerial() frame size: 10
[36m00000030[0m ccid_serial.c:361:get_bytes() available: 1, needed: 5
[36m00000033[0m ccid_serial.c:378:get_bytes() some data available: 1
[36m00000030[0m ccid_serial.c:384:get_bytes() get more data: 4
[36m00000270[0m <- 000000 0B 41 FE 00 31
[36m00000052[0m ccid_serial.c:457:ReadChunk() read: 5, to read: 4
[36m00000040[0m ccid_serial.c:397:get_bytes() offset: 4, last_offset: 5
[36m00000060[0m frame: 80 00 00 00 00 00 0B 41 FE 00
[36m00000032[0m ccid_serial.c:326:ReadSerial() lrc
[36m00000035[0m ccid_serial.c:361:get_bytes() available: 1, needed: 1
[36m00000030[0m ccid_serial.c:365:get_bytes() data available
[36m00000032[0m ccid_serial.c:330:ReadSerial() lrc: 0x31
[36m00000034[0m [35mcommands.c:249:CmdPowerOn Card absent or mute[0m
[36m00000037[0m [34mcommands.c:278:CmdPowerOn() Power up with 3V failed. Try with 5V.[0m
[36m00000034[0m [01;31mifdhandler.c:1221:IFDHPowerICC() PowerUp failed[0m
[36m00000093[0m [34mifdhandler.c:381:IFDHGetCapabilities() tag: 0xFB1, /dev/ttyAMA0:SEC1210 (lun: 0)[0m
[36m00000058[0m [34mifdhandler.c:381:IFDHGetCapabilities() tag: 0xFB2, /dev/ttyAMA0:SEC1210 (lun: 0)[0m
[36m00000041[0m [34meventhandler.c:202:EHDestroyEventHandler() Waiting polling thread[0m
[36m00000092[0m eventhandler.c:302:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
[36m00000051[0m [35meventhandler.c:303:EHStatusHandlerThread() Error powering up card: -2146435050 0x80100016[0m
[36m00000048[0m ifdhandler.c:1821:IFDHICCPresence() /dev/ttyAMA0:SEC1210 (lun: 0)
[36m00000084[0m -> 000000 03 06 65 00 00 00 00 00 0C 00 00 00 6C
[36m00000075[0m ccid_serial.c:235:ReadSerial() start
[36m00000045[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000034[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00003203[0m <- 000000 03 06 81 00 00 00 00 00 0C 01 00 01 88
[36m00000074[0m ccid_serial.c:457:ReadChunk() read: 13, to read: 1
[36m00000042[0m ccid_serial.c:397:get_bytes() offset: 1, last_offset: 13
[36m00000036[0m ccid_serial.c:275:ReadSerial() sync
[36m00000034[0m ccid_serial.c:361:get_bytes() available: 12, needed: 1
[36m00000029[0m ccid_serial.c:365:get_bytes() data available
[36m00000031[0m ccid_serial.c:305:ReadSerial() ack
[36m00000030[0m ccid_serial.c:361:get_bytes() available: 11, needed: 5
[36m00000028[0m ccid_serial.c:365:get_bytes() data available
[36m00000030[0m ccid_serial.c:319:ReadSerial() frame size: 10
[36m00000032[0m ccid_serial.c:361:get_bytes() available: 6, needed: 5
[36m00000028[0m ccid_serial.c:365:get_bytes() data available
[36m00000061[0m frame: 81 00 00 00 00 00 0C 01 00 01
[36m00000032[0m ccid_serial.c:326:ReadSerial() lrc
[36m00000033[0m ccid_serial.c:361:get_bytes() available: 1, needed: 1
[36m00000029[0m ccid_serial.c:365:get_bytes() data available
[36m00000031[0m ccid_serial.c:330:ReadSerial() lrc: 0x88
[36m00000035[0m ifdhandler.c:1942:IFDHICCPresence() Card present
[36m00400186[0m [34meventhandler.c:502:EHStatusHandlerThread() Die[0m
[36m00001733[0m [34meventhandler.c:213:EHDestroyEventHandler() Thread stomped.[0m
[36m00000082[0m [34mreaderfactory.c:1126:RFUnInitializeReader() Attempting shutdown of Microchip SEC1210 00 00.[0m
[36m00000047[0m [34mifdhandler.c:284:IFDHCloseChannel() /dev/ttyAMA0:SEC1210 (lun: 0)[0m
[36m00000092[0m -> 000000 03 06 63 00 00 00 00 00 0D 00 00 00 6B
[36m00000083[0m ccid_serial.c:235:ReadSerial() start
[36m00000045[0m ccid_serial.c:361:get_bytes() available: 0, needed: 1
[36m00000034[0m ccid_serial.c:384:get_bytes() get more data: 1
[36m00002360[0m <- 000000 03 06 81 00 00 00 00 00
[36m00000080[0m ccid_serial.c:457:ReadChunk() read: 8, to read: 1
[36m00000285[0m ccid_serial.c:397:get_bytes() offset: 1, last_offset: 8
[36m00000054[0m ccid_serial.c:275:ReadSerial() sync
[36m00000040[0m ccid_serial.c:361:get_bytes() available: 7, needed: 1
[36m00000033[0m ccid_serial.c:365:get_bytes() data available
[36m00000031[0m ccid_serial.c:305:ReadSerial() ack
[36m00000030[0m ccid_serial.c:361:get_bytes() available: 6, needed: 5
[36m00000030[0m ccid_serial.c:365:get_bytes() data available
[36m00000680[0m ccid_serial.c:319:ReadSerial() frame size: 10
[36m00000044[0m ccid_serial.c:361:get_bytes() available: 1, needed: 5
[36m00000037[0m ccid_serial.c:378:get_bytes() some data available: 1
[36m00000031[0m ccid_serial.c:384:get_bytes() get more data: 4
[36m00000122[0m <- 000000 0D 01 00 01 89
[36m00000042[0m ccid_serial.c:457:ReadChunk() read: 5, to read: 4
[36m00000034[0m ccid_serial.c:397:get_bytes() offset: 4, last_offset: 5
[36m00000062[0m frame: 81 00 00 00 00 00 0D 01 00 01
[36m00000034[0m ccid_serial.c:326:ReadSerial() lrc
[36m00000032[0m ccid_serial.c:361:get_bytes() available: 1, needed: 1
[36m00000032[0m ccid_serial.c:365:get_bytes() data available
[36m00000031[0m ccid_serial.c:330:ReadSerial() lrc: 0x89
[36m00000038[0m ccid_serial.c:911:CloseSerial() Closing serial device: /dev/ttyAMA0
[36m00000032[0m ccid_serial.c:919:CloseSerial() Last slot closed. Release resources
[36m00000591[0m readerfactory.c:610:RFRemoveReader() UnrefReader() count was: 1
[36m00000078[0m [34mreaderfactory.c:1126:RFUnInitializeReader() Attempting shutdown of Microchip SEC1210 00 01.[0m
[36m00000039[0m [34mreaderfactory.c:987:RFUnloadReader() Unloading reader driver.[0m
[36m00000284[0m [34mpcscdaemon.c:662:main() pcsc-lite 1.8.23 daemon ready.[0m
[36m00031938[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
[36m00003587[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
[36m00003140[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0409, PID: 0x005A, path: /dev/bus/usb/001/002
[36m00002909[0m hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x9710, PID: 0x7832, path: /dev/bus/usb/001/003
[36m00004272[0m 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