Log of /trunk/Drivers/ccid/src
Directory Listing
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
1017 -
Directory Listing
Modified
Thu Jul 1 11:37:27 2004 UTC
(8 years, 10 months ago)
by
rousseau
#define IFD_PARITY_ERROR
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
1010 -
Directory Listing
Modified
Wed Jun 30 14:41:18 2004 UTC
(8 years, 10 months ago)
by
rousseau
LGPL licence
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
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
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
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
(8 years, 11 months 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
(8 years, 11 months 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
(8 years, 11 months ago)
by
rousseau
- add some missing error codes
- low error values indicate the byte in error in the CCID frame
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
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
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
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
779 -
Directory Listing
Modified
Thu Apr 8 09:46:54 2004 UTC
(9 years, 1 month ago)
by
rousseau
parse bPINSupport field
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
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
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
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
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
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
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
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
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, 3 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, 3 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
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
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
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
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
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
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
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
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
464 -
Directory Listing
Modified
Mon Sep 22 14:26:02 2003 UTC
(9 years, 7 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, 7 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, 7 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, 7 months ago)
by
rousseau
modify install rules so that root can use them even over NFS where root is
nobody
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
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
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
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
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
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
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
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
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
269 -
Directory Listing
Added
Tue Aug 12 12:40:23 2003 UTC
(9 years, 9 months ago)
by
rousseau
Initial revision