<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-05-22 11:26 GMT+02:00 Wolfgang Pichler <span dir="ltr"><<a href="mailto:wpichler@callino.at" target="_blank">wpichler@callino.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,</div></blockquote><div><br></div><div>Hello,<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>i will try to collect this data.</div><div><br></div><div>An other thing i forgot to mention here - for me the bug only encountered on arm architecture (i have no idea why…) - the same lib versions on i386 / amd64 did worked.</div></div></blockquote><div><br></div><div>I suspect a bug in the USB hardware or USB Linux layer of your arm platform then.<br> <br></div><div>I just talked to a USB expert and the reader (USB device) has no idea of the reception buffer size. So the problem should not be in the reader (for this bug).<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>I found the problem by adding some debug lines - to see where it does not get the correct answer. At this point i recongnised that the lib request to ready 65535 bytes from the usb stack - which seemed to be too much ;-). So i simply used a fixed value - which will be enough for my needs (signing a 256 bytes hash). But as said - this is just a workaround for me - no bug fix.</div><div><br></div><div>The only difference i found between the two sticks is - that the one which worked announced on more speed entry than the other stick. The rest ist identically.</div></div></blockquote><div><br></div><div>Without your change you have a working reader and a non working one?<br></div><div><br>Using the same hardware and software platform?<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Here is the original thread for reference:</div><div><a href="http://lists.alioth.debian.org/pipermail/pcsclite-muscle/Week-of-Mon-20170220/000823.html" target="_blank">http://lists.alioth.debian.<wbr>org/pipermail/pcsclite-muscle/<wbr>Week-of-Mon-20170220/000823.<wbr>html</a></div><div><br></div><div>I forgot to answer - sorry.</div><div><br></div><div>The plattform is not a 2 byte int plattform. <br></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div> </div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>The bug must be somewhere, where it does calculate the read size…</div></div></blockquote><div><br></div><div>Try to upgrade to a recent Linux kernel.<br></div><div>Are you using Linux?<br><br></div><div>Bye<br><br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"> Dr. Ludovic Rousseau</div>
</div></div>