mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
Workaround for SCR3320
This commit is contained in:
parent
65b2edc202
commit
5bae927e49
@ -1,3 +1,7 @@
|
|||||||
|
2009-07-24 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* ccid-driver.c (parse_ccid_descriptor): Enable hack for SCR 3320.
|
||||||
|
|
||||||
2009-07-21 Werner Koch <wk@g10code.com>
|
2009-07-21 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* ccid-driver.c [HAVE_PTH]: Include pth.h.
|
* ccid-driver.c [HAVE_PTH]: Include pth.h.
|
||||||
|
@ -944,6 +944,11 @@ parse_ccid_descriptor (ccid_driver_t handle,
|
|||||||
0x5111 - SCR 331-DI
|
0x5111 - SCR 331-DI
|
||||||
0x5115 - SCR 335
|
0x5115 - SCR 335
|
||||||
0xe003 - SPR 532
|
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
|
if (handle->id_vendor == VENDOR_SCM
|
||||||
&& handle->max_ifsd > 48
|
&& 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 == 0x5111 && handle->bcd_device < 0x0620)
|
||||||
||(handle->id_product == 0x5115 && handle->bcd_device < 0x0514)
|
||(handle->id_product == 0x5115 && handle->bcd_device < 0x0514)
|
||||||
||(handle->id_product == 0xe003 && handle->bcd_device < 0x0504)
|
||(handle->id_product == 0xe003 && handle->bcd_device < 0x0504)
|
||||||
|
||(handle->id_product == 0x5117 && handle->bcd_device < 0x0522)
|
||||||
))
|
))
|
||||||
{
|
{
|
||||||
DEBUGOUT ("enabling workaround for buggy SCM readers\n");
|
DEBUGOUT ("enabling workaround for buggy SCM readers\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user