<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-05-03 8:32 GMT+02:00 Vincas Dargis <span dir="ltr"><<a href="mailto:vindrg@gmail.com" target="_blank">vindrg@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br></blockquote><div><br></div><div>Hello,<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
We in our company have unusual use case, so that we need to have a lot<br>
of smart cards permanently connected and ready to be used 24/7.<br>
<br>
I've seen patch [1] that reduced PCSCLITE_MAX_READERS_CONTEXTS down to<br>
16 (currently, we need >20 and growing).<br>
<br>
Is this only constant that would be enough to be increased if needed?<br></blockquote><div><br></div><div>No. You also need to change CCID_DRIVER_MAX_READERS in the CCID driver (if you use this driver)<br><a href="https://github.com/LudovicRousseau/CCID/blob/master/src/ccid_ifdhandler.h#L50">https://github.com/LudovicRousseau/CCID/blob/master/src/ccid_ifdhandler.h#L50</a><br><br></div><div>This is a known "feature" reported in [1].<br></div><div>Contact me if you want to help fix this limitation.<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I've seen [2] some "interesting" constants like<br>
PCSC_MAX_CONTEXT_THREADS, PCSC_MAX_CONTEXT_CARD_HANDLES and<br>
PCSC_MAX_READER_HANDLES but these are set to 200 which is more than<br>
enough if I want to increase PCSCLITE_MAX_READERS_CONTEXTS up to 127<br>
(AFAIK max USB devices, well minus hubs but whatever), right?<br>
<br>
There aren't any concurrent transaction limit? We would have single<br>
daemon that will connect to pcscd and _may_ have lot's of transactions<br>
for different cards opened when needed.<br>
<br>
P.S. maybe someone have seen USB smart card reader "bank" with lot's of slots?<br></blockquote><div><br></div><div>No. Not yet.<br></div><div>Can you share a picture of such reader?<br>Or a picture of your setup?<br><br></div><div>I could wrote a blog article [1] about supporting a large number of readers. having pictures to illustrate the article would be good.<br><br></div><div>Bye,<br><br>[1] <a href="https://alioth.debian.org/tracker/index.php?func=detail&aid=313579&group_id=30105&atid=410088">https://alioth.debian.org/tracker/index.php?func=detail&aid=313579&group_id=30105&atid=410088</a><br>[2] <a href="http://ludovicrousseau.blogspot.fr/">http://ludovicrousseau.blogspot.fr/</a><br><br></div></div>-- <br><div class="gmail_signature"> Dr. Ludovic Rousseau</div>
</div></div>