aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-07-24 11:01:17 +0000
committerWerner Koch <[email protected]>2009-07-24 11:01:17 +0000
commit5bae927e49528f589f0d689c71a274972d216c8d (patch)
tree71fb15aa32b6a0afd003a6569c7b2d8210767ff8
parent* srv.c (getsrv): Fix type-punning warning. (diff)
downloadgnupg-5bae927e49528f589f0d689c71a274972d216c8d.tar.gz
gnupg-5bae927e49528f589f0d689c71a274972d216c8d.zip
Workaround for SCR3320
Diffstat (limited to '')
-rw-r--r--scd/ChangeLog4
-rw-r--r--scd/ccid-driver.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/scd/ChangeLog b/scd/ChangeLog
index 59487fe17..ff492d62c 100644
--- a/scd/ChangeLog
+++ b/scd/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-24 Werner Koch <[email protected]>
+
+ * ccid-driver.c (parse_ccid_descriptor): Enable hack for SCR 3320.
+
2009-07-21 Werner Koch <[email protected]>
* ccid-driver.c [HAVE_PTH]: Include pth.h.
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index b71c43c29..43dfcce9e 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -944,6 +944,11 @@ parse_ccid_descriptor (ccid_driver_t handle,
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 @@ parse_ccid_descriptor (ccid_driver_t handle,
||(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");