/[pcsclite]/trunk/Drivers/ccid
ViewVC logotype

Log of /trunk/Drivers/ccid

View Directory Listing Directory Listing


Sticky Revision:

Revision 1504 - Directory Listing
Modified Wed May 4 06:14:52 2005 UTC (8 years ago) by rousseau
 #define SCR331DINTTCOM 0x04E65120

Revision 1503 - Directory Listing
Modified Wed May 4 06:04:50 2005 UTC (8 years ago) by rousseau
add the manufacturer name in the reader name

Revision 1496 - Directory Listing
Modified Mon May 2 13:37:13 2005 UTC (8 years ago) by rousseau
typo in the data rates list

Revision 1495 - Directory Listing
Modified Mon May 2 13:28:30 2005 UTC (8 years ago) by rousseau
T0_card_timeout()/T1_card_timeout(): use ceil() to round the timeout

Revision 1494 - Directory Listing
Modified Mon May 2 12:07:13 2005 UTC (8 years ago) by rousseau
ccid_error(): function is (const char *) instead of (char *) to avoid a
"warning: passing arg 4 of `ccid_error' discards qualifiers from pointer
target type" using gcc 3.4

Revision 1493 - Directory Listing
Modified Mon May 2 11:47:15 2005 UTC (8 years ago) by rousseau
regenerate using the new parse command

Revision 1492 - Directory Listing
Modified Mon May 2 11:36:08 2005 UTC (8 years ago) by rousseau
CmdEscape(): replay the command if we receive STATUS_COMM_NAK

Revision 1491 - Directory Listing
Modified Mon May 2 11:33:04 2005 UTC (8 years ago) by rousseau
ReadSerial(): if we get a NAK we return STATUS_COMM_NAK to the above
layer to replay the command instead of just restarting the read

Revision 1490 - Directory Listing
Modified Mon May 2 11:31:11 2005 UTC (8 years ago) by rousseau
add STATUS_COMM_NAK

Revision 1489 - Directory Listing
Modified Mon May 2 09:55:31 2005 UTC (8 years ago) by rousseau
display the clock frequencies supported by the reader

Revision 1488 - Directory Listing
Modified Mon May 2 09:53:24 2005 UTC (8 years ago) by rousseau
move the display of supported data rates after printing
bNumDataRatesSupported info

Revision 1487 - Directory Listing
Modified Mon May 2 09:21:56 2005 UTC (8 years ago) by rousseau
IFDHSetProtocolParameters(): check if the baud rate is present in the
baud rates list only if the list is present. Otherwise we use the old
behavior.

Revision 1486 - Directory Listing
Modified Mon May 2 09:19:36 2005 UTC (8 years ago) by rousseau
get_data_rates(): if the reader do not support GET DATA RATES we return
NULL instead of a manually constructed/fake list

Revision 1485 - Directory Listing
Modified Mon May 2 09:17:53 2005 UTC (8 years ago) by rousseau
Open*ByName(): initialise dwMaxDataRate field

Revision 1484 - Directory Listing
Modified Mon May 2 09:16:26 2005 UTC (8 years ago) by rousseau
add dwMaxDataRate field (again)

Revision 1483 - Directory Listing
Modified Mon May 2 08:30:57 2005 UTC (8 years ago) by rousseau
get_data_rates(): check that the reader sends a DATA RATES list size
multiple of 4 othewise it is an error

Revision 1482 - Directory Listing
Modified Mon May 2 08:24:57 2005 UTC (8 years ago) by rousseau
display the bit value of dwFeatures in the text message

Revision 1481 - Directory Listing
Modified Mon May 2 08:21:47 2005 UTC (8 years ago) by rousseau
test all the 4 bytes of dwFeatures against 0 and not just the first one

Revision 1480 - Directory Listing
Modified Mon May 2 08:20:10 2005 UTC (8 years ago) by rousseau
do not display the list returned by GET DATA RATES if the list size is
not a multiple of 4 (n % 4 != 0)

Revision 1479 - Directory Listing
Modified Wed Apr 27 14:10:38 2005 UTC (8 years ago) by rousseau
Open*ByName: do not initialise the now disappeared .dwMaxDataRate field

Revision 1478 - Directory Listing
Modified Wed Apr 27 14:09:16 2005 UTC (8 years ago) by rousseau
_ccid_descriptor: remove the now useless dwMaxDataRate field

Revision 1477 - Directory Listing
Modified Wed Apr 27 14:08:35 2005 UTC (8 years ago) by rousseau
IFDHSetProtocolParameters(): we do not check if (card_baudrate <=
ccid_desc->dwMaxDataRate) since find_baud_rate() will tell us if the
speed is supported or not by the reader

Revision 1476 - Directory Listing
Modified Wed Apr 27 14:04:38 2005 UTC (8 years ago) by rousseau
get_data_rates(): if the CCID command GET DATA RATES is nto supported
the array of supported rates contains only the default and max data
rates

Revision 1475 - Directory Listing
Modified Wed Apr 27 13:55:52 2005 UTC (8 years ago) by rousseau
get_data_rates(): test if int_array is NULL (and not buffer)

Revision 1474 - Directory Listing
Modified Wed Apr 27 13:40:54 2005 UTC (8 years ago) by rousseau
add the new or missing readers

Revision 1473 - Directory Listing
Modified Wed Apr 27 13:36:01 2005 UTC (8 years ago) by rousseau
version 0.9.4

Revision 1472 - Directory Listing
Modified Wed Apr 27 13:35:19 2005 UTC (8 years ago) by rousseau
OpenSerialByName(): inhibit the Plug-n-Play string by setting the RTS
signal to low. Mainly useful for the GemPC Card (PCMCIA)

Revision 1471 - Directory Listing
Modified Wed Apr 27 13:23:06 2005 UTC (8 years ago) by rousseau
Verisign Secure Storage Token

Revision 1470 - Directory Listing
Modified Wed Apr 27 13:22:41 2005 UTC (8 years ago) by rousseau
Verisign Secure Token (without mass memory)

Revision 1469 - Directory Listing
Modified Wed Apr 27 13:22:03 2005 UTC (8 years ago) by rousseau
add Verisign Secure Token and VeriSign Secure Storage Token

Revision 1468 - Directory Listing
Modified Wed Apr 27 13:21:32 2005 UTC (8 years ago) by rousseau
display the supported data rates using the CCID command GET DATA RATES

Revision 1467 - Directory Listing
Modified Wed Apr 27 13:20:39 2005 UTC (8 years ago) by rousseau
get_data_rates(): use the real interface number instead of 0

Revision 1460 - Directory Listing
Modified Wed Apr 27 12:11:47 2005 UTC (8 years ago) by rousseau
get_data_rates(): buffer argument of usb_control_msg is (char *) and not
(unsigned char *)

Revision 1459 - Directory Listing
Modified Wed Apr 27 12:10:45 2005 UTC (8 years ago) by rousseau
get_data_rates() returns an unsigned int [] (not just int [])

Revision 1458 - Directory Listing
Modified Wed Apr 27 12:09:26 2005 UTC (8 years ago) by rousseau
SerialDataRates[] is unsigned

Revision 1454 - Directory Listing
Modified Tue Apr 26 14:35:50 2005 UTC (8 years ago) by rousseau
t1_xcv(): increase the read timeout if the card sends and WTX request

Revision 1453 - Directory Listing
Modified Tue Apr 26 14:34:52 2005 UTC (8 years ago) by rousseau
use the calculated read timeout instead of a fixed value

Revision 1452 - Directory Listing
Modified Tue Apr 26 14:33:43 2005 UTC (8 years ago) by rousseau
calculate and store the read timeout according to the card ATR instead
of using a fixed value of 60 seconds

Revision 1451 - Directory Listing
Modified Tue Apr 26 14:30:38 2005 UTC (8 years ago) by rousseau
add T0_card_timeout() and T1_card_timeout()

Revision 1450 - Directory Listing
Modified Tue Apr 26 14:23:23 2005 UTC (8 years ago) by rousseau
 /* Default communication read timeout in seconds */
 #define DEFAULT_COM_READ_TIMEOUT 2

Revision 1449 - Directory Listing
Modified Tue Apr 26 14:22:50 2005 UTC (8 years ago) by rousseau
struct _ccid_descriptor: add unsigned int readTimeout field

Revision 1448 - Directory Listing
Modified Tue Apr 26 13:46:07 2005 UTC (8 years ago) by rousseau
IFDHSetProtocolParameters(): only use a data rate supported by the
reader in the PPS negociation, otherwise we stay at the default speed.

Revision 1447 - Directory Listing
Modified Tue Apr 26 13:44:08 2005 UTC (8 years ago) by rousseau
OpenSerialByName(): the reader does not support the Get Data Rates CCID
function so the list of supported data rates is hard coded.

Revision 1446 - Directory Listing
Modified Tue Apr 26 13:43:13 2005 UTC (8 years ago) by rousseau
OpenUSBByName(): get the list of data rates the reader supports

See 3.7.3 Get Data Rates (page 25) from CCID spec 1.00

Revision 1445 - Directory Listing
Modified Tue Apr 26 13:40:48 2005 UTC (8 years ago) by rousseau
struct _ccid_descriptor: add unsigned int *arrayOfSupportedDataRates field

Revision 1444 - Directory Listing
Modified Tue Apr 26 12:38:25 2005 UTC (8 years ago) by rousseau
OpenSerialByName(): set card movement notification in synchronous mde

Revision 1443 - Directory Listing
Modified Tue Apr 26 12:31:35 2005 UTC (8 years ago) by rousseau
we need pcsc-lite 1.2.9-beta7 and not just beta5 since we use the new
log API

Revision 1442 - Directory Listing
Modified Tue Apr 26 12:29:45 2005 UTC (8 years ago) by rousseau
extra_egt(): rewrite the function comment

Revision 1441 - Directory Listing
Modified Tue Apr 26 12:16:26 2005 UTC (8 years ago) by rousseau
extra_egt(): reuse the same baud rate calculation formula

Revision 1440 - Directory Listing
Modified Tue Apr 26 12:07:44 2005 UTC (8 years ago) by rousseau
extra_egt(): change two if() in one

Revision 1439 - Directory Listing
Modified Tue Apr 26 12:06:13 2005 UTC (8 years ago) by rousseau
change comments: TBi (i>2) is BWI/CWI not BWI/BCI

Revision 1438 - Directory Listing
Modified Mon Apr 25 13:34:27 2005 UTC (8 years ago) by rousseau
extra_egt(): some (bogus) cards require an extra EGT but the ATR does
not say so. We try to detect the bogus cards and set TC1=2

Revision 1437 - Directory Listing
Modified Mon Apr 25 13:12:24 2005 UTC (8 years ago) by rousseau
light code reformating

Revision 1436 - Directory Listing
Modified Fri Apr 22 09:04:44 2005 UTC (8 years, 1 month ago) by rousseau
add Eutron SIM Pocket Combo

Revision 1427 - Directory Listing
Modified Thu Apr 21 07:41:27 2005 UTC (8 years, 1 month ago) by rousseau
 #include <stdint.h> only if HAVE_STDINT_H is defined.
Some old FreeBSD do not have stdint.h.

Thanks to Tilman Linneweh for the patch

Revision 1426 - Directory Listing
Modified Wed Apr 13 21:39:15 2005 UTC (8 years, 1 month ago) by rousseau
Eutron SIM Pocket Combo
(the reader is dual slot and is seen as two readers)

Revision 1425 - Directory Listing
Modified Wed Apr 13 19:33:57 2005 UTC (8 years, 1 month ago) by rousseau
RSA SecurID SID800 Hardware Authenticator

Revision 1422 - Directory Listing
Modified Tue Apr 12 19:17:26 2005 UTC (8 years, 1 month ago) by rousseau
"Generic CCID reader" -> "Generic CCID driver"

Revision 1411 - Directory Listing
Modified Thu Mar 17 10:27:57 2005 UTC (8 years, 2 months ago) by rousseau
ccid_error(): use log_msg() instead of debug_msg()

Revision 1410 - Directory Listing
Modified Thu Mar 17 10:27:08 2005 UTC (8 years, 2 months ago) by rousseau
change debug_msg() in log_msg() and add the priority argument
same for debug_xxd() changed in log_xxd()

These functions are only used by the parse command and if the driver is
not used with pcsclite

Revision 1409 - Directory Listing
Modified Thu Mar 17 10:24:41 2005 UTC (8 years, 2 months ago) by rousseau
use pcsclite debuglog.h header file and use its Log?() macro instead of
debug_msg().

This adds color to the log messages because Log?() macros use log_msg()
instead of the deprecated debug_msg() function.

Revision 1408 - Directory Listing
Modified Thu Mar 17 10:22:18 2005 UTC (8 years, 2 months ago) by rousseau
init_driver(): use DEBUG_INFO2() instead of debug_msg()

Revision 1407 - Directory Listing
Modified Thu Mar 17 10:16:06 2005 UTC (8 years, 2 months ago) by rousseau
add "%option nounput" to avoid the compilation warning
"`yyunput' defined but not used"

Revision 1406 - Directory Listing
Modified Thu Mar 17 10:14:20 2005 UTC (8 years, 2 months ago) by rousseau
ATR_GetDefaultProtocol(): the message "no default protocol found in ATR.
Using T=0" is not CRITICAL but INFO only

Revision 1405 - Directory Listing
Modified Thu Mar 17 10:13:02 2005 UTC (8 years, 2 months ago) by rousseau
store & restore the value of LIBS around the macro
AC_CHECK_LIB(pcsclite,...) to avoid adding an automatic -lpcsclite to
LIBS

