Re: Gemalto (was Gemplus) GemPC Key SmartCard Reader not working in debian stretch

Sébastien Chaumat <[email protected]> Tue, 23 May 2017 21:16:12 +0000
Newsgroups gmane.comp.lib.muscle
Message-ID <CAKm-UmZ9sCG=ip3McJp9BgcMpPPm4bRhHBA9RFVUYeVmn4WAzg@mail.gmail.com>
--===============3480361708183925339==
Content-Type: multipart/alternative; boundary="f4030435c980e3bcfe0550377fc6"

--f4030435c980e3bcfe0550377fc6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

 Raising timeout to 100ms did not help.

S=C3=A9bastien

Le lun. 22 mai 2017 =C3=A0 09:42, Ludovic Rousseau <ludovic.rousseau@gmail.=
com>
a =C3=A9crit :

> 2017-05-21 22:50 GMT+02:00 S=C3=A9bastien Chaumat <[email protected]>:
>
>> 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#n83=
5
>
> (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
> [email protected]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle

--f4030435c980e3bcfe0550377fc6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>=C2=A0Raising timeout to 100ms d=
id not help.</div><div><br></div><div>S=C3=A9bastien<br><br><div class=3D"g=
mail_quote"><div dir=3D"ltr">Le=C2=A0lun. 22 mai 2017 =C3=A0=C2=A009:42, Lu=
dovic Rousseau &lt;<a href=3D"mailto:[email protected]">ludovic.ro=
[email protected]</a>&gt; a =C3=A9crit=C2=A0:<br></div><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_q=
uote">2017-05-21 22:50 GMT+02:00 S=C3=A9bastien Chaumat <span dir=3D"ltr">&=
lt;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
om</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di=
v dir=3D"ltr">Just compiled with ./configure --enable-zlp and tested : same=
 result :/=C2=A0<div>(see log2 attached)<br><div>Any way to check that the =
patch is correctly applied ?</div></div></div></blockquote><div><br></div><=
/div></div></div><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"=
gmail_quote"><div>Your log contains the expected activation indicator:<br>0=
0001403 ccid.c:80:ccid_open_hack_pre() ZLP fixup<br><br></div><div>But in y=
our case the fix is not enough.<br><br></div><div>Try to change the timeout=
 value at ccid_usb.c line 835 [1] from 10 to 100.<br><a href=3D"https://ano=
nscm.debian.org/cgit/pcsclite/CCID.git/tree/src/ccid_usb.c#n835" target=3D"=
_blank">https://anonscm.debian.org/cgit/pcsclite/CCID.git/tree/src/ccid_usb=
.c#n835</a><br></div></div></div></div><div dir=3D"ltr"><div class=3D"gmail=
_extra"><div class=3D"gmail_quote"><div><br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20=
4,204);padding-left:1ex"><div dir=3D"ltr"><div><div><div>(BTW I can&#39;t b=
elieve I decided to send my report today...without knowing about the releas=
e of 1.4.27 and the above)<br></div></div></div></div></blockquote></div></=
div></div><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_q=
uote"><div><br>:-)<br clear=3D"all"></div></div></div></div><div dir=3D"ltr=
"><div class=3D"gmail_extra"><br>-- <br><div class=3D"m_3728251157073544286=
gmail_signature">=C2=A0Dr. Ludovic Rousseau</div>
</div></div>
_______________________________________________<br>
Pcsclite-muscle mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a><br>
<a href=3D"http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite=
-muscle" rel=3D"noreferrer" target=3D"_blank">http://lists.alioth.debian.or=
g/cgi-bin/mailman/listinfo/pcsclite-muscle</a></blockquote></div></div></di=
v>

--f4030435c980e3bcfe0550377fc6--


--===============3480361708183925339==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Pcsclite-muscle mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
--===============3480361708183925339==--