/[pcsclite]/trunk/Drivers/ccid/src/ccid_usb.c
ViewVC logotype

Log of /trunk/Drivers/ccid/src/ccid_usb.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 1106 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 28 08:33:18 2004 UTC (8 years, 10 months ago) by rousseau
File length: 15945 byte(s)
Diff to previous 1101
use reader_index instead of lun as reader identification

Revision 1101 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 26 09:16:16 2004 UTC (8 years, 10 months ago) by rousseau
File length: 15798 byte(s)
Diff to previous 1091
initialise ccid.defaultFeatures field

Revision 1091 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 21 08:59:28 2004 UTC (8 years, 11 months ago) by rousseau
File length: 15718 byte(s)
Diff to previous 1079
initialise bMaxSlotIndex and ccid.bCurrentSlotIndex fields

Revision 1079 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 16 09:07:26 2004 UTC (8 years, 11 months ago) by rousseau
File length: 15586 byte(s)
Diff to previous 1077
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 1077 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 16 06:53:25 2004 UTC (8 years, 11 months ago) by rousseau
File length: 15582 byte(s)
Diff to previous 1054
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 1054 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 13:23:37 2004 UTC (8 years, 11 months ago) by rousseau
File length: 15573 byte(s)
Diff to previous 1053
mark potentially null values as /*@null@*/ for splint

Revision 1053 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 13:21:44 2004 UTC (8 years, 11 months ago) by rousseau
File length: 15551 byte(s)
Diff to previous 1052
mark unused arguments as /*@unused@*/ for splint

Revision 1052 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 13:19:09 2004 UTC (8 years, 11 months ago) by rousseau
File length: 15538 byte(s)
Diff to previous 1049
include <sys/types.h> so splint can parse the file

Revision 1049 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 08:28:44 2004 UTC (8 years, 11 months ago) by rousseau
File length: 15487 byte(s)
Diff to previous 1043
lun is (unsigned int) so reader = LunToReaderIndex(lun) is also (unsigned int)

Revision 1043 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 9 07:10:17 2004 UTC (8 years, 11 months ago) by rousseau
File length: 15451 byte(s)
Diff to previous 900
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 900 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 25 14:46:02 2004 UTC (9 years ago) by rousseau
File length: 15397 byte(s)
Diff to previous 895
add support for SCardGetAttrib(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..)
to know if the reader supports SCardControl(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..)

Revision 895 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 25 08:23:20 2004 UTC (9 years ago) by rousseau
File length: 15317 byte(s)
Diff to previous 892
set length to 0 when a usb_bulk_read() error is returned

Revision 892 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 24 12:58:43 2004 UTC (9 years ago) by rousseau
File length: 15301 byte(s)
Diff to previous 878
recompile using gcc -pedantic and correct:
- some C++ syntax comments
- many signedness "problems"

Revision 878 - (view) (download) (annotate) - [select for diffs]
Modified Mon May 17 14:37:08 2004 UTC (9 years, 1 month ago) by rousseau
File length: 15224 byte(s)
Diff to previous 781
do not export get_end_points() declaration and make the function static

Revision 781 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 8 14:35:57 2004 UTC (9 years, 2 months ago) by rousseau
File length: 15119 byte(s)
Diff to previous 774
add support for the libusb naming scheme: usb:%04x/%04x:libusb:%s

Revision 774 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 6 13:15:34 2004 UTC (9 years, 2 months ago) by rousseau
File length: 14295 byte(s)
Diff to previous 762
add { } to avoid ambiguities now that DEBUG_* are "if (x) y" constructions

Revision 762 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 5 09:47:21 2004 UTC (9 years, 2 months ago) by rousseau
File length: 14277 byte(s)
Diff to previous 738
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 738 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 30 13:01:05 2004 UTC (9 years, 2 months ago) by rousseau
File length: 13944 byte(s)
Diff to previous 694
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 694 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 12 16:09:32 2004 UTC (9 years, 4 months ago) by rousseau
File length: 13810 byte(s)
Diff to previous 683
fill dwDefaultClock and dwMaxDataRate according to the reader descriptor