Revision 1404 - Directory Listing
Modified Thu Mar 17 10:11:14 2005 UTC (8 years, 2 months ago) by rousseau
do not check for SCardEstablishContext is the user does NOT want to use
pcsc-lite (with --disable-pcsclite)

Revision 1400 - Directory Listing
Modified Mon Mar 14 19:36:21 2005 UTC (8 years, 2 months ago) by rousseau
release 0.9.3

Revision 1399 - Directory Listing
Modified Mon Mar 14 18:56:53 2005 UTC (8 years, 2 months ago) by rousseau
change licence from GNU GPL to GNU LGPL

Revision 1398 - Directory Listing
Modified Mon Mar 14 18:48:56 2005 UTC (8 years, 2 months ago) by rousseau
version 0.9.3

Revision 1397 - Directory Listing
Modified Fri Mar 4 21:30:00 2005 UTC (8 years, 2 months ago) by rousseau
Add KAAN SIM III and KAAN mIDentity

Revision 1396 - Directory Listing
Modified Fri Mar 4 21:17:25 2005 UTC (8 years, 2 months ago) by rousseau
add HAVE_LIBPCSCLITE

Revision 1395 - Directory Listing
Modified Fri Mar 4 21:17:03 2005 UTC (8 years, 2 months ago) by rousseau
use $PCSC_LIBS instead of $PCSCLITE_LIBS since we used
PKG_CHECK_MODULES(PCSC, ...)

Revision 1394 - Directory Listing
Modified Fri Mar 4 21:07:01 2005 UTC (8 years, 2 months ago) by rousseau
add Kobil KAAN mIDentity in supported reader list

Revision 1393 - Directory Listing
Modified Fri Mar 4 11:14:16 2005 UTC (8 years, 2 months ago) by rousseau
add Kobil KAAN SIM III in supported readers list

Revision 1392 - Directory Listing
Modified Fri Mar 4 10:44:07 2005 UTC (8 years, 2 months ago) by rousseau
add SCR 3310

Revision 1391 - Directory Listing
Modified Fri Mar 4 10:31:52 2005 UTC (8 years, 2 months ago) by rousseau
SCR3310

Revision 1368 - Directory Listing
Modified Mon Feb 28 09:35:56 2005 UTC (8 years, 2 months ago) by rousseau
use ATR_t instead of ATR

Revision 1367 - Directory Listing
Modified Mon Feb 28 09:34:20 2005 UTC (8 years, 2 months ago) by rousseau
rename ATR struct to ATR_t do not conflict with ATR field defined by
PCSC/ifdhandler.h.
This allows compilation using tcc (Tiny C Compiler)

Revision 1361 - Directory Listing
Modified Sun Feb 27 21:13:39 2005 UTC (8 years, 2 months ago) by rousseau
check that we can link with libpcsclite needed by
examples/scardcontrol.c

Revision 1360 - Directory Listing
Modified Sun Feb 27 21:12:02 2005 UTC (8 years, 2 months ago) by rousseau
exits with an error if usbdropdir is not defined

Revision 1359 - Directory Listing
Modified Sun Feb 27 21:03:14 2005 UTC (8 years, 2 months ago) by rousseau
if /usr/local/lib/pkgconfig/libpcsclite.pc exists (default pcsc-lite
configuration) we exit telling the user to use
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure

Revision 1358 - Directory Listing
Modified Sun Feb 27 20:53:15 2005 UTC (8 years, 2 months ago) by rousseau
do not check for pkg-config since we can do without it

Revision 1356 - Directory Listing
Modified Fri Feb 25 17:29:50 2005 UTC (8 years, 2 months ago) by rousseau
typo: correct ICC by CCID where needed

Revision 1355 - Directory Listing
Modified Fri Feb 25 17:26:57 2005 UTC (8 years, 2 months ago) by rousseau
typo: used "ICC" instead of "CCID"

Revision 1354 - Directory Listing
Modified Fri Feb 25 17:25:44 2005 UTC (8 years, 2 months ago) by rousseau
IFDHSetProtocolParameters(): return immediately if the reader has the
bit CCID_CLASS_AUTO_PPS_PROP set since he will perform PPS and
SetParameters himself

Revision 1353 - Directory Listing
Modified Fri Feb 25 17:24:48 2005 UTC (8 years, 2 months ago) by rousseau
 #define CCID_CLASS_AUTO_PPS_PROP       0x00000040

Revision 1352 - Directory Listing
Modified Fri Feb 25 17:19:00 2005 UTC (8 years, 2 months ago) by rousseau
IFDHSetProtocolParameters(): calculate the value of pps[2] (TA1) even if
CCID_CLASS_AUTO_PPS_CUR bit is set and no PPS will be generated by the
driver since this value is also used later by the SetParameters()

Revision 1351 - Directory Listing
Modified Fri Feb 25 17:14:46 2005 UTC (8 years, 2 months ago) by rousseau
IFDHSetProtocolParameters(): use "card_baudrate <= ccid_desc->dwMaxDataRate"
instead of "card_baudrate < ccid_desc->dwMaxDataRate" to not miss the
maximum speed value

Revision 1350 - Directory Listing
Modified Fri Feb 25 08:20:35 2005 UTC (8 years, 2 months ago) by rousseau
we do not need to distribute mkinstalldirs

Revision 1349 - Directory Listing
Modified Fri Feb 25 08:15:27 2005 UTC (8 years, 2 months ago) by rousseau
define WITHOUT_PCSC=false when pcsclite _is_ used

Revision 1346 - Directory Listing
Modified Wed Feb 23 13:19:23 2005 UTC (8 years, 2 months ago) by rousseau
 #include <sys/time.h> instead of <time.h> to get correct definition of
struct timeval under Mac OS X

Revision 1343 - Directory Listing
Modified Wed Feb 23 12:15:54 2005 UTC (8 years, 2 months ago) by rousseau
if you use --disable-pcsclite and do _not_ want to see the logs sent to
stderr just #undef LOG_TO_STDERR

Revision 1342 - Directory Listing
Modified Wed Feb 23 12:08:51 2005 UTC (8 years, 2 months ago) by rousseau
if --disable-pcsclite is used we must link the library with debug.c
to provide debug_msg()

Revision 1341 - Directory Listing
Modified Wed Feb 23 09:59:59 2005 UTC (8 years, 2 months ago) by rousseau
use @PCSC_CFLAGS@ and @PCSC_LIBS@

Revision 1330 - Directory Listing
Modified Mon Feb 21 14:06:53 2005 UTC (8 years, 3 months ago) by rousseau
OpenSerialByName(): use tx_buffer[] = { 0x02 } insead of "\x02" since we
want 1 byte only and not a null-terminated string

Revision 1329 - Directory Listing
Modified Mon Feb 21 12:29:53 2005 UTC (8 years, 3 months ago) by rousseau
use @PCSC_CFLAGS@

Revision 1328 - Directory Listing
Modified Mon Feb 21 12:29:32 2005 UTC (8 years, 3 months ago) by rousseau
use pkg-config(1) to find everything related to pcsc-lite

if you installed pcsc-lite in /usr/local you may use
$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure

if you do not have pkg-config installed you may use
$ CFLAGS=-I/usr/local/include/PCSC ./configure

Revision 1327 - Directory Listing
Modified Sun Feb 20 14:34:42 2005 UTC (8 years, 3 months ago) by rousseau
add an "interface field" in _usbDevice. This value is set in OpenUSB()
and used in CloseUSB().

The struct usb_device structure is half "corrupted" after the USB device
is removed and we wanted to use it when when closing the driver after a
reader removal. This caused a crash with libusb 0.1.10.

Revision 1326 - Directory Listing
Modified Sun Feb 20 14:07:40 2005 UTC (8 years, 3 months ago) by rousseau
add Kobil KAAN Base & KAAN Advanced readers in the supported list

Revision 1325 - Directory Listing
Modified Sun Feb 20 14:03:07 2005 UTC (8 years, 3 months ago) by rousseau
Bogus_firmwares[]: add Kobil KAAN Base & KAAN Advanced readers

Revision 1324 - Directory Listing
Modified Sun Feb 20 14:01:19 2005 UTC (8 years, 3 months ago) by rousseau
add Kobil KAAN Base & KAAN Advanced readers

Revision 1323 - Directory Listing
Modified Sun Feb 20 14:00:46 2005 UTC (8 years, 3 months ago) by rousseau
firmware 0.37

Revision 1322 - Directory Listing
Modified Fri Feb 4 08:12:04 2005 UTC (8 years, 3 months ago) by rousseau
new firmware (but still with version 1.0) with the wMaxPacketSize bug removed

Revision 1321 - Directory Listing
Modified Wed Feb 2 18:46:45 2005 UTC (8 years, 3 months ago) by rousseau
move the ACR 38 from Unsupported to Supported list

Revision 1319 - Directory Listing
Modified Wed Jan 26 18:24:56 2005 UTC (8 years, 3 months ago) by rousseau
add the new or missing readers

Revision 1318 - Directory Listing
Modified Wed Jan 26 18:24:30 2005 UTC (8 years, 3 months ago) by rousseau
new readers descriptions

Revision 1317 - Directory Listing
Modified Thu Jan 20 19:54:12 2005 UTC (8 years, 4 months ago) by rousseau
add Cherry XX44 keyboard (SmartBoard G83-6744)

Revision 1316 - Directory Listing
Modified Thu Jan 20 19:51:21 2005 UTC (8 years, 4 months ago) by rousseau
add Cherry XX44 (SmartBoard G83-6744)

Revision 1314 - Directory Listing
Modified Thu Jan 13 10:48:47 2005 UTC (8 years, 4 months ago) by rousseau
move the SCM Micro readers from unsupported to supported list and
document how to upgrade the firmwares

Thanks to Torsten Maykranz for his support

Revision 1313 - Directory Listing
Modified Thu Jan 13 10:43:58 2005 UTC (8 years, 4 months ago) by rousseau
New model with firmware 5.14 (instead of 4.16)

Revision 1312 - Directory Listing
Modified Thu Jan 13 10:37:40 2005 UTC (8 years, 4 months ago) by rousseau
Bogus_firmwares[]: the 3 SMC readers had the same (cut-n-paste) USB
identification

Revision 1311 - Directory Listing
Modified Thu Jan 13 09:35:16 2005 UTC (8 years, 4 months ago) by rousseau
CmdXfrBlockCHAR_T0(): move a variable declaration at the beginning of
the function since ISO C89 forbids mixed declarations and code

Revision 1310 - Directory Listing
Modified Thu Jan 13 09:32:17 2005 UTC (8 years, 4 months ago) by rousseau
SecurePIN(): proprietary command to add the PIN code in the APDU without
any padding (this is not possible with the CCID specs).

Thanks to Martin Paljak for the patch.

Revision 1309 - Directory Listing
Modified Thu Jan 13 09:21:11 2005 UTC (8 years, 4 months ago) by rousseau
define SPR532 USB identification

Revision 1302 - Directory Listing
Modified Tue Jan 11 14:30:36 2005 UTC (8 years, 4 months ago) by rousseau
typo: shat -> what

Revision 1301 - Directory Listing
Modified Sun Jan 9 21:29:57 2005 UTC (8 years, 4 months ago) by rousseau
SecurePIN(), CCID_Transmit(), SetParameters(): check that the user
provided command is not too large (avoid a possible buffer overflow)

Revision 1300 - Directory Listing
Modified Sun Jan 9 21:27:41 2005 UTC (8 years, 4 months ago) by rousseau
The APDU now comes _after_ the CCID structure as described the CCID
specifications.

Revision 1299 - Directory Listing
Modified Sun Jan 9 21:26:29 2005 UTC (8 years, 4 months ago) by rousseau
SecurePIN(): directly use the user buffer passed instead of reversing
the APDU/CCID structure. It is now as described in the CCID
specifications.

Thanks to Martin Paljak. I was wrong.

Revision 1298 - Directory Listing
Modified Sun Dec 19 17:13:27 2004 UTC (8 years, 5 months ago) by rousseau
SPR 532 firmware previous to 5.04 is bogus regarding min/max pin lengths

Revision 1297 - Directory Listing
Modified Sun Dec 19 17:09:05 2004 UTC (8 years, 5 months ago) by rousseau
update with firmware 5.04

Revision 1292 - Directory Listing
Modified Wed Oct 27 13:52:44 2004 UTC (8 years, 6 months ago) by rousseau
OpenSerialByName(): use %s instead of %d for dev_name

Revision 1290 - Directory Listing
Modified Wed Oct 20 13:57:38 2004 UTC (8 years, 7 months ago) by rousseau
set wPINMaxExtraDigit: set max to 8 (instead of 4) to differentiate it
from min (set to 4)

Revision 1289 - Directory Listing
Modified Wed Oct 20 13:56:25 2004 UTC (8 years, 7 months ago) by rousseau
in wPINMaxExtraDigit the bytes order is max,min and not min,max.
The comments were wrong

Revision 1288 - Directory Listing
Modified Tue Oct 19 08:41:49 2004 UTC (8 years, 7 months ago) by rousseau
add Oz776

Revision 1287 - Directory Listing
Modified Tue Oct 19 08:40:42 2004 UTC (8 years, 7 months ago) by rousseau
check firmware version to avoid firmwares with bugs. You can still use a
bigus firmware by setting DRIVER_OPTION_USE_BOGUS_FIRMWARE in Info.plist

Revision 1286 - Directory Listing
Modified Tue Oct 19 07:22:07 2004 UTC (8 years, 7 months ago) by rousseau
Add support of character level communication (CCID_CLASS_CHARACTER).

Thanks to Jeffrey Dai

Revision 1285 - Directory Listing
Modified Thu Oct 14 14:33:39 2004 UTC (8 years, 7 months ago) by rousseau
add idVendor & idProduct using the new parse command

