Q: Java Smart Card Reader PCSCException: Unknown error 0x6c6 If i connect more than 11 smart card readers to my computer (running Windows 7 64 bit jdk 1.7.0-65) i will get this error when i try to listen to waitForChange() :
[SmartCardReaders.java:131 ] - null javax.smartcardio.CardException: waitForChange() failed
at sun.security.smartcardio.PCSCTerminals.waitForChange(Unknown Source)
at TachosafeRDU.SmartCardReaders$SmartCardReaderChange.run(SmartCardReaders.java:110)
at java.lang.Thread.run(Unknown Source)
Caused by: sun.security.smartcardio.PCSCException: Unknown error 0x6c6
at sun.security.smartcardio.PCSC.SCardGetStatusChange(Native Method)
... 3 common frames omitted

The code looks like this :
List<CardTerminal> terminallist;
TerminalFactory factory;
factory = TerminalFactory.getDefault();
terminals = factory.terminals();
terminals.waitForChange(0);

Is there a limit that it can only handle 11 smart card readers ?
Edit :
I installed an Ubuntu 14 on a virtual machine and there it is working properly with 13 smart card readers.