Revision 683 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 9 13:57:14 2004 UTC (9 years, 4 months ago) by rousseau
File length: 13685 byte(s)
Diff to previous 682
first bSeq is 0 (even if 1 works ok)

Revision 682 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 9 13:55:09 2004 UTC (9 years, 4 months ago) by rousseau
File length: 13685 byte(s)
Diff to previous 672
usb_reset() the device before usb_close()

Revision 672 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 3 15:43:51 2004 UTC (9 years, 4 months ago) by rousseau
File length: 13647 byte(s)
Diff to previous 662
add dwMaxIFSD field

Revision 662 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 29 10:33:52 2004 UTC (9 years, 4 months ago) by rousseau
File length: 13563 byte(s)
Diff to previous 655
- remove device_name[] from struct _usbDevice
- use naming scheme usb:vendor/product
- simplify (a bit) the code

Revision 655 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 27 14:46:01 2004 UTC (9 years, 4 months ago) by rousseau
File length: 13753 byte(s)
Diff to previous 650
use DEBUG_CRITICAL2() instead of DEBUG_CRITICAL()

Revision 650 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 27 13:39:47 2004 UTC (9 years, 4 months ago) by rousseau
File length: 13752 byte(s)
Diff to previous 649
add support of USB devices with multiple interfaces (like the Silitek
SK-3105 keyboard)

Revision 649 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 27 13:32:55 2004 UTC (9 years, 4 months ago) by rousseau
File length: 12461 byte(s)
Diff to previous 612
add support of IFDHCreateChannelByName

Revision 612 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 15 13:45:37 2004 UTC (9 years, 5 months ago) by rousseau
File length: 11583 byte(s)
Diff to previous 608
call ccid_open_hack() in IFDHCreateChannel() instead of in each OpenPort()

Revision 608 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 15 08:30:31 2004 UTC (9 years, 5 months ago) by rousseau
File length: 11685 byte(s)
Diff to previous 581
remove function name from debug message since __FUNCTION__ is now used in
DEBUG_* macro definition

Revision 581 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 6 07:21:27 2004 UTC (9 years, 5 months ago) by rousseau
File length: 11694 byte(s)
Diff to previous 579
the USB extra field length shall be exactly 54 bytes to be CCID.

Revision 579 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 5 20:53:59 2004 UTC (9 years, 5 months ago) by rousseau
File length: 11684 byte(s)
Diff to previous 570
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 570 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 16 10:11:09 2003 UTC (9 years, 6 months ago) by rousseau
File length: 11454 byte(s)
Diff to previous 525
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 525 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 28 18:18:11 2003 UTC (9 years, 7 months ago) by rousseau
File length: 11096 byte(s)
Diff to previous 406
correctly use the device name in a debug message instead of a not yet initialised field.

Revision 406 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 10 09:01:30 2003 UTC (9 years, 9 months ago) by rousseau
File length: 11123 byte(s)
Diff to previous 301
redesign to separate communication media and CCID protocol. call
ccid_open_hack() upon open to do some reader dependent magic.

Revision 301 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 20 08:37:34 2003 UTC (9 years, 10 months ago) by rousseau
File length: 12736 byte(s)
Diff to previous 279
do not duplicate the Info.plist filename but "calculate" it once

Revision 279 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 14 06:53:21 2003 UTC (9 years, 10 months ago) by rousseau
File length: 12051 byte(s)
Diff to previous 269
use a 1 minute USB timeout instead of the 1 second used for debug

Revision 269 - (view) (download) (annotate) - [select for diffs]
Added Tue Aug 12 12:40:23 2003 UTC (9 years, 10 months ago) by rousseau
File length: 12101 byte(s)
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5