Revision 1284 - Directory Listing
Modified Thu Oct 7 20:58:19 2004 UTC (8 years, 7 months ago) by rousseau
reorganize the list and add Oz776S.txt

Revision 1283 - Directory Listing
Modified Thu Oct 7 20:40:15 2004 UTC (8 years, 7 months ago) by rousseau
O2Micro Oz776S USB Hub smartcard reader

Revision 1282 - Directory Listing
Modified Thu Oct 7 20:34:53 2004 UTC (8 years, 7 months ago) by rousseau
add idVendor & idProduct using the new parse command

Revision 1281 - Directory Listing
Modified Thu Oct 7 20:28:49 2004 UTC (8 years, 7 months ago) by rousseau
the first argument of get_desc() is lun instead of channel and the
function uses LunToReaderIndex() to get the reader index

Revision 1280 - Directory Listing
Modified Thu Oct 7 20:27:16 2004 UTC (8 years, 7 months ago) by rousseau
use lun instead of channel as first argument to get_desc() and use the
returned value to detect an error

Revision 1279 - Directory Listing
Modified Thu Oct 7 19:59:53 2004 UTC (8 years, 7 months ago) by rousseau
add idVendor & idProduct using the new parse command

Revision 1278 - Directory Listing
Modified Wed Oct 6 12:13:00 2004 UTC (8 years, 7 months ago) by rousseau
add idVendor & idProduct using the new parse command

Revision 1277 - Directory Listing
Modified Wed Oct 6 12:01:29 2004 UTC (8 years, 7 months ago) by rousseau
display idVendor and idProduct

Revision 1276 - Directory Listing
Modified Wed Oct 6 11:52:45 2004 UTC (8 years, 7 months ago) by rousseau
display USB bcdDevice field. Is it the device firmware release?

Revision 1275 - Directory Listing
Modified Wed Oct 6 11:42:41 2004 UTC (8 years, 7 months ago) by rousseau
add support of "Character level exchange"

Revision 1265 - Directory Listing
Modified Mon Oct 4 08:09:13 2004 UTC (8 years, 7 months ago) by rousseau
do not redefine PKG_CONFIG_PATH when checking the pcsc-lite version
since the variable is already defined a few lines above

Revision 1263 - Directory Listing
Modified Sun Oct 3 12:52:28 2004 UTC (8 years, 7 months ago) by rousseau
add "THIS PROGRAM IS NOT DESIGNED AS A TESTING TOOL!

Revision 1261 - Directory Listing
Modified Thu Sep 30 14:12:20 2004 UTC (8 years, 7 months ago) by rousseau
mask bStatus to get the ICC state since bSatus may also indicate
an error in b6-b7

Revision 1260 - Directory Listing
Modified Thu Sep 30 14:05:54 2004 UTC (8 years, 7 months ago) by rousseau
 #define CCID_CLASS_CHARACTER

Revision 1259 - Directory Listing
Modified Thu Sep 30 14:03:57 2004 UTC (8 years, 7 months ago) by rousseau
define OZ776 USB identification

Revision 1258 - Directory Listing
Modified Thu Sep 30 14:02:35 2004 UTC (8 years, 7 months ago) by rousseau
define CCID_ICC_STATUS_MASK and status states

Revision 1257 - Directory Listing
Modified Thu Sep 30 14:00:13 2004 UTC (8 years, 7 months ago) by rousseau
CmdGetSlotStatus(): card absent or mute is not an communication error
(even if the CCID command result indicates a command failure)

Revision 1256 - Directory Listing
Modified Thu Sep 30 13:57:07 2004 UTC (8 years, 7 months ago) by rousseau
get_ccid_usb_interface(): the O2Micro OZ776S reader has a wrong USB
descriptor. The extra[] field is associated with the last endpoint instead
of the main USB descriptor.

Revision 1254 - Directory Listing
Modified Wed Sep 29 08:08:39 2004 UTC (8 years, 7 months ago) by rousseau
use @AM_CPPFLAGS@ (defined by configure.in) instead of `pkg-config
libpcsclite --cflags` since PKG_CONFIG_PATH may not be correct here

Revision 1253 - Directory Listing
Modified Wed Sep 29 08:06:58 2004 UTC (8 years, 7 months ago) by rousseau
define AM_CPPFLAGS=`pkg-config libpcsclite --cflags` here since we also
defined/exported a "valid" PKG_CONFIG_PATH

Revision 1252 - Directory Listing
Modified Wed Sep 29 07:13:14 2004 UTC (8 years, 7 months ago) by rousseau
do not define parse_CFLAGS since AM_CPPFLAGS is already defined with the
same value

Revision 1251 - Directory Listing
Modified Wed Sep 29 07:04:55 2004 UTC (8 years, 7 months ago) by rousseau
try to find pkg-config files in /usr/local/lib/pkgconfig since pcsc-lite
installs them in this directory by default

Revision 1228 - Directory Listing
Modified Wed Sep 8 20:48:30 2004 UTC (8 years, 8 months ago) by rousseau
ccid_open_hack(): do not use a null terminated C string for the
TPDU->APDU switch command since the command is NOT a C string

Revision 1227 - Directory Listing
Modified Wed Sep 8 20:45:19 2004 UTC (8 years, 8 months ago) by rousseau
CmdPowerOn(): do not use a null terminated C string for the EMV->ISO
switch command since the command is NOT a C string

Revision 1226 - Directory Listing
Modified Wed Sep 8 20:41:24 2004 UTC (8 years, 8 months ago) by rousseau
switch the Cherry xx33 reader in ISO mode if power up in EMV mode fails.
Thanks to St�phane Durand for the bug report.

Revision 1225 - Directory Listing
Modified Wed Sep 8 20:40:05 2004 UTC (8 years, 8 months ago) by rousseau
 #define CHERRYXX33     0x046A0005

Revision 1213 - Directory Listing
Modified Fri Sep 3 19:42:37 2004 UTC (8 years, 8 months ago) by rousseau
IFDHSetProtocolParameters(): return the result value of SetParameters()
in case of error instead of always IFD_COMMUNICATION_ERROR.

This will allow to return IFD_NOT_SUPPORTED in some cases and avoid a
PTS negociation failure (and card ignored) in pcscd.

Revision 1212 - Directory Listing
Modified Fri Sep 3 19:39:34 2004 UTC (8 years, 8 months ago) by rousseau
SetParameters(): returns IFD_NOT_SUPPORTED if the CCID error is "command
not supported".

Revision 1196 - Directory Listing
Modified Tue Aug 24 07:58:01 2004 UTC (8 years, 9 months ago) by rousseau
IFDHSetProtocolParameters(): the bmTCCKST bits shall be _set_ not cleared

Revision 1195 - Directory Listing
Modified Tue Aug 24 07:34:10 2004 UTC (8 years, 9 months ago) by rousseau
IFDHSetProtocolParameters(): we shall indicate the T=1 checksum used
(LRC/CRC) in the SetParameters() command

Revision 1194 - Directory Listing
Modified Tue Aug 24 07:32:27 2004 UTC (8 years, 9 months ago) by rousseau
t1_negociate_ifsd: the frame size is 5 only for LRC checksum. The
correct size is (4 + t1->rc_bytes)

Revision 1193 - Directory Listing
Modified Tue Aug 24 07:30:21 2004 UTC (8 years, 9 months ago) by rousseau
ReleaseReaderIndex: return 0 since the function is not void ()

Revision 1189 - Directory Listing
Modified Tue Aug 17 16:56:19 2004 UTC (8 years, 9 months ago) by rousseau
use the official doctype, public and system ids. Thanks to Ville Skytt�
and OpenCT

Revision 1186 - Directory Listing
Modified Sun Aug 15 20:43:59 2004 UTC (8 years, 9 months ago) by rousseau
release 0.9.2

Revision 1185 - Directory Listing
Modified Sun Aug 15 19:08:51 2004 UTC (8 years, 9 months ago) by rousseau
use AM_CPPFLAGS = `pkg-config libpcsclite --cflags`

Revision 1184 - Directory Listing
Modified Sun Aug 15 19:08:25 2004 UTC (8 years, 9 months ago) by rousseau
no need to define HAVE_PCSC_IFDHANDLER_H (the check section changed in
configure.in)

Revision 1183 - Directory Listing
Modified Sun Aug 15 19:07:48 2004 UTC (8 years, 9 months ago) by rousseau
use `pkg-config libpcsclite --cflags` to locate ifdhandler.h and do not
use PCSC/ifdhandler.h but just ifdhandler.h

Revision 1165 - Directory Listing
Modified Tue Aug 10 15:38:46 2004 UTC (8 years, 9 months ago) by rousseau
place the "Known problems" near the affected reader and not in a
independent section for clarification

Revision 1160 - Directory Listing
Modified Fri Aug 6 13:29:00 2004 UTC (8 years, 9 months ago) by rousseau
try to IFDHCloseChannel() only if we opened at least one reader

Revision 1157 - Directory Listing
Modified Fri Aug 6 11:56:07 2004 UTC (8 years, 9 months ago) by rousseau
ccid_open_hack(): update the hack for the SCR331-DI contactless now we
use multi-slots

Revision 1156 - Directory Listing
Modified Fri Aug 6 11:32:01 2004 UTC (8 years, 9 months ago) by rousseau
IFDHICCPresence(): periodic debug message indicating the card presence/absence

Revision 1155 - Directory Listing
Modified Fri Aug 6 11:30:33 2004 UTC (8 years, 9 months ago) by rousseau
use a much cleaner way to check presence of a contactless card with a
multislot SCR331-DI reader

Revision 1154 - Directory Listing
Modified Fri Aug 6 11:25:46 2004 UTC (8 years, 9 months ago) by rousseau
IFDHICCPresence(): call get_ccid_descriptor() on reader_index instead of Lun

Revision 1153 - Directory Listing
Modified Fri Aug 6 11:23:59 2004 UTC (8 years, 9 months ago) by rousseau
FDHGetCapabilities() tag TAG_IFD_SLOT_THREAD_SAFE: Can NOT talk to
multiple slots at the same time (at least until it is fully validated)

Revision 1152 - Directory Listing
Modified Fri Aug 6 11:21:56 2004 UTC (8 years, 9 months ago) by rousseau
IFDHCreateChannel()/IFDHCreateChannelByName(): if the OpenPort() call
fails we ReleaseReaderIndex() and do not call ccid_open_hack()

Revision 1151 - Directory Listing
Modified Fri Aug 6 11:18:41 2004 UTC (8 years, 9 months ago) by rousseau
for multi-slots readers IFDHCreateChannel*()/OpenUSB is called for each
slot. If we are opening a new slot of an already opened reader we reuse
the same data (same libusb structures) and share the same pbSeq.

Revision 1150 - Directory Listing
Modified Fri Aug 6 11:13:25 2004 UTC (8 years, 9 months ago) by rousseau
use (*ccid_descriptor->pbSeq)++ instead of ccid_descriptor->bSeq++

Revision 1149 - Directory Listing
Modified Fri Aug 6 11:00:25 2004 UTC (8 years, 9 months ago) by rousseau
use pbSeq instead of bSeq

Revision 1148 - Directory Listing
Modified Fri Aug 6 10:57:06 2004 UTC (8 years, 9 months ago) by rousseau
replace "unsigned char bSeq" by "unsigned char *pbSeq" so that two slots
of a same reader can share the same sequence number

Revision 1147 - Directory Listing
Modified Fri Aug 6 10:19:48 2004 UTC (8 years, 9 months ago) by rousseau
use a dynamic timeout when reading the serial port.

The first timeout use when detecting the reader is 2 seconds to not wait
too long if no reader is connected. Later timeouts are set to 1 minute
to allow long time APDU.

Revision 1146 - Directory Listing
Modified Wed Aug 4 21:30:14 2004 UTC (8 years, 9 months ago) by rousseau
remove defaultFeatures management (was used for SCR331-DI hack)

Revision 1145 - Directory Listing
Modified Wed Aug 4 19:56:02 2004 UTC (8 years, 9 months ago) by rousseau
add "parse_CFLAGS = `pkg-config libpcsclite --cflags`" so that parse.c
can find and use <ifdhandler.h>

Revision 1144 - Directory Listing
Modified Wed Aug 4 19:53:34 2004 UTC (8 years, 9 months ago) by rousseau
do not use OpenUSB/CloseUSB but IFDHCreateChannel/IFDHCloseChannel to
use the ReaderIndex[] mechanism

Revision 1143 - Directory Listing
Modified Wed Aug 4 19:51:16 2004 UTC (8 years, 9 months ago) by rousseau
update copyright date (add 2004)

Revision 1142 - Directory Listing
Modified Wed Aug 4 19:50:45 2004 UTC (8 years, 9 months ago) by rousseau
LunToReaderIndex(): debug message when Lun is not found

Revision 1141 - Directory Listing
Modified Wed Aug 4 19:49:58 2004 UTC (8 years, 9 months ago) by rousseau
GetNewReaderIndex(): debug message when ReaderIndex[] is full

Revision 1140 - Directory Listing
Modified Wed Aug 4 19:48:33 2004 UTC (8 years, 9 months ago) by rousseau
GetNewReaderIndex(): store Lun in the first free ReaderIndex[] entry

Revision 1139 - Directory Listing
Modified Wed Aug 4 19:43:03 2004 UTC (8 years, 9 months ago) by rousseau
typo: Receivig -> Receiving

Revision 1138 - Directory Listing
Modified Wed Aug 4 19:42:18 2004 UTC (8 years, 9 months ago) by rousseau
PPS_Exchange(): do not recalculate the PPS length from the received PPS
but take it from the number of bytes actually received (it may not be
a PPS)

