Newer
Older
TTXS - A CCID firmware implementation
Serial
============= /etc/reader.conf.d/libccidtwin
DEVICENAME /dev/ttyACM0:ttxs
FRIENDLYNAME "TTXS serial"
LIBPATH /usr/lib/pcsc/drivers/serial/libccidtwin.so
=============
# stty -F /dev/ttyACM0 raw -echo cstopb -parenb cs8 115200
# LIBCCID_ifdLogLevel=0xffff pcscd -f --debug
USB:
In my Debian system, I put this lines to the file
/etc/udev/rules.d/61-ttxs.rules:
===============================
SUBSYSTEM=="usb", ATTR{idVendor}="234b", ATTR{idProduct}=="0005", MODE="664", \
ENV{ID_SMARTCARD_READER}="1", ENV{ID_SMARTCARD_READER_DRIVER}="gnupg"
===============================
This software is only tested against OpenPGP card.
OpenPGP card ATR is:
3b ; TS
da ; T0 : TA1 TC1 TD1 available, historycal bytes = 10-byte long
18 ; TA1 : F = 372 (max 5MHz), D = 8
ff ; TC1 : guard time = 1 etu for T=1, 2 etu for T=0
b1 ; TD2 : TA3, TB3, TD3 available, T=1
fe ; TA3 : IFSC = 254
75 ; TB3 : BWI = 7, CWI = 5
1f ; TD3 : TA4 available, T=15
03 ; TA4 : 3.3V and 5V, no clock stopping
00 31 f5 73 c0 01 60 00 90 00; historycal bytes
1c ; check byte
Absence of TA2 means, it is in the "negotiable mode" to accept a PTS
(Protocol Type Selection) command.