[root]/src
openct (8 files, 1149 lines)
towitoko (7 files, 1237 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
rousseau | 1091 (100.0%) | 16940 (100.0%) | 15.5 |
Rename to add the number in the file name. The file shall be _after_
91-permissions.rules on Debian.
See http://permalink.gmane.org/gmane.linux.hotplug.devel/16139
43 lines of code changed in 2 files:
SecurePINVerify() & SecurePINModify(): Accept big and little endian byte
orders for multibytes fields
The application should not use HOST_TO_CCID_16() and HOST_TO_CCID_32()
any more and just use the normal byte order of the architecture.
Thanks to Douglas E. Engert for the patch
http://archives.neohapsis.com/archives/dev/muscle/2010-q3/0145.html
50 lines of code changed in 1 file:
Use GROUP= instead of RUN+= to avoid a race
See the thread "Use GROUP= in a rule matching an interface of the
device?" on linux-hotplug@vger.kernel.org mailing list
http://www.spinics.net/lists/hotplug/msg04165.html
2 lines of code changed in 1 file:
Add a ENV{DEVTYPE}!="usb_device" rule as suggested by Marco d'Itri
1 lines of code changed in 1 file:
Change the group ownership of the device to "pcscd" when a reader is
connected
14 lines of code changed in 1 file:
Add $Id$
1 lines of code changed in 1 file:
Factorize teh SUBSYSTEMS=="usb" test
13 lines of code changed in 1 file:
ifdhandler.c: In function �IFDHPolling�:
ifdhandler.c:328: warning: unused variable �ret�
0 lines of code changed in 1 file:
Convert the return value from libusb code to IFD_* in InterruptRead()
instead of IFDHPolling().
We do not return IFD_NO_SUCH_DEVICE any more. This value will be
returned by the next libusb_*() call
4 lines of code changed in 2 files:
IFDHSetCapabilities(): remove dead comments
0 lines of code changed in 1 file:
Include config.h before any other local includes to the configuration
defined in config.h is used.
This is just a preventive change.
5 lines of code changed in 5 files:
ccid_open_hack_pre(): call InterruptRead() only if the device has an
interrupt pipe endpoint (3 in total)
2 lines of code changed in 1 file:
ccid_open_hack_pre(): use InterruptRead() with a timeout of 100ms
instead of 10ms to give more time to the device to respond.
This allows the Gemalto SG CCID to always start correctly, not just once
in a while.
2 lines of code changed in 1 file:
ccid_open_hack_pre(): Do not disable the call to InterruptRead() on Mac
OS X. We now use libusb-1.0 and the timeout should work.
This allows the Gemalto SG CCID to work under Mac OS X.
0 lines of code changed in 1 file:
Use the new Info.plist parser API
2466 lines of code changed in 5 files:
OpenSerialByName(): TOKEN_MAX_VALUE_SIZE is no more defined in parser.h
Use MAX_DEVICENAME defined as 255 in pcscd.h
2 lines of code changed in 1 file:
Do not hardcode the libusb-1.0 include header path (remove the
libusb-1.0/ part)
2 lines of code changed in 2 files:
Install the serial configuration find in /etc/reader.conf.d/libccidtwin
instead of /etc/reader.conf.
pcscd (>= 1.6.0) will parse all the files from /etc/reader.conf.d/
2 lines of code changed in 1 file:
Do not #include "ccid_usb.h"
Compilation fails on Mac OS X for the libccidtwin library
0 lines of code changed in 2 files:
add get_IFSC() to get the IFSC value from the ATR.
IFSC is not just the value of TAi (i>2)
For example "3B 80 81 1F 07 19" has a TA3 but it is not the IFSC since
T=15 is defined in TD2 so before TA3
44 lines of code changed in 1 file:
libusb <= 1.0.8 does not implement a reference counter in
libusb_init()/libusb_exit() for the default context.
We then use our own and unique libusb context.
10 lines of code changed in 1 file:
check the return value of libusb_get_active_config_descriptor()
5 lines of code changed in 1 file:
parse do need some parts of libccid
5 lines of code changed in 2 files:
parse do not need to be linked with libccid
1 lines of code changed in 1 file:
ccid_open_hack_post(): update the Gemalto proprietary command to switch
in EMV mode. 0xA0 was an old value no more used on new products.
2 lines of code changed in 1 file:
ccid_parse_interface_descriptor(): document "USB Wake up signaling
supported on card insertion and removal" in dwFeatures
2 lines of code changed in 1 file:
OpenUSBByName(): use DEBUG_CRITICAL() instead of printf() to log an
error
1 lines of code changed in 1 file:
WriteUSB() & ReadUSB(): also display the value returned by libusb. The
error is not always reported by the kernel so errno is not significant.
4 lines of code changed in 1 file:
Add DEBUG_CRITICAL5() function
2 lines of code changed in 1 file:
Add support of TAG_IFD_STOP_POLLING_THREAD and use of the asynchronous
libusb API to be able to stop a transfer.
We are now "polling" for card movements every 1 hour or once an event
is detected on the interrupt endpoint of the device.
Another gain is that the driver will terminate "instantly" after pcscd
request instead of after a maximum of 2 seconds (previous polling
timeout).
125 lines of code changed in 3 files:
Use ctx instead of NULL to keep the information that this parameter is
the libusb context.
7 lines of code changed in 1 file:
OpenUSBByName(): call libusb_exit() if we can't use the reader
CloseUSB(): call libusb_exit() before exiting
5 lines of code changed in 1 file:
OpenUSBByName(): free the libusb allocated list & devices when we are
done with it
3 lines of code changed in 1 file:
OpenUSBByName(): call libusb_init() just before the next libusb call
2 lines of code changed in 1 file:
use PROTOCOL_CCID instead of 0 when checking bInterfaceProtocol
2 lines of code changed in 2 files:
Rename ICCD_A in PROTOCOL_ICCD_A, ICCD_B in PROTOCOL_ICCD_B and add
PROTOCOL_CCID for plain CCID
21 lines of code changed in 4 files:
get_end_points(): use LIBUSB_ENDPOINT_DIR_MASK instead of
LIBUSB_TRANSFER_TYPE_MASK to get the direction of an endpoint.
.bulk_out field were never set and then not working (No such file or
directory)
2 lines of code changed in 1 file:
WriteUSB() & ReadUSB(): the same function libusb_bulk_transfer() is now
ued to read and write to a USB device. So I use "write failed" and "read
failed" instead of the libusb function name to log an error.
2 lines of code changed in 1 file:
WriteUSB(), ReadUSB() & InterruptRead(): display strerror(errno) instead
of just the code returned by the libusb_*_transfer() function
6 lines of code changed in 1 file:
use libusb-1.0/libusb.h instead of usb.h (from libusb-0.1)
14 lines of code changed in 1 file:
(733 more)