Re: Jinmuyu MR800 card reader problem

Ludovic Rousseau <[email protected]> Mon, 12 Jun 2017 09:15:36 +0200
Newsgroups gmane.comp.lib.muscle
Message-ID <CAGstE8B3xVKoFNLjkNin-1wgTMzOM3G5K__qATfHAo2qDMSMtg@mail.gmail.com>
--===============4645302951046591058==
Content-Type: multipart/alternative; boundary="001a114d885cd0a6a00551be16c0"

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

2017-06-12 6:33 GMT+02:00 Fr=C3=A9d=C3=A9ric Marchal <[email protected]>:

> The requested output.txt file is attached to this e-mail.
>

The reader indicates it has 2 slots:
  bMaxSlotIndex: 0x01

From what you wrote earlier I guess it is wrong and the reader can only use
1 smart card. Exact?


>
> The manufacturer web site is http://www.jinmuyu.com/hf-smart-readers/
> mr800.html <http://www.jinmuyu.com/hf-smart-readers/%0Amr800.html>


The URL was wrapped in your email.
http://www.jinmuyu.com/hf-smart-readers/mr800.html
works for me.


>
> The technical documentation is here: http://www.jinmuyu.com/
> download/JINMUYU
> %20Compatible%20USB%20PCSC%20IC%20Card%20Reader%20General%20Technical
> <http://www.jinmuyu.com/download/JINMUYU%0A%20Compatible%20USB%20PCSC%20I=
C%20Card%20Reader%20General%20Technical>
> %20Manual.pdf (in bad English and the documentation is lacking).
>
> The pictures on the manufacturer site are accurate.
>
> Please let me know if you need additional information.
>
>
I don't think the problem is that the reader does not support T=3D1
communication.
In your second email the error occurred when the driver tried to negotiate
IFSD:
00000135 ifdhandler.c:1089:IFDHSetProtocolParameters() Negotiate IFSD at 25=
4
00000123 sending: 00 C1 01 FE 3E
00000143 -> 000000 6F 05 00 00 00 00 2D 00 00 00 00 C1 01 FE 3E
00009549 <- 000000 80 02 00 00 00 00 2D 00 00 00 FF FF
00000026 received: FF FF
00000011 sending: 00 C1 01 FE 3E
00000011 -> 000000 6F 05 00 00 00 00 2E 00 00 00 00 C1 01 FE 3E
00008298 <- 000000 80 02 00 00 00 00 2E 00 00 00 FF FF
00000043 received: FF FF
00000021 sending: 00 C1 01 FE 3E
00000023 -> 000000 6F 05 00 00 00 00 2F 00 00 00 00 C1 01 FE 3E
00008344 <- 000000 80 02 00 00 00 00 2F 00 00 00 FF FF
00000064 received: FF FF
00000033 prothandler.c:124:PHSetProtocol() PTS failed (612), using T=3D0

I guess the USB CCID descriptor has other problems (in dwFeatures), not
just the value bMaxSlotIndex.

I will add this reader in the "Disabled CCID readers" list for now.

Bye

--=20
 Dr. Ludovic Rousseau

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2017=
-06-12 6:33 GMT+02:00 Fr=C3=A9d=C3=A9ric Marchal <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:[email protected]" target=3D"_blank">[email protected]</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">The requeste=
d output.txt file is attached to this e-mail.<br></blockquote><div><br></di=
v><div>The reader indicates it has 2 slots:<br>=C2=A0 bMaxSlotIndex: 0x01<b=
r><br></div><div>From what you wrote earlier I guess it is wrong and the re=
ader can only use 1 smart card. Exact?<br></div><div>=C2=A0<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex">
<br>
The manufacturer web site is <a href=3D"http://www.jinmuyu.com/hf-smart-rea=
ders/%0Amr800.html" rel=3D"noreferrer" target=3D"_blank">http://www.jinmuyu=
.com/hf-<wbr>smart-readers/<br>
mr800.html</a></blockquote><div><br></div><div>The URL was wrapped in your =
email.<br></div><div><a href=3D"http://www.jinmuyu.com/hf-smart-readers/mr8=
00.html">http://www.jinmuyu.com/hf-smart-readers/mr800.html</a><br></div><d=
iv>works for me.<br><br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:=
1ex"><br>
<br>
The technical documentation is here: <a href=3D"http://www.jinmuyu.com/down=
load/JINMUYU%0A%20Compatible%20USB%20PCSC%20IC%20Card%20Reader%20General%20=
Technical" rel=3D"noreferrer" target=3D"_blank">http://www.jinmuyu.com/<wbr=
>download/JINMUYU<br>
%20Compatible%20USB%20PCSC%<wbr>20IC%20Card%20Reader%<wbr>20General%20Techn=
ical</a><br>
%20Manual.pdf (in bad English and the documentation is lacking).<br>
<br>
The pictures on the manufacturer site are accurate.<br>
<br>
Please let me know if you need additional information.<br clear=3D"all"><br=
></blockquote><div><br></div><div>I don&#39;t think the problem is that the=
 reader does not support T=3D1 communication.<br>In your second email the e=
rror occurred when the driver tried to negotiate IFSD:<br></div></div>00000=
135 ifdhandler.c:1089:IFDHSetProtocolParameters() Negotiate IFSD at 254<br>=
00000123 sending: 00 C1 01 FE 3E <br>00000143 -&gt; 000000 6F 05 00 00 00 0=
0 2D 00 00 00 00 C1 01 FE 3E <br>00009549 &lt;- 000000 80 02 00 00 00 00 2D=
 00 00 00 FF FF <br>00000026 received: FF FF <br>00000011 sending: 00 C1 01=
 FE 3E <br>00000011 -&gt; 000000 6F 05 00 00 00 00 2E 00 00 00 00 C1 01 FE =
3E <br>00008298 &lt;- 000000 80 02 00 00 00 00 2E 00 00 00 FF FF <br>000000=
43 received: FF FF <br>00000021 sending: 00 C1 01 FE 3E <br>00000023 -&gt; =
000000 6F 05 00 00 00 00 2F 00 00 00 00 C1 01 FE 3E <br>00008344 &lt;- 0000=
00 80 02 00 00 00 00 2F 00 00 00 FF FF <br>00000064 received: FF FF <br>000=
00033 prothandler.c:124:PHSetProtocol() PTS failed (612), using T=3D0<br><b=
r></div><div class=3D"gmail_extra">I guess the USB CCID descriptor has othe=
r problems (in dwFeatures), not just the value bMaxSlotIndex.<br></div><div=
 class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">I will add this=
 reader in the &quot;Disabled CCID readers<span class=3D"gmail-">&quot;</sp=
an> list for now.<br><br></div><div class=3D"gmail_extra">Bye<br></div><div=
 class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">-- <br><div cla=
ss=3D"gmail_signature">=C2=A0Dr. Ludovic Rousseau</div>
</div></div>

--001a114d885cd0a6a00551be16c0--


--===============4645302951046591058==
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
--===============4645302951046591058==--