Revision 1107 - Directory Listing
Modified Wed Jul 28 08:36:57 2004 UTC (8 years, 9 months ago) by rousseau
use reader_index instead of lun as reader identification
allocate (in IFDHCreateChannel*) and release (in IFDHCloseChannel)

Revision 1106 - Directory Listing
Modified Wed Jul 28 08:33:18 2004 UTC (8 years, 9 months ago) by rousseau
use reader_index instead of lun as reader identification

Revision 1105 - Directory Listing
Modified Wed Jul 28 08:30:30 2004 UTC (8 years, 9 months ago) by rousseau
use a more complex Lun -> reader transformation
(Lun>>16) is not usable for multi-slots readers

Revision 1103 - Directory Listing
Modified Tue Jul 27 06:42:57 2004 UTC (8 years, 9 months ago) by rousseau
this code fails EMV test 1771-4 (should be a residue)

Revision 1102 - Directory Listing
Modified Mon Jul 26 13:41:14 2004 UTC (8 years, 9 months ago) by rousseau
- debug some cases
- add ISO 7816-3 rule number in comments

Revision 1101 - Directory Listing
Modified Mon Jul 26 09:16:16 2004 UTC (8 years, 9 months ago) by rousseau
initialise ccid.defaultFeatures field

Revision 1096 - Directory Listing
Modified Thu Jul 22 10:01:37 2004 UTC (8 years, 10 months ago) by rousseau
use pkg-config to test the release version of pcsc-lite

Revision 1095 - Directory Listing
Modified Wed Jul 21 09:04:04 2004 UTC (8 years, 10 months ago) by rousseau
version 0.9.2

Revision 1094 - Directory Listing
Modified Wed Jul 21 09:02:44 2004 UTC (8 years, 10 months ago) by rousseau
hack to support the SCR331-DI contactless interface

Revision 1093 - Directory Listing
Modified Wed Jul 21 09:01:11 2004 UTC (8 years, 10 months ago) by rousseau
ccid_open_hack(): detect and activate the contactless interface of the
SCR331-DI

Revision 1092 - Directory Listing
Modified Wed Jul 21 09:00:09 2004 UTC (8 years, 10 months ago) by rousseau
use bCurrentSlotIndex as the slot number in the CCID commands (instead of 0)

Revision 1091 - Directory Listing
Modified Wed Jul 21 08:59:28 2004 UTC (8 years, 10 months ago) by rousseau
initialise bMaxSlotIndex and ccid.bCurrentSlotIndex fields

Revision 1090 - Directory Listing
Modified Wed Jul 21 08:56:56 2004 UTC (8 years, 10 months ago) by rousseau
add defaultFeatures field for multislot readers with different
dwFeatures for each slot.

Revision 1089 - Directory Listing
Modified Wed Jul 21 08:56:16 2004 UTC (8 years, 10 months ago) by rousseau
add SCR331DI identification

Revision 1088 - Directory Listing
Modified Wed Jul 21 08:55:31 2004 UTC (8 years, 10 months ago) by rousseau
add bMaxSlotIndex and bCurrentSlotIndex fields to support multislot
readers (one USB device with two or more card readers)

Revision 1087 - Directory Listing
Modified Tue Jul 20 09:19:41 2004 UTC (8 years, 10 months ago) by rousseau
remove "|| sent_length" in "if (retries == 0 || sent_length)" since it
is an OpenCT code that should not be needed with the new automata.

Revision 1086 - Directory Listing
Modified Tue Jul 20 09:16:26 2004 UTC (8 years, 10 months ago) by rousseau
update the copyright, add my name to reflect the same change in OpenCT

Revision 1085 - Directory Listing
Modified Mon Jul 19 14:58:16 2004 UTC (8 years, 10 months ago) by rousseau
update IFDHControl() prototype to replace LPVOID by PUCHAR (prototype
changed in pcsc-lite-1.2.9-beta5)

Revision 1084 - Directory Listing
Modified Mon Jul 19 13:32:26 2004 UTC (8 years, 10 months ago) by rousseau
BUG: I forgot to initialise the t1.lun field. It failed to work with
more than one readers and a T=1 card in a TPDU reader.

Revision 1083 - Directory Listing
Modified Mon Jul 19 09:36:09 2004 UTC (8 years, 10 months ago) by rousseau
in resync: we set retries = 1 since when we return in the loop we have
retries--;
Without this retries goes negative and the test 'if (retries == 0)' will
not become true again before a looooong time.

Revision 1079 - Directory Listing
Modified Fri Jul 16 09:07:26 2004 UTC (8 years, 10 months ago) by rousseau
OpenUSBByName(): use base 0 instead of 16 in strtoul() so that you can
express the decimal value 15 as: 15 (decimal), 0xF (hex) or 017 (octal).

It is not really needed since the reader descriptions in Info.plist are
all in hex.

Revision 1078 - Directory Listing
Modified Fri Jul 16 07:06:14 2004 UTC (8 years, 10 months ago) by rousseau
init_driver(): use base 0 instead of 16 in strtoul() so that you can
express the decimal value 15 as: 15 (decimal), 0xF (hex) or 017 (octal)

Revision 1077 - Directory Listing
Modified Fri Jul 16 06:53:25 2004 UTC (8 years, 10 months ago) by rousseau
rename PCSCLITE_MAX_READERS in CCID_DRIVER_MAX_READERS

This value is not defined by pcsc-lite but is internal to the CCID
driver. By default pcsc-lite supports the same number of readers (16).

Revision 1076 - Directory Listing
Modified Fri Jul 16 06:31:15 2004 UTC (8 years, 10 months ago) by rousseau
BUG: CmdPowerOn(): use memmove() instead of memcpy() to copy the ATR
bytes since the source end destination buffers (with a more than 10
bytes long ATR) overlaps.

Bug spotted by splint http://www.splint.org/

Revision 1075 - Directory Listing
Modified Thu Jul 15 14:52:18 2004 UTC (8 years, 10 months ago) by rousseau
use "uint8_t *" instead of "unsigned char *" in the prototype of
t1_state_t.checksum field.

Revision 1074 - Directory Listing
Modified Thu Jul 15 14:51:03 2004 UTC (8 years, 10 months ago) by rousseau
initialise pcDesiredKey to NULL instead of 0

Revision 1073 - Directory Listing
Modified Thu Jul 15 14:08:52 2004 UTC (8 years, 10 months ago) by rousseau
BUG in CmdXfrBlockTPDU_T1(): the t1_transceive() returned value was
stored in an unsigned int and tested if < 0 (error case). Of course the
test was never true.

Revision 1071 - Directory Listing
Modified Thu Jul 15 09:31:04 2004 UTC (8 years, 10 months ago) by rousseau
remove a useless break; after a goto;

Revision 1070 - Directory Listing
Modified Thu Jul 15 09:19:11 2004 UTC (8 years, 10 months ago) by rousseau
in t1_transceive() and t1_negociate_ifsd() dad argument is unsigned.

Revision 1069 - Directory Listing
Modified Thu Jul 15 09:11:18 2004 UTC (8 years, 10 months ago) by rousseau
replace "unsigned char *" by "uint8_t *" to use the exact same prototype as in
the functions definition

Revision 1068 - Directory Listing
Modified Thu Jul 15 08:48:59 2004 UTC (8 years, 10 months ago) by rousseau
i2dw() is not used outside commands.c so declare it static

Revision 1067 - Directory Listing
Modified Thu Jul 15 08:45:21 2004 UTC (8 years, 10 months ago) by rousseau
allow splint to continue parsing after use of type fd_set

Revision 1066 - Directory Listing
Modified Thu Jul 15 08:33:37 2004 UTC (8 years, 10 months ago) by rousseau
CmdXfrBlockTPDU_T0() and CmdXfrBlockTPDU_T1() are internal functions so
declare them static

Revision 1065 - Directory Listing
Modified Thu Jul 15 08:30:24 2004 UTC (8 years, 10 months ago) by rousseau
atr tables are internal only so declare them static

Revision 1064 - Directory Listing
Modified Thu Jul 15 08:24:37 2004 UTC (8 years, 10 months ago) by rousseau
define internal functions as static

Revision 1063 - Directory Listing
Modified Thu Jul 15 07:26:40 2004 UTC (8 years, 10 months ago) by rousseau
remove unused functions

Revision 1062 - Directory Listing
Modified Sat Jul 10 13:46:20 2004 UTC (8 years, 10 months ago) by rousseau
change "previous_block[1]" in "previous_block[PCB]"

Revision 1061 - Directory Listing
Modified Sat Jul 10 13:32:15 2004 UTC (8 years, 10 months ago) by rousseau
remove unused struct ifd_protocol_ops

Revision 1060 - Directory Listing
Modified Sat Jul 10 13:23:12 2004 UTC (8 years, 10 months ago) by rousseau
IFD_PROTOCOL_MORE -> IFD_PROTOCOL_T1_MORE
IFD_PROTOCOL_STATE -> IFD_PROTOCOL_T1_STATE
renamed to be in line with OpenCT

Revision 1059 - Directory Listing
Modified Fri Jul 9 14:08:28 2004 UTC (8 years, 10 months ago) by rousseau
explicitely cast the returned value as (void) if we don't use it

Revision 1058 - Directory Listing
Modified Fri Jul 9 14:06:58 2004 UTC (8 years, 10 months ago) by rousseau
IFDHSetProtocolParameters(): test the return value of SetParameters()

Revision 1057 - Directory Listing
Modified Fri Jul 9 13:29:02 2004 UTC (8 years, 10 months ago) by rousseau
ccid_parse_interface_descriptor() is now static

Revision 1056 - Directory Listing
Modified Fri Jul 9 13:27:56 2004 UTC (8 years, 10 months ago) by rousseau
make channel variable (unsigned int) instead of (int)

Revision 1055 - Directory Listing
Modified Fri Jul 9 13:25:04 2004 UTC (8 years, 10 months ago) by rousseau
include <sys/types.h> so splint can parse the file

Revision 1054 - Directory Listing
Modified Fri Jul 9 13:23:37 2004 UTC (8 years, 10 months ago) by rousseau
mark potentially null values as /*@null@*/ for splint

Revision 1053 - Directory Listing
Modified Fri Jul 9 13:21:44 2004 UTC (8 years, 10 months ago) by rousseau
mark unused arguments as /*@unused@*/ for splint

Revision 1052 - Directory Listing
Modified Fri Jul 9 13:19:09 2004 UTC (8 years, 10 months ago) by rousseau
include <sys/types.h> so splint can parse the file

Revision 1051 - Directory Listing
Modified Fri Jul 9 08:45:21 2004 UTC (8 years, 10 months ago) by rousseau
the buffer var_text[] was, in fact, used outside its declaration

Revision 1050 - Directory Listing
Modified Fri Jul 9 08:40:15 2004 UTC (8 years, 10 months ago) by rousseau
ReadChunk() and get_bytes() are internal use in ccid_serial.c so declare
them static

Revision 1049 - Directory Listing
Modified Fri Jul 9 08:28:44 2004 UTC (8 years, 10 months ago) by rousseau
lun is (unsigned int) so reader = LunToReaderIndex(lun) is also (unsigned int)

Revision 1048 - Directory Listing
Modified Fri Jul 9 08:25:51 2004 UTC (8 years, 10 months ago) by rousseau
OpenSerialByName(): arguments of CmdEscape() are unsigned

Revision 1047 - Directory Listing
Modified Fri Jul 9 08:22:24 2004 UTC (8 years, 10 months ago) by rousseau
replace "121234" by "123456" to make it more clear it is a memory reservation
for 6 characters

Revision 1046 - Directory Listing
Modified Fri Jul 9 08:21:07 2004 UTC (8 years, 10 months ago) by rousseau
remove a unneeded cast in (int)lun

Revision 1045 - Directory Listing
Modified Fri Jul 9 08:18:17 2004 UTC (8 years, 10 months ago) by rousseau
allow splint to continue parsing after use of type fd_set

Revision 1044 - Directory Listing
Modified Fri Jul 9 08:11:11 2004 UTC (8 years, 10 months ago) by rousseau
ReadSerial(): the unknown card movement byte is in "c" not "buffer[3]"

Revision 1043 - Directory Listing
Modified Fri Jul 9 07:10:17 2004 UTC (8 years, 10 months ago) by rousseau
lun is (unsigned int) instead of (int)

Avoid a warning by splint in #define LunToReaderIndex(Lun) (Lun>>16)
Left operand of >> may be negative (int): lun >> 16

Revision 1023 - Directory Listing
Modified Fri Jul 2 14:12:36 2004 UTC (8 years, 10 months ago) by rousseau
replace VENDOR pattern by MAGIC_VENDOR since we also have a VENDOR in
IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE and then a collision.

same change for PRODUCT and FRIENDLYNAME to be homogenous.

Revision 1022 - Directory Listing
Modified Fri Jul 2 13:58:11 2004 UTC (8 years, 10 months ago) by rousseau
OpenSerialByName(): perform a command (get the reader firmware) to be
sure a GemPC Twin (serial or pcmcia) reader is connected

Revision 1021 - Directory Listing
Modified Fri Jul 2 12:06:44 2004 UTC (8 years, 10 months ago) by rousseau
present where the files come from and what I did

Revision 1019 - Directory Listing
Modified Thu Jul 1 11:42:39 2004 UTC (8 years, 10 months ago) by rousseau
version 0.9.1

Revision 1018 - Directory Listing
Modified Thu Jul 1 11:38:03 2004 UTC (8 years, 10 months ago) by rousseau
release 0.9.1

Revision 1017 - Directory Listing
Modified Thu Jul 1 11:37:27 2004 UTC (8 years, 10 months ago) by rousseau
 #define IFD_PARITY_ERROR

Revision 1015 - Directory Listing
Modified Thu Jul 1 07:46:28 2004 UTC (8 years, 10 months ago) by rousseau
release 0.9.0

Revision 1014 - Directory Listing
Modified Wed Jun 30 14:47:30 2004 UTC (8 years, 10 months ago) by rousseau
correct a signedness issue

Revision 1013 - Directory Listing
Modified Wed Jun 30 14:44:16 2004 UTC (8 years, 10 months ago) by rousseau
rename tokenparser_macosx.? in tokenparser_fake.?

Revision 1012 - Directory Listing
Modified Wed Jun 30 14:42:36 2004 UTC (8 years, 10 months ago) by rousseau
add build-stamp and configure-stamp

Revision 1011 - Directory Listing
Modified Wed Jun 30 14:41:42 2004 UTC (8 years, 10 months ago) by rousseau
ignore temporary files

Revision 1010 - Directory Listing
Modified Wed Jun 30 14:41:18 2004 UTC (8 years, 10 months ago) by rousseau
LGPL licence

Revision 1009 - Directory Listing
Modified Wed Jun 30 14:06:29 2004 UTC (8 years, 10 months ago) by rousseau
version 0.9.0

Revision 1008 - Directory Listing
Modified Wed Jun 30 14:05:38 2004 UTC (8 years, 10 months ago) by rousseau
PPS_Match() was wrong when the confirmation is shorter than the request

Revision 1007 - Directory Listing
Modified Wed Jun 30 14:02:54 2004 UTC (8 years, 10 months ago) by rousseau
PPS_Exchange() has a new argument (unsigned char *pps1) which is the
PPS1 returned by the card (TA1 the card wants to use)

Revision 1006 - Directory Listing
Modified Wed Jun 30 14:00:19 2004 UTC (8 years, 10 months ago) by rousseau
CCID_Transmit() now uses a 4th argument (unsigned char bBWI)

Revision 1005 - Directory Listing
Modified Wed Jun 30 13:57:33 2004 UTC (8 years, 10 months ago) by rousseau
move macros PPS_HAS_PPS?() from pps.c to pps.h

Revision 1004 - Directory Listing
Modified Wed Jun 30 13:54:57 2004 UTC (8 years, 10 months ago) by rousseau
add ATR_GetDefaultProtocol() function

Revision 1003 - Directory Listing
Modified Wed Jun 30 13:53:41 2004 UTC (8 years, 10 months ago) by rousseau
remove unused functions

Revision 1002 - Directory Listing
Modified Wed Jun 30 13:51:23 2004 UTC (8 years, 10 months ago) by rousseau
the atr_f_table[] and atr_d_table[] tables were partly wrong

Revision 1001 - Directory Listing
Modified Wed Jun 30 13:49:38 2004 UTC (8 years, 10 months ago) by rousseau
- update the text
- the function ATR_GetDefaultProtocol() is mine (Ludovic Rousseau)

Revision 1000 - Directory Listing
Modified Wed Jun 30 13:46:45 2004 UTC (8 years, 10 months ago) by rousseau
remove MIN() and MAX() definitions

Revision 999 - Directory Listing
Modified Wed Jun 30 13:42:23 2004 UTC (8 years, 10 months ago) by rousseau
if DEBUG_LEVEL_PERIODIC is not set we temporaily remove DEBUG_LEVEL_COMM in
IFDHICCPresence() to avoid having the low level debug every time pcscd
test the card presence

