[svn] GnuPG - r5098 - trunk/scd

svn author wk cvs at cvs.gnupg.org
Fri Jul 24 13:01:18 CEST 2009


Author: wk
Date: 2009-07-24 13:01:17 +0200 (Fri, 24 Jul 2009)
New Revision: 5098

Modified:
   trunk/scd/ChangeLog
   trunk/scd/ccid-driver.c
Log:
Workaround for SCR3320


Modified: trunk/scd/ChangeLog
===================================================================
--- trunk/scd/ChangeLog	2009-07-23 19:50:25 UTC (rev 5097)
+++ trunk/scd/ChangeLog	2009-07-24 11:01:17 UTC (rev 5098)
@@ -1,3 +1,7 @@
+2009-07-24  Werner Koch  <wk at g10code.com>
+
+	* ccid-driver.c (parse_ccid_descriptor): Enable hack for SCR 3320.
+
 2009-07-21  Werner Koch  <wk at g10code.com>
 
 	* ccid-driver.c [HAVE_PTH]: Include pth.h.

Modified: trunk/scd/ccid-driver.c
===================================================================
--- trunk/scd/ccid-driver.c	2009-07-23 19:50:25 UTC (rev 5097)
+++ trunk/scd/ccid-driver.c	2009-07-24 11:01:17 UTC (rev 5098)
@@ -944,6 +944,11 @@
 	 0x5111 - SCR 331-DI 
 	 0x5115 - SCR 335 
 	 0xe003 - SPR 532 
+     The     
+         0x5117 - SCR 3320 USB ID-000 reader
+     seems to be very slow but enabling this workaround boosts the
+     performance to a a more or less acceptable level (tested by David). 
+         
   */
   if (handle->id_vendor == VENDOR_SCM
       && handle->max_ifsd > 48      
@@ -951,6 +956,7 @@
           ||(handle->id_product == 0x5111 && handle->bcd_device < 0x0620)
           ||(handle->id_product == 0x5115 && handle->bcd_device < 0x0514)
           ||(handle->id_product == 0xe003 && handle->bcd_device < 0x0504)
+          ||(handle->id_product == 0x5117 && handle->bcd_device < 0x0522)
           ))
     {
       DEBUGOUT ("enabling workaround for buggy SCM readers\n");




More information about the Gnupg-commits mailing list