From 5bae927e49528f589f0d689c71a274972d216c8d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 24 Jul 2009 11:01:17 +0000 Subject: [PATCH] Workaround for SCR3320 --- scd/ChangeLog | 4 ++++ scd/ccid-driver.c | 6 ++++++ 2 files changed, 10 insertions(+) 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 + + * ccid-driver.c (parse_ccid_descriptor): Enable hack for SCR 3320. + 2009-07-21 Werner Koch * 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");