[Pcsclite-git-commit] [CCID] 01/01: ccid_usb.c: document CCID composite devices

Ludovic Rousseau rousseau at moszumanska.debian.org
Wed Jan 18 19:13:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository CCID.

commit cd1e76fa4ff44aa6f4240fa8990e78328b443a05
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Wed Jan 18 18:56:08 2017 +0100

    ccid_usb.c: document CCID composite devices
    
    Document how the Gemalto Prox-DU/SU and Feitian R502 devices are
    architectured. These devices are composite CCID devices (2 or 3 CCID
    devices in the same USB device) and are simulated as a multi slot reader
    if USE_COMPOSITE_AS_MULTISLOT is defined (macOS for example).
---
 src/ccid_usb.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/ccid_usb.c b/src/ccid_usb.c
index f0d6512..1598f9e 100644
--- a/src/ccid_usb.c
+++ b/src/ccid_usb.c
@@ -437,7 +437,16 @@ again_libusb:
 	* 1: Gemalto Prox-DU [Prox-DU Contactless_09A00795] (09A00795) 01 00
 						 */
 
-					/* the CCID interfaces are 1 and 2 */
+					/* for the Gemalto Prox-DU/SU the interfaces are:
+					 * 0: Prox-DU HID (not used)
+					 * 1: Prox-DU Contactless (CCID)
+					 * 2: Prox-DU Contact (CCID)
+					 *
+					 * For the Feitian R502 the interfaces are:
+					 * 0: R502 Contactless Reader (CCID)
+					 * 1: R502 Contact Reader (CCID)
+					 * 2: R502 SAM1 Reader (CCID)
+					 */
 					interface_number = static_interface;
 				}
 #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/CCID.git



More information about the Pcsclite-cvs-commit mailing list