[Pcsclite-muscle] Gemalto (was Gemplus) GemPC Key SmartCard Reader not working in debian stretch

Wolfgang Pichler wpichler
Mon May 22 01:16:43 PDT 2017


Hi,

i did had the same bug - it seems that some Gemalto Sticks (not all) have a problem in the firmware intitalize procedure. Because of this problem you get a too big usb read bytes request - which will then fail?

Attached a workaround for this problem - which does work for me.

But as stated - this is a workaround - not a real bug fix.

br,
Wolfgang

> Am 22.05.2017 um 09:40 schrieb Ludovic Rousseau <ludovic.rousseau at gmail.com>:
> 
> 2017-05-21 22:50 GMT+02:00 S?bastien Chaumat <euidzero at gmail.com <mailto:euidzero at gmail.com>>:
> Just compiled with ./configure --enable-zlp and tested : same result :/ 
> (see log2 attached)
> Any way to check that the patch is correctly applied ?
> 
> Your log contains the expected activation indicator:
> 00001403 ccid.c:80:ccid_open_hack_pre() ZLP fixup
> 
> But in your case the fix is not enough.
> 
> Try to change the timeout value at ccid_usb.c line 835 [1] from 10 to 100.
> https://anonscm.debian.org/cgit/pcsclite/CCID.git/tree/src/ccid_usb.c#n835 <https://anonscm.debian.org/cgit/pcsclite/CCID.git/tree/src/ccid_usb.c#n835>
> 
> (BTW I can't believe I decided to send my report today...without knowing about the release of 1.4.27 and the above)
> 
> :-)
> 
> -- 
>  Dr. Ludovic Rousseau
> _______________________________________________
> Pcsclite-muscle mailing list
> Pcsclite-muscle at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20170522/425e4507/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-libccid.diff
Type: application/octet-stream
Size: 490 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20170522/425e4507/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20170522/425e4507/attachment-0003.html>



More information about the pcsclite-muscle mailing list