Revision 998 - Directory Listing
Modified Wed Jun 30 13:40:12 2004 UTC (8 years, 10 months ago) by rousseau
- removed CardUp() and CardDown()
- all the reader initialisation/negotiation is now done in
  IFDHSetProtocolParameters() (that's why you need pcsc-lite-1.2.9beta3)

Revision 997 - Directory Listing
Modified Wed Jun 30 13:30:45 2004 UTC (8 years, 10 months ago) by rousseau
pcsclite.h moved in PCSC/

Revision 996 - Directory Listing
Modified Wed Jun 30 13:30:04 2004 UTC (8 years, 10 months ago) by rousseau
the t1 field in struct CCID_DESC changed from Protocol_T1 (towitiko) to
t1_state_t (openct)

Revision 995 - Directory Listing
Modified Wed Jun 30 13:28:22 2004 UTC (8 years, 10 months ago) by rousseau
we do not need to have PACKAGE defined (I do not remember what it was
used for)

Revision 994 - Directory Listing
Modified Wed Jun 30 13:25:03 2004 UTC (8 years, 10 months ago) by rousseau
CmdXfrBlockTPDU_T1(): use the T=1 TPDU layer from opensc/ instead of towitoko/

Revision 993 - Directory Listing
Modified Wed Jun 30 13:23:42 2004 UTC (8 years, 10 months ago) by rousseau
CCID_Receive() returns IFD_PARITY_ERROR if the error returned by the
reader is 0xFD (parity error) and IFD_COMMUNICATION_ERROR otherwise (so
that the T=1 TPDU layer can recover the error)

Revision 992 - Directory Listing
Modified Wed Jun 30 13:21:18 2004 UTC (8 years, 10 months ago) by rousseau
CCID_Transmit() now has a new "unsigned char bBWI" argument

Revision 991 - Directory Listing
Modified Wed Jun 30 11:53:51 2004 UTC (8 years, 10 months ago) by rousseau
CmdPowerOn(): add a mechanism to allow power on at 1.8V, 3V and then 5V
as specified by ISO 7816. We still use 5V for now to avoid problems with
non ISO compliant cards

Revision 990 - Directory Listing
Modified Wed Jun 30 11:52:19 2004 UTC (8 years, 10 months ago) by rousseau
add __FUNCTION__ as argument to ccid_error()

Revision 989 - Directory Listing
Modified Wed Jun 30 09:43:45 2004 UTC (8 years, 10 months ago) by rousseau
ccid_error() now also has a "char *function" argument to log the name of
the function in which the error occured

Revision 988 - Directory Listing
Modified Wed Jun 30 09:42:26 2004 UTC (8 years, 10 months ago) by rousseau
- rename protocol_t1/ in towitoko/ to reflect the project the code comes from
- remove the now useless files from towitoko/ and add the files from openct/

Revision 987 - Directory Listing
Modified Wed Jun 30 09:40:21 2004 UTC (8 years, 10 months ago) by rousseau
remove these files since I now use the T=1 TPDU code from OpenCT

Revision 986 - Directory Listing
Modified Wed Jun 30 09:37:08 2004 UTC (8 years, 10 months ago) by rousseau
use T=1 TPDU code from the OpenCT project <http://www.opensc.org/>

The state automata was greatly improved to manage "all" the possible
errors cases.

Revision 985 - Directory Listing
Modified Wed Jun 30 09:34:19 2004 UTC (8 years, 10 months ago) by rousseau
document the possible values for ifdLogLevel and ifdDriverOptions

Revision 972 - Directory Listing
Modified Wed Jun 23 14:54:44 2004 UTC (8 years, 11 months ago) by rousseau
- send Select DF and Select EF APDU before Verify PIN
- read stdin (consume the "*" fake keys) if the pinpad is on a keyboard

Revision 971 - Directory Listing
Modified Wed Jun 23 13:27:17 2004 UTC (8 years, 11 months ago) by rousseau
check for the presence of PCSC/ifdhandler.h instead of ifdhandler.h

Revision 970 - Directory Listing
Modified Wed Jun 23 13:26:35 2004 UTC (8 years, 11 months ago) by rousseau
HAVE_IFDHANDLER_H is renamed HAVE_PCSC_IFDHANDLER_H

Revision 969 - Directory Listing
Modified Wed Jun 23 13:25:38 2004 UTC (8 years, 11 months ago) by rousseau
add info for:
- Cherry XX33 keyboard
- Dell keyboard SK-3106
- Dell smart card reader keyboard

Move some readers in "Unsupported or partly supported CCID readers:"
- C3PO LTC31
- SCM Micro SCR 331
- SCM Micro SCR 335
- SCM Micro SPR 532

Revision 966 - Directory Listing
Modified Tue Jun 22 12:05:50 2004 UTC (8 years, 11 months ago) by rousseau
ChangeLog is not a .PHONY target but a real file

Revision 940 - Directory Listing
Modified Sun Jun 13 16:59:13 2004 UTC (8 years, 11 months ago) by rousseau
use SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1 instead of SCARD_PROTOCOL_ANY
since it is not defined in Micosoft PC/SC

Revision 910 - Directory Listing
Modified Sun May 30 19:45:30 2004 UTC (8 years, 11 months ago) by rousseau
use 'pkg-config libpcsclite --variable=usbdropdir' even if --prefix= is
used. You should use --enable-usbdropdir= and --enable-ccidtwindir= to
set to different values.

Revision 906 - Directory Listing
Modified Wed May 26 14:02:39 2004 UTC (8 years, 11 months ago) by rousseau
Dell keyboard SK-3106

Revision 905 - Directory Listing
Modified Wed May 26 08:56:52 2004 UTC (8 years, 11 months ago) by rousseau
set *rx_length to 0 when a ReadPort() error is returned.
The problem was not solved by ccid_usb.c 1.25.

Revision 904 - Directory Listing
Modified Wed May 26 07:50:07 2004 UTC (8 years, 11 months ago) by rousseau
bPINOperation is not passed in the user command since the command is
"PIN Verification" and nothing else

Revision 903 - Directory Listing
Modified Wed May 26 07:48:03 2004 UTC (8 years, 11 months ago) by rousseau
remove useless bPINOperation

Revision 900 - Directory Listing
Modified Tue May 25 14:46:02 2004 UTC (8 years, 11 months ago) by rousseau
add support for SCardGetAttrib(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..)
to know if the reader supports SCardControl(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..)

Revision 896 - Directory Listing
Modified Tue May 25 08:25:23 2004 UTC (8 years, 11 months ago) by rousseau
add a --enable-pcsclite option (default yes) so that the driver can be
compiled for a different framework (one needing tokenparser.l)

Revision 895 - Directory Listing
Modified Tue May 25 08:23:20 2004 UTC (8 years, 11 months ago) by rousseau
set length to 0 when a usb_bulk_read() error is returned

Revision 894 - Directory Listing
Modified Tue May 25 06:52:05 2004 UTC (8 years, 11 months ago) by rousseau
install Info.plist before the lib. This is for my convenience only
because of my debug setup.

Revision 893 - Directory Listing
Modified Tue May 25 06:50:24 2004 UTC (8 years, 11 months ago) by rousseau
rename tokenparser_macosx.l into tokenparser_fake.l since it is not
MacOSX specific.

Revision 892 - Directory Listing
Modified Mon May 24 12:58:43 2004 UTC (9 years ago) by rousseau
recompile using gcc -pedantic and correct:
- some C++ syntax comments
- many signedness "problems"

Revision 891 - Directory Listing
Modified Mon May 24 10:02:48 2004 UTC (9 years ago) by rousseau
add support for Secure PIN through SCardControl() (see sample code in examples/)

Revision 890 - Directory Listing
Modified Mon May 24 09:58:43 2004 UTC (9 years ago) by rousseau
- add some missing error codes
- low error values indicate the byte in error in the CCID frame

Revision 889 - Directory Listing
Modified Mon May 24 09:56:16 2004 UTC (9 years ago) by rousseau
add examples for SCardControl IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE and
IOCTL_SMARTCARD_VENDOR_VERIFY_PIN

Revision 888 - Directory Listing
Modified Mon May 24 09:54:30 2004 UTC (9 years ago) by rousseau
add examples in SUBDIRS

Revision 887 - Directory Listing
Modified Mon May 24 09:53:36 2004 UTC (9 years ago) by rousseau
remove -fno-common from CFLAGS since it is(?) gcc specific

Revision 886 - Directory Listing
Modified Mon May 24 07:27:44 2004 UTC (9 years ago) by rousseau
add Advanced Card Systems ACR 38

Revision 885 - Directory Listing
Modified Mon May 24 06:39:27 2004 UTC (9 years ago) by rousseau
add Cherry XX33

Revision 882 - Directory Listing
Modified Tue May 18 14:02:55 2004 UTC (9 years ago) by rousseau
in CardUp():SetParameters() the default TA1 is 0x11

Revision 881 - Directory Listing
Modified Mon May 17 14:46:12 2004 UTC (9 years ago) by rousseau
add default ifdDriverOptions set to 0x0000

Revision 880 - Directory Listing
Modified Mon May 17 14:45:44 2004 UTC (9 years ago) by rousseau
- add support of IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE in IFDHControl()
- read ifdDriverOptions from Info.plist to limit the use of
  IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE (idea from Peter Williams)

Revision 879 - Directory Listing
Modified Mon May 17 14:39:22 2004 UTC (9 years ago) by rousseau
redefined CmdEscape() to pass the CCID message instead of just a tag

Revision 878 - Directory Listing
Modified Mon May 17 14:37:08 2004 UTC (9 years ago) by rousseau
do not export get_end_points() declaration and make the function static

Revision 877 - Directory Listing
Modified Mon May 17 14:35:51 2004 UTC (9 years ago) by rousseau
reorganize header files

Revision 876 - Directory Listing
Modified Mon May 17 14:32:56 2004 UTC (9 years ago) by rousseau
check for pcsclite.h and ifdhandler.h installed by recent pcsc-lite

Revision 875 - Directory Listing
Modified Mon May 17 13:53:10 2004 UTC (9 years ago) by rousseau
types and definitions are now in <pcsclite.h>, "defs.h" and "ccid_ifdhandler.h"

Revision 874 - Directory Listing
Modified Mon May 17 13:14:57 2004 UTC (9 years ago) by rousseau
removed since pcsclite.h now defines SCARD_ATTR_*

Revision 873 - Directory Listing
Modified Mon May 17 13:00:12 2004 UTC (9 years ago) by rousseau
use the ifdhandler.h provided by pcsc-lite so remove a lot of lines

Revision 872 - Directory Listing
Modified Fri May 14 14:14:38 2004 UTC (9 years ago) by rousseau
check that pkg-config command is present before using it

Revision 871 - Directory Listing
Modified Fri May 14 09:07:29 2004 UTC (9 years ago) by rousseau
use `pkg-config libpcsclite --variable=usbdropdir` so you do not have to
use --enable-usbdropdir=DIR or --enable-ccidtwindir=DIR even if pcscd
does not use the default /usr/local/pcsc/drivers

Revision 863 - Directory Listing
Modified Wed May 12 12:20:20 2004 UTC (9 years ago) by rousseau
document the libusb bug on MacOS X with unplug/replug in a different USB
socket

Revision 862 - Directory Listing
Modified Wed May 12 12:09:09 2004 UTC (9 years ago) by rousseau
move debug configuration from INSTALL to README since it is dynamic now

Revision 861 - Directory Listing
Modified Wed May 12 09:08:34 2004 UTC (9 years ago) by rousseau
remove the "readers enumeration" part since this problem is now solved
by pcsc-lite-1.2.9

Revision 860 - Directory Listing
Modified Wed May 12 09:03:49 2004 UTC (9 years ago) by rousseau
document the use of 'pkg-config libpcsclite --variable=usbdropdir'

Revision 840 - Directory Listing
Modified Mon May 10 07:52:57 2004 UTC (9 years ago) by rousseau
in IFDHPowerICC() IFD_POWER_DOWN is just power down without a power up.
Changed to be compliant with IFD Handler specifications.

Revision 837 - Directory Listing
Modified Fri May 7 12:20:18 2004 UTC (9 years ago) by rousseau
in Protocol_T1_Negociate_IFSD() rename sblock in block since the same
variable is used for sent and received block.
This was not clear and was the source of reported bug [ #300707 ]
"Delete block before using it in t1_protocol.c" which is not a bug in fact.

Revision 836 - Directory Listing
Modified Thu May 6 14:09:27 2004 UTC (9 years ago) by rousseau
add a "configuring the driver for the serial reader (GemPC Twin)" part

Revision 825 - Directory Listing
Modified Tue May 4 12:45:22 2004 UTC (9 years ago) by rousseau
add DellSCRK.txt

Revision 824 - Directory Listing
Modified Tue May 4 12:44:06 2004 UTC (9 years ago) by rousseau
add Dell smart card reader keyboard

Revision 808 - Directory Listing
Modified Mon Apr 19 16:21:53 2004 UTC (9 years, 1 month ago) by rousseau
add winsmcrd.h in COMMON

Revision 807 - Directory Listing
Modified Mon Apr 19 16:18:43 2004 UTC (9 years, 1 month ago) by rousseau
reset ATR string (length = 0) when the card is powered down or not present

Revision 806 - Directory Listing
Modified Mon Apr 19 16:18:00 2004 UTC (9 years, 1 month ago) by rousseau
typo in a comment

Revision 805 - Directory Listing
Modified Mon Apr 19 16:11:05 2004 UTC (9 years, 1 month ago) by rousseau
list of tags for SCardGetAttrib() like SCARD_ATTR_ATR_STRING

Revision 804 - Directory Listing
Modified Mon Apr 19 16:09:24 2004 UTC (9 years, 1 month ago) by rousseau
add SCARD_ATTR_ATR_STRING in addition to TAG_IFD_ATR in IFDHGetCapabilities()

Revision 795 - Directory Listing
Modified Fri Apr 16 15:22:02 2004 UTC (9 years, 1 month ago) by rousseau
new IFDHControl() API

Revision 794 - Directory Listing
Modified Fri Apr 16 15:21:34 2004 UTC (9 years, 1 month ago) by rousseau
use a new version from pcsc-lite with support of the new IFDHControl() API

Revision 781 - Directory Listing
Modified Thu Apr 8 14:35:57 2004 UTC (9 years, 1 month ago) by rousseau
add support for the libusb naming scheme: usb:%04x/%04x:libusb:%s

Revision 780 - Directory Listing
Modified Thu Apr 8 12:43:58 2004 UTC (9 years, 1 month ago) by rousseau
parse bPINSupport field

Revision 779 - Directory Listing
Modified Thu Apr 8 09:46:54 2004 UTC (9 years, 1 month ago) by rousseau
parse bPINSupport field

Revision 778 - Directory Listing
Modified Wed Apr 7 20:10:31 2004 UTC (9 years, 1 month ago) by rousseau
also distribute SK-3106.txt

Revision 777 - Directory Listing
Modified Tue Apr 6 13:32:54 2004 UTC (9 years, 1 month ago) by rousseau
remove --enable-debugcritical, --enable-debuginfo,
--enable-debugperiodic and --enable-debugcomm options since the log
level is now dynamically managed by ifdLogLevel in Info.plist

Revision 776 - Directory Listing
Modified Tue Apr 6 13:25:28 2004 UTC (9 years, 1 month ago) by rousseau
define default ifdLogLevel at 3 (DEBUG_LEVEL_CRITICAL | DEBUG_LEVEL_INFO)

Revision 775 - Directory Listing
Modified Tue Apr 6 13:18:11 2004 UTC (9 years, 1 month ago) by rousseau
remove now useless #ifdef DEBUG

Revision 774 - Directory Listing
Modified Tue Apr 6 13:15:34 2004 UTC (9 years, 1 month ago) by rousseau
add { } to avoid ambiguities now that DEBUG_* are "if (x) y" constructions

Revision 773 - Directory Listing
Modified Tue Apr 6 13:14:02 2004 UTC (9 years, 1 month ago) by rousseau
during the first IFDHCreateChannel*() init_debug() is called to read the
value of ifdLogLevel from the Info.plist

Revision 772 - Directory Listing
Modified Tue Apr 6 13:09:59 2004 UTC (9 years, 1 month ago) by rousseau
change the DEBUG_* macros from static (compilation conditional) to
dynamic (if ())

Revision 771 - Directory Listing
Modified Tue Apr 6 13:07:45 2004 UTC (9 years, 1 month ago) by rousseau
debug.c is only needed by parse_SOURCES not COMMON

Revision 770 - Directory Listing
Modified Tue Apr 6 08:59:26 2004 UTC (9 years, 1 month ago) by rousseau
do not return before pthread_mutex_unlock() in IFDHCreateChannelByName()

Revision 769 - Directory Listing
Modified Tue Apr 6 08:53:05 2004 UTC (9 years, 1 month ago) by rousseau
also call ccid_open_hack() in IFDHCreateChannelByName()

Revision 768 - Directory Listing
Modified Tue Apr 6 08:51:34 2004 UTC (9 years, 1 month ago) by rousseau
T=1 context is initialized in CardUp(), not in IFDHCreateChannel()

Revision 766 - Directory Listing
Modified Tue Apr 6 06:52:34 2004 UTC (9 years, 1 month ago) by rousseau
revert to nearly previous version.
- IFD_POWER_DOWN is power down and power up (cold reset)
- IFD_RESET is power up (warm reset)
- IFD_POWER_UP is power up

Revision 764 - Directory Listing
Modified Mon Apr 5 09:56:52 2004 UTC (9 years, 1 month ago) by rousseau
version 0.4.2

Revision 763 - Directory Listing
Modified Mon Apr 5 09:53:59 2004 UTC (9 years, 1 month ago) by rousseau
add support for the Dell keyboard SK-3106

Revision 762 - Directory Listing
Modified Mon Apr 5 09:47:21 2004 UTC (9 years, 1 month ago) by rousseau
define ALLOW_PROPRIETARY_CLASS by default

Proprietary USB Class (0xFF) are (or are not) accepted
A proprietary class is used for devices released before the final CCID
specifications were ready.
We should not have problems with non CCID devices becasue the
Manufacturer and Product ID are also used to identify the device */

Revision 755 - Directory Listing
Modified Wed Mar 31 14:58:43 2004 UTC (9 years, 1 month ago) by rousseau
use $(srcdir) instead of ".". Thanks to Dr Russel Winder for the patch.

Revision 738 - Directory Listing
Modified Tue Mar 30 13:01:05 2004 UTC (9 years, 1 month ago) by rousseau
allow proprietary CCID Class byte but only if ALLOW_PROPRIETARY_CLASS is
defined. You should know what you do. Only useful for pre-CCID devices.

Revision 737 - Directory Listing
Modified Tue Mar 30 12:45:26 2004 UTC (9 years, 1 month ago) by rousseau
- use get_ccid_usb_interface() to also manage USB composite devices (keyboards)
- continue parsing even if bDescriptorType == 0xFF (proprietary)

Revision 736 - Directory Listing
Modified Tue Mar 30 12:43:20 2004 UTC (9 years, 1 month ago) by rousseau
define get_ccid_usb_interface() only if __USB_H__ is defined (usb.h included)

Revision 723 - Directory Listing
Modified Tue Mar 23 09:56:31 2004 UTC (9 years, 2 months ago) by rousseau
move the "cp aclocal.m4 build/" after autoreconf

Revision 722 - Directory Listing
Modified Mon Mar 22 15:48:15 2004 UTC (9 years, 2 months ago) by rousseau
cp aclocal.m4 build/

Revision 716 - Directory Listing
Modified Thu Mar 18 10:35:53 2004 UTC (9 years, 2 months ago) by rousseau
Reset action is power off and power on, not just power on

Revision 709 - Directory Listing
Modified Fri Feb 27 17:51:35 2004 UTC (9 years, 2 months ago) by rousseau
add C3PO LTC32, SCM Micro SCR 333 and C3PO TLTC2USB in the list of
"Should work but untested by me" readers

Revision 708 - Directory Listing
Modified Fri Feb 27 17:46:41 2004 UTC (9 years, 2 months ago) by rousseau
alphabetical reordering of readers

Revision 707 - Directory Listing
Modified Fri Feb 27 17:37:16 2004 UTC (9 years, 2 months ago) by rousseau
add SCR 333

Revision 706 - Directory Listing
Modified Tue Feb 24 21:16:51 2004 UTC (9 years, 2 months ago) by rousseau
use a shorter Perl script to convert generate/convert ChangeLog

Revision 703 - Directory Listing
Modified Sat Feb 14 12:46:18 2004 UTC (9 years, 3 months ago) by rousseau
release 0.4.1

Revision 702 - Directory Listing
Modified Sat Feb 14 12:26:56 2004 UTC (9 years, 3 months ago) by rousseau
version 0.4.1

Revision 701 - Directory Listing
Modified Sat Feb 14 12:26:34 2004 UTC (9 years, 3 months ago) by rousseau
distribute SCR331-DI.txt and supported_readers.txt

Revision 700 - Directory Listing
Modified Sat Feb 14 12:26:09 2004 UTC (9 years, 3 months ago) by rousseau
disribute create_Info_plist.pl

Revision 698 - Directory Listing
Modified Fri Feb 13 07:58:21 2004 UTC (9 years, 3 months ago) by rousseau
version 0.4.0

Revision 697 - Directory Listing
Modified Fri Feb 13 07:57:25 2004 UTC (9 years, 3 months ago) by rousseau
release 0.4.0

Revision 696 - Directory Listing
Modified Thu Feb 12 16:11:45 2004 UTC (9 years, 3 months ago) by rousseau
huge rework of CardUp()

Revision 695 - Directory Listing
Modified Thu Feb 12 16:11:08 2004 UTC (9 years, 3 months ago) by rousseau
return with a error if the received bloc in less than 4 bytes (T=0
error response for example)

Revision 694 - Directory Listing
Modified Thu Feb 12 16:09:32 2004 UTC (9 years, 3 months ago) by rousseau
fill dwDefaultClock and dwMaxDataRate according to the reader descriptor

Revision 693 - Directory Listing
Modified Thu Feb 12 16:08:45 2004 UTC (9 years, 3 months ago) by rousseau
add dwDefaultClock and dwMaxDataRate fields

Revision 692 - Directory Listing
Modified Wed Feb 11 14:36:59 2004 UTC (9 years, 3 months ago) by rousseau
Perform PPS and IFSD only if the reader does not do it automatically

Revision 691 - Directory Listing
Modified Wed Feb 11 14:36:59 2004 UTC (9 years, 3 months ago) by rousseau
add CCID_CLASS_AUTO_BAUD and CCID_CLASS_AUTO_IFSD

Revision 690 - Directory Listing
Modified Wed Feb 11 14:36:05 2004 UTC (9 years, 3 months ago) by rousseau
add return code tests in Protocol_T1_Negociate_IFSD()

Revision 689 - Directory Listing
Modified Wed Feb 11 14:33:04 2004 UTC (9 years, 3 months ago) by rousseau
PPS_Exchange() now uses 'int lun' instead of 'Protocol_T1 * t1'

Revision 688 - Directory Listing
Modified Wed Feb 11 10:12:47 2004 UTC (9 years, 3 months ago) by rousseau
remove debug message

Revision 687 - Directory Listing
Modified Wed Feb 11 10:12:00 2004 UTC (9 years, 3 months ago) by rousseau
use Protocol_T1_Negociate_IFSD() in CardUp()

Revision 686 - Directory Listing
Modified Wed Feb 11 10:10:29 2004 UTC (9 years, 3 months ago) by rousseau
add Protocol_T1_Negociate_IFSD()

Revision 685 - Directory Listing
Modified Wed Feb 11 10:09:55 2004 UTC (9 years, 3 months ago) by rousseau
add CCID_CLASS_AUTO_CONF_ATR

Revision 683 - Directory Listing
Modified Mon Feb 9 13:57:14 2004 UTC (9 years, 3 months ago) by rousseau
first bSeq is 0 (even if 1 works ok)

Revision 682 - Directory Listing
Modified Mon Feb 9 13:55:09 2004 UTC (9 years, 3 months ago) by rousseau
usb_reset() the device before usb_close()

Revision 677 - Directory Listing
Modified Thu Feb 5 19:40:57 2004 UTC (9 years, 3 months ago) by rousseau
add Silitek SK-3105 keyboard URL

Revision 676 - Directory Listing
Modified Wed Feb 4 22:00:01 2004 UTC (9 years, 3 months ago) by rousseau
DEBUG_COMM4 was named DEBUG_COMM3 due to cut-n-paste

Revision 673 - Directory Listing
Modified Tue Feb 3 15:44:52 2004 UTC (9 years, 3 months ago) by rousseau
add CardUp() and CardDown() for PowerOn and PowerOff actions

Revision 672 - Directory Listing
Modified Tue Feb 3 15:43:51 2004 UTC (9 years, 3 months ago) by rousseau
add dwMaxIFSD field

Revision 671 - Directory Listing
Modified Tue Feb 3 15:42:53 2004 UTC (9 years, 3 months ago) by rousseau
add DEBUG_COMM3()

Revision 670 - Directory Listing
Modified Tue Feb 3 15:42:24 2004 UTC (9 years, 3 months ago) by rousseau
use my own debug routines

Revision 669 - Directory Listing
Modified Tue Feb 3 14:59:04 2004 UTC (9 years, 3 months ago) by rousseau
new file

Revision 668 - Directory Listing
Modified Mon Feb 2 15:45:14 2004 UTC (9 years, 3 months ago) by rousseau
do not restrict ifsc to Towitoko

Revision 667 - Directory Listing
Modified Mon Feb 2 15:44:08 2004 UTC (9 years, 3 months ago) by rousseau
remove PPS hack

Revision 666 - Directory Listing
Modified Mon Feb 2 10:33:26 2004 UTC (9 years, 3 months ago) by rousseau
add SCR 331-DI in the "should work" list

Revision 665 - Directory Listing
Modified Mon Feb 2 10:05:34 2004 UTC (9 years, 3 months ago) by rousseau
use create_Info_plist.pl to generate the installed Info.plist from an
Info.plist template and a list of supported readers.

Revision 663 - Directory Listing
Modified Thu Jan 29 13:37:35 2004 UTC (9 years, 3 months ago) by rousseau
removed useless function name in debug messages since we use __FUNCTION__

Revision 662 - Directory Listing
Modified Thu Jan 29 10:33:52 2004 UTC (9 years, 3 months ago) by rousseau
- remove device_name[] from struct _usbDevice
- use naming scheme usb:vendor/product
- simplify (a bit) the code

Revision 661 - Directory Listing
Modified Thu Jan 29 10:32:20 2004 UTC (9 years, 3 months ago) by rousseau
remore *device_name[] argument from get_desc()

Revision 660 - Directory Listing
Modified Thu Jan 29 10:31:15 2004 UTC (9 years, 3 months ago) by rousseau
add DEBUG_CRITICAL4

Revision 659 - Directory Listing
Modified Tue Jan 27 15:01:08 2004 UTC (9 years, 3 months ago) by rousseau
set received size to 0 in case of error in CmdXfrBlockTPDU_T1

Revision 658 - Directory Listing
Modified Tue Jan 27 14:59:16 2004 UTC (9 years, 3 months ago) by rousseau
in case of error exits CCID_Receive() without copying an nonexistent anwser

Revision 655 - Directory Listing
Modified Tue Jan 27 14:46:01 2004 UTC (9 years, 3 months ago) by rousseau
use DEBUG_CRITICAL2() instead of DEBUG_CRITICAL()

Revision 654 - Directory Listing
Modified Tue Jan 27 13:53:10 2004 UTC (9 years, 3 months ago) by rousseau
add the "Silitek SK-3105 keyboard" in the "Should work but untested by
me" list

Revision 653 - Directory Listing
Modified Tue Jan 27 13:51:18 2004 UTC (9 years, 3 months ago) by rousseau
ignore some build files

Revision 652 - Directory Listing
Modified Tue Jan 27 13:45:41 2004 UTC (9 years, 3 months ago) by rousseau
ignore some build files

Revision 651 - Directory Listing
Modified Tue Jan 27 13:40:29 2004 UTC (9 years, 3 months ago) by rousseau
add Silitek SK-3105 keyboard

Revision 650 - Directory Listing
Modified Tue Jan 27 13:39:47 2004 UTC (9 years, 3 months ago) by rousseau
add support of USB devices with multiple interfaces (like the Silitek
SK-3105 keyboard)

Revision 649 - Directory Listing
Modified Tue Jan 27 13:32:55 2004 UTC (9 years, 3 months ago) by rousseau
add support of IFDHCreateChannelByName

Revision 641 - Directory Listing
Modified Thu Jan 22 14:00:38 2004 UTC (9 years, 4 months ago) by rousseau
move rules for src/protocol_t1/ files in src/Makefile.am to avoid
building a (problematic) static library

Revision 640 - Directory Listing
Modified Thu Jan 22 13:59:24 2004 UTC (9 years, 4 months ago) by rousseau
removed since rules for src/protocol_t1/ files are in src/Makefile.am

Revision 620 - Directory Listing
Modified Thu Jan 15 15:41:31 2004 UTC (9 years, 4 months ago) by rousseau
define APDU_Cmd and APDU_Rsp

Revision 619 - Directory Listing
Modified Thu Jan 15 14:34:21 2004 UTC (9 years, 4 months ago) by rousseau
new files from Carlos Prados towitoko-2.0.7 driver (with a bit of hacking)

Revision 618 - Directory Listing
Modified Thu Jan 15 14:23:41 2004 UTC (9 years, 4 months ago) by rousseau
build protocol_t1 library

Revision 617 - Directory Listing
Modified Thu Jan 15 14:19:02 2004 UTC (9 years, 4 months ago) by rousseau
add SetParameters() CCID command

Revision 616 - Directory Listing
Modified Thu Jan 15 14:10:13 2004 UTC (9 years, 4 months ago) by rousseau
add support of T=1 in TPDU mode

Revision 615 - Directory Listing
Modified Thu Jan 15 14:09:38 2004 UTC (9 years, 4 months ago) by rousseau
add CcidDesc.t1 field

Revision 614 - Directory Listing
Modified Thu Jan 15 14:09:10 2004 UTC (9 years, 4 months ago) by rousseau
replace CmdXfrBlockTPDU() by CmdXfrBlockTPDU_T0() and CmdXfrBlockTPDU_T1()

Revision 613 - Directory Listing
Modified Thu Jan 15 13:51:40 2004 UTC (9 years, 4 months ago) by rousseau
split CmdXfrBlockShortAPDU() in CCID_Transmit() and CCID_Receive()

Revision 612 - Directory Listing
Modified Thu Jan 15 13:45:37 2004 UTC (9 years, 4 months ago) by rousseau
call ccid_open_hack() in IFDHCreateChannel() instead of in each OpenPort()

Revision 611 - Directory Listing
Modified Thu Jan 15 13:41:01 2004 UTC (9 years, 4 months ago) by rousseau
use an (int *) instead of a PDWORD for rx_length argument

Revision 610 - Directory Listing
Modified Thu Jan 15 10:54:40 2004 UTC (9 years, 4 months ago) by rousseau
new files. add definition of ACX_PTHREAD macro

Revision 609 - Directory Listing
Modified Thu Jan 15 08:34:20 2004 UTC (9 years, 4 months ago) by rousseau
add get_ccid_slot() function

Revision 608 - Directory Listing
Modified Thu Jan 15 08:30:31 2004 UTC (9 years, 4 months ago) by rousseau
remove function name from debug message since __FUNCTION__ is now used in
DEBUG_* macro definition

Revision 607 - Directory Listing
Modified Thu Jan 15 08:19:03 2004 UTC (9 years, 4 months ago) by rousseau
add ActivCard

Revision 606 - Directory Listing
Modified Thu Jan 15 08:18:38 2004 UTC (9 years, 4 months ago) by rousseau
created an "Should work but untested by me" section and add SCM Micro
SPR 532 and ActivCard USB reader 2.0

Revision 584 - Directory Listing
Modified Thu Jan 8 15:26:17 2004 UTC (9 years, 4 months ago) by rousseau
The crashes under MacOS X were not because of a bug in libusb but because of
a bug in pcscd MacOS X hotplug.

Revision 581 - Directory Listing
Modified Tue Jan 6 07:21:27 2004 UTC (9 years, 4 months ago) by rousseau
the USB extra field length shall be exactly 54 bytes to be CCID.

Revision 580 - Directory Listing
Modified Mon Jan 5 21:22:03 2004 UTC (9 years, 4 months ago) by rousseau
also print the function name (__FUNCTION__) in the debug messages

Revision 579 - Directory Listing
Modified Mon Jan 5 20:53:59 2004 UTC (9 years, 4 months ago) by rousseau
add a test on the USB extra field length to avoid a crash and print an
error message. This occurs when the reader is _not_ CCID and the CCID
driver is used (wrong Info.plist for example).

Revision 578 - Directory Listing
Modified Fri Dec 19 09:03:49 2003 UTC (9 years, 5 months ago) by rousseau
build but do not install the serial ccidtwin driver by default since it
is useless on computers without a serial port or without this reader for
example.

Revision 570 - Directory Listing
Modified Tue Dec 16 10:11:09 2003 UTC (9 years, 5 months ago) by rousseau
read and write timeouts are not symmetric. write timout can be shorter
since the reader and card is not supposed to do anything before
receiving (write) a command.

Revision 569 - Directory Listing
Modified Fri Dec 12 09:38:25 2003 UTC (9 years, 5 months ago) by rousseau
return IFD_NOT_SUPPORTED instead of IFD_SUCCESS in functions doing
nothing (yet) (IFDHSetCapabilities, IFDHSetProtocolParameters,
IFDHControl);

Revision 568 - Directory Listing
Modified Thu Dec 11 21:19:46 2003 UTC (9 years, 5 months ago) by rousseau
set the result buffer length to 0 in IFDHControl()

Revision 565 - Directory Listing
Modified Tue Nov 25 23:10:59 2003 UTC (9 years, 5 months ago) by rousseau
do not try to find usb.h and other libusb files if --disable-libusb is
used. Needed if you only want to build the serial driver. Thanks to Niki
Waibel for the patch.

Revision 564 - Directory Listing
Modified Tue Nov 25 23:07:33 2003 UTC (9 years, 5 months ago) by rousseau
add a --enable-ccidtwindir argument to ./configure to specify the
serial GemPC Twin installation directory

Revision 563 - Directory Listing
Modified Tue Nov 25 22:55:58 2003 UTC (9 years, 5 months ago) by rousseau
use a updated version of acx_pthread.m4 needed for FreeBSD

Revision 556 - Directory Listing
Modified Thu Nov 6 18:53:40 2003 UTC (9 years, 6 months ago) by rousseau
check that the installed libusb implements usb_get_string_simple()

Revision 553 - Directory Listing
Modified Tue Nov 4 22:20:28 2003 UTC (9 years, 6 months ago) by rousseau
add SPR 532 in "Supported CCID readers" list

Revision 552 - Directory Listing
Modified Tue Nov 4 22:16:38 2003 UTC (9 years, 6 months ago) by rousseau
release 0.3.2

Revision 551 - Directory Listing
Modified Tue Nov 4 21:58:44 2003 UTC (9 years, 6 months ago) by rousseau
version 0.3.2

Revision 550 - Directory Listing
Modified Tue Nov 4 21:57:19 2003 UTC (9 years, 6 months ago) by rousseau
comment out the automatic GET RESPONSE part. I don't think it should be
in the driver. Maybe in pcscd instead?

Revision 547 - Directory Listing
Modified Mon Nov 3 16:08:48 2003 UTC (9 years, 6 months ago) by rousseau
also distribute SPR532.txt

Revision 545 - Directory Listing
Modified Sat Nov 1 00:40:36 2003 UTC (9 years, 6 months ago) by rousseau
bootstrap is no more distributed (it is no more in CVS either)

Revision 544 - Directory Listing
Modified Sat Nov 1 00:39:42 2003 UTC (9 years, 6 months ago) by rousseau
$(CCID_BUNDLE) is a directory so use 'rm -r' in uninstall_ccid: target

Revision 543 - Directory Listing
Modified Fri Oct 31 23:55:18 2003 UTC (9 years, 6 months ago) by rousseau
modify the hack to compile under MacOSX.

Revision 542 - Directory Listing
Modified Fri Oct 31 23:52:18 2003 UTC (9 years, 6 months ago) by rousseau
config.guess, config.sub, depcomp and ltmain.sh are in build/ so removed
them there.

Revision 541 - Directory Listing
Modified Fri Oct 31 23:51:25 2003 UTC (9 years, 6 months ago) by rousseau
useless since we have a 'make dist' rule

Revision 531 - Directory Listing
Modified Wed Oct 29 18:06:08 2003 UTC (9 years, 6 months ago) by rousseau
add USB identification for SPR 532

Revision 530 - Directory Listing
Modified Wed Oct 29 18:02:45 2003 UTC (9 years, 6 months ago) by rousseau
add SPR 532 description even if it is not a "real" CCID reader.

Revision 529 - Directory Listing
Modified Wed Oct 29 18:01:23 2003 UTC (9 years, 6 months ago) by rousseau
continue parsing even if bInterfaceSubClass and bInterfaceProtocol are
unsupported. This may be the case with non "real" CCID readers.

Revision 528 - Directory Listing
Modified Wed Oct 29 17:54:04 2003 UTC (9 years, 6 months ago) by rousseau
do not exit if the InterfaceClass is 0xFF (proprietary). It is the case
with old readers manufactured before the final release of the CCID specs.

Revision 525 - Directory Listing
Modified Tue Oct 28 18:18:11 2003 UTC (9 years, 6 months ago) by rousseau
correctly use the device name in a debug message instead of a not yet initialised field.

Revision 524 - Directory Listing
Modified Tue Oct 28 16:58:01 2003 UTC (9 years, 6 months ago) by rousseau
removed since ./reconf is doing a correct job

Revision 523 - Directory Listing
Modified Tue Oct 28 16:56:27 2003 UTC (9 years, 6 months ago) by rousseau
move LTC31 reader from unsupported to supported reader list. It was my fault
since in used odd INS byte in my test applet and odd INS bytes are
forbidden by ISO 7816-4 ch. 5.4.2 Instruction byte. Thanks to Josep Mon�s
Teixidor for pointing the problem.

Revision 522 - Directory Listing
Modified Tue Oct 28 16:51:37 2003 UTC (9 years, 6 months ago) by rousseau
correct a stupid bug that occurs with an APDU with 2 bytes response.

Revision 467 - Directory Listing
Modified Tue Sep 23 07:54:56 2003 UTC (9 years, 8 months ago) by rousseau
release 0.3.1

Revision 466 - Directory Listing
Modified Tue Sep 23 07:51:42 2003 UTC (9 years, 8 months ago) by rousseau
update file list

Revision 465 - Directory Listing
Modified Tue Sep 23 07:41:47 2003 UTC (9 years, 8 months ago) by rousseau
add a note about T=1 cards and readers in TPDU mode

Revision 464 - Directory Listing
Modified Mon Sep 22 14:26:02 2003 UTC (9 years, 8 months ago) by rousseau
define TAG_IFD_THREAD_SAFE introduced in pcsclite-1.2.0-rc3

Revision 463 - Directory Listing
Modified Mon Sep 22 14:25:19 2003 UTC (9 years, 8 months ago) by rousseau
add support of thread safe (APDU multiplexing on different readers)

Revision 462 - Directory Listing
Modified Mon Sep 22 14:24:26 2003 UTC (9 years, 8 months ago) by rousseau
ReadChunk() realy reads up to min_length bytes. Add some debug messages
in the state automata.

Revision 461 - Directory Listing
Modified Mon Sep 22 14:22:51 2003 UTC (9 years, 8 months ago) by rousseau
modify install rules so that root can use them even over NFS where root is
nobody

Revision 460 - Directory Listing
Modified Mon Sep 22 14:21:57 2003 UTC (9 years, 8 months ago) by rousseau
add --enable-multi-thread for thread safe support

Revision 459 - Directory Listing
Modified Mon Sep 22 14:21:00 2003 UTC (9 years, 8 months ago) by rousseau
add reconf file

Revision 453 - Directory Listing
Modified Fri Sep 19 12:08:09 2003 UTC (9 years, 8 months ago) by rousseau
complete reimplementation of the Twin serial protocol using a finite
state automata (code much simpler)

Revision 448 - Directory Listing
Modified Tue Sep 16 16:51:02 2003 UTC (9 years, 8 months ago) by rousseau
Put back AC_PROG_CPP, it has nothing to do with C++ but with C preprocessor

Revision 445 - Directory Listing
Modified Tue Sep 16 14:19:11 2003 UTC (9 years, 8 months ago) by rousseau
Do not switch to APDU mode since it also swicth in EMV mode and may not
work with non EMV cards

Revision 444 - Directory Listing
Modified Tue Sep 16 14:18:42 2003 UTC (9 years, 8 months ago) by rousseau
honor DESTDIR in install rules (closes [ #300110 ])

Revision 443 - Directory Listing
Modified Tue Sep 16 14:17:33 2003 UTC (9 years, 8 months ago) by rousseau
remove useless AC_PROG_CPP (no C++ code in ccid driver)

Revision 438 - Directory Listing
Modified Tue Sep 16 13:12:29 2003 UTC (9 years, 8 months ago) by rousseau
version 0.3.1

Revision 437 - Directory Listing
Modified Tue Sep 16 13:12:07 2003 UTC (9 years, 8 months ago) by rousseau
document the use of --enable-libusb=PATH

Revision 436 - Directory Listing
Modified Tue Sep 16 13:08:54 2003 UTC (9 years, 8 months ago) by rousseau
add --enable-libusb=PATH option

Revision 425 - Directory Listing
Modified Wed Sep 10 16:15:06 2003 UTC (9 years, 8 months ago) by rousseau
I forgot to add "support of "time request" from the card."

Revision 423 - Directory Listing
Modified Wed Sep 10 12:27:28 2003 UTC (9 years, 8 months ago) by rousseau
release 0.3.0

Revision 422 - Directory Listing
Modified Wed Sep 10 12:25:21 2003 UTC (9 years, 8 months ago) by rousseau
document the use of ./configure script

Revision 421 - Directory Listing
Modified Wed Sep 10 12:03:39 2003 UTC (9 years, 8 months ago) by rousseau
use ChangeLog instead of ChangeLog.cvs since the dist Makefile target is
looking at this file name.

Revision 420 - Directory Listing
Modified Wed Sep 10 09:52:21 2003 UTC (9 years, 8 months ago) by rousseau
config.h is now generated by ./configure

Revision 418 - Directory Listing
Modified Wed Sep 10 09:45:58 2003 UTC (9 years, 8 months ago) by rousseau
add readers/ in generated .tar.gz archive

Revision 417 - Directory Listing
Modified Wed Sep 10 09:29:03 2003 UTC (9 years, 8 months ago) by rousseau
use new parse indentation for more readability of supported features

Revision 415 - Directory Listing
Modified Wed Sep 10 09:19:05 2003 UTC (9 years, 8 months ago) by rousseau
new build process using autoconf/automake

Revision 414 - Directory Listing
Modified Wed Sep 10 09:17:43 2003 UTC (9 years, 8 months ago) by rousseau
manage serial protocol used by the GemPC Twin. Thanks to Niki W. Waibel
for a working prototype.

Revision 413 - Directory Listing
Modified Wed Sep 10 09:15:51 2003 UTC (9 years, 8 months ago) by rousseau
contains common CCID feature for USB and serial (was in ccid_usb before)

Revision 412 - Directory Listing
Modified Wed Sep 10 09:14:41 2003 UTC (9 years, 8 months ago) by rousseau
used to generate a correct reader.conf with the real library name

Revision 411 - Directory Listing
Modified Wed Sep 10 09:13:42 2003 UTC (9 years, 8 months ago) by rousseau
remove IFDSetEmv() definition. It is now useless.

Revision 410 - Directory Listing
Modified Wed Sep 10 09:12:20 2003 UTC (9 years, 8 months ago) by rousseau
use OpenPort instead of OpenUSB. move the complex TPDU management in
commands.c (and use it only if reader does not support APDU mode)

Revision 409 - Directory Listing
Modified Wed Sep 10 09:10:28 2003 UTC (9 years, 8 months ago) by rousseau
transport abstraction: define OpenPort, ClosePort, etc. to OpenSerial or
OpenUSB depending on TWIN_SERIAL compilation option

Revision 408 - Directory Listing
Modified Wed Sep 10 09:09:12 2003 UTC (9 years, 8 months ago) by rousseau
test for PACKAGE and not __CONFIG_H__ since the config.h file is not
generated by ./configure

Revision 407 - Directory Listing
Modified Wed Sep 10 09:06:41 2003 UTC (9 years, 8 months ago) by rousseau
- support auto voltage at power on if reader support it
- support Gemplus proprietary command to switch reader from TPDU to APDU mode
- use APDU mode if reader support it. make it easy to support extended
  APDU but I have no reader to test this.

Revision 406 - Directory Listing
Modified Wed Sep 10 09:01:30 2003 UTC (9 years, 8 months ago) by rousseau
redesign to separate communication media and CCID protocol. call
ccid_open_hack() upon open to do some reader dependent magic.

Revision 405 - Directory Listing
Modified Wed Sep 10 08:57:29 2003 UTC (9 years, 8 months ago) by rousseau
indent the output with one feature per line (and not on the same line
separated by ,)

Revision 404 - Directory Listing
Modified Wed Sep 10 08:55:45 2003 UTC (9 years, 8 months ago) by rousseau
new build process using autoconf/automake

Revision 403 - Directory Listing
Modified Wed Sep 10 08:52:29 2003 UTC (9 years, 8 months ago) by rousseau
use PCSCLITE_MAX_READERS instead of PCSCLITE_MAX_CHANNELS

Revision 402 - Directory Listing
Modified Wed Sep 10 08:47:41 2003 UTC (9 years, 8 months ago) by rousseau
new build process using autoconf/automake

Revision 343 - Directory Listing
Modified Wed Aug 27 06:53:56 2003 UTC (9 years, 8 months ago) by rousseau
remove unused capabilities.c file

Revision 342 - Directory Listing
Modified Tue Aug 26 20:16:00 2003 UTC (9 years, 8 months ago) by rousseau
release 0.2.0

Revision 341 - Directory Listing
Modified Tue Aug 26 20:14:38 2003 UTC (9 years, 8 months ago) by rousseau
script to create the .tar.gz

Revision 340 - Directory Listing
Modified Tue Aug 26 19:51:29 2003 UTC (9 years, 8 months ago) by rousseau
add a note about libusb problem under *BSD

Revision 339 - Directory Listing
Modified Tue Aug 26 19:48:04 2003 UTC (9 years, 8 months ago) by rousseau
require pcsc-lite 1.2.0 instead of 1.1.2

Revision 326 - Directory Listing
Modified Tue Aug 26 09:01:19 2003 UTC (9 years, 8 months ago) by rousseau
the reader enumeration problem also exist under GNU/Linux (is not MacOS
specific)

Revision 322 - Directory Listing
Modified Sun Aug 24 16:57:59 2003 UTC (9 years, 9 months ago) by rousseau
remove src/dep_stamp

Revision 321 - Directory Listing
Modified Sun Aug 24 16:57:23 2003 UTC (9 years, 9 months ago) by rousseau
add not about bugs/limitations under MacOS X

Revision 314 - Directory Listing
Modified Thu Aug 21 14:10:33 2003 UTC (9 years, 9 months ago) by rousseau
do not print garbage if we can't get the iManufacturer or iProduct fields

Revision 309 - Directory Listing
Modified Wed Aug 20 13:21:51 2003 UTC (9 years, 9 months ago) by rousseau
comment low level debug messages

Revision 308 - Directory Listing
Modified Wed Aug 20 13:21:29 2003 UTC (9 years, 9 months ago) by rousseau
use ./ylwrap instead of ylwrap

Revision 306 - Directory Listing
Modified Wed Aug 20 12:28:55 2003 UTC (9 years, 9 months ago) by rousseau
do not define LDFLAGS since we get it from outside

Revision 305 - Directory Listing
Modified Wed Aug 20 12:28:38 2003 UTC (9 years, 9 months ago) by rousseau
add needed MacOS X frameworks to LDFLAGS (for parse and check)

Revision 304 - Directory Listing
Modified Wed Aug 20 09:28:07 2003 UTC (9 years, 9 months ago) by rousseau
add src/ylwrap

Revision 303 - Directory Listing
Modified Wed Aug 20 09:27:43 2003 UTC (9 years, 9 months ago) by rousseau
wrapper to call (f)lex

Revision 302 - Directory Listing
Modified Wed Aug 20 08:38:36 2003 UTC (9 years, 9 months ago) by rousseau
src/parse shall not be distributed

Revision 301 - Directory Listing
Modified Wed Aug 20 08:37:34 2003 UTC (9 years, 9 months ago) by rousseau
do not duplicate the Info.plist filename but "calculate" it once

Revision 300 - Directory Listing
Modified Wed Aug 20 08:35:34 2003 UTC (9 years, 9 months ago) by rousseau
Add support of MacOS X

Revision 299 - Directory Listing
Modified Wed Aug 20 08:35:13 2003 UTC (9 years, 9 months ago) by rousseau
use an <array></array> for the alias enumeration

Revision 279 - Directory Listing
Modified Thu Aug 14 06:53:21 2003 UTC (9 years, 9 months ago) by rousseau
use a 1 minute USB timeout instead of the 1 second used for debug

Revision 278 - Directory Listing
Modified Thu Aug 14 06:34:21 2003 UTC (9 years, 9 months ago) by rousseau
include in CVS

Revision 277 - Directory Listing
Modified Thu Aug 14 06:32:24 2003 UTC (9 years, 9 months ago) by rousseau
remove parse binary in clean target

Revision 276 - Directory Listing
Modified Wed Aug 13 15:06:36 2003 UTC (9 years, 9 months ago) by rousseau
do not exit with failure if makedepend(1) does not exist

Revision 275 - Directory Listing
Modified Wed Aug 13 13:46:09 2003 UTC (9 years, 9 months ago) by rousseau
Installation and check guide

Revision 273 - Directory Listing
Modified Tue Aug 12 22:15:01 2003 UTC (9 years, 9 months ago) by rousseau
release 0.1.0

Revision 269 - Directory Listing
Added Tue Aug 12 12:40:23 2003 UTC (9 years, 9 months ago) by rousseau
Initial revision

  ViewVC Help
Powered by ViewVC 1.1.5