Page 1 of 1

Use SIM reader on CentOS

Posted: Fri Mar 24, 2017 5:39 am
by jbsoft
Hey guys. Does anyone know whether SIM reader can work on CentOS?

Re: Use SIM reader on CentOS

Posted: Fri Mar 24, 2017 6:10 am
by Pf6KINE
SIM reader can work on CentOS.It's a CCID compliant smart card reader.

Re: Use SIM reader on CentOS

Posted: Fri Mar 24, 2017 6:35 am
by jbsoft
Thanks for your information. It helps.

Re: Use SIM reader on CentOS

Posted: Fri Mar 24, 2017 8:26 pm
by tay00000
Before concluding that SIM reader works on Linux, it isn't so straightforward like Windows where a CCID capable device is plugged in and it immediately detects the reader and allows usage.

On Linux and non-Windows platforms, they rely on libPCSCLite which uses libCCID (under the same PCSCLite project). PCSCLite libraries handles USB CCID devices via a white list and "grey list" of known CCID manufacturer and device IDs. If your device's IDs are not inside the whitelist and greylist, the PCSClite will immediately reject the device and refuse to open a channel to the device. There is no way you can edit the whitelist and greylist for PCSClite which I have attempted once before and failed. The main reason is hard-coding deep inside the PCSClite codes and you have to seek out the author of PCSClite to generate a CCID compliant report and hand to the author of the PCSClite and then wait for an update to be pushed out that contains the CCID device listed within the whitelist or greylist.

It will be nice if @JavaCardOS or anyone with the SIM reader test on latest version of PCSClite on Linux/Non-Windows to assert whether the SIM reader is recognized in the white/greylist first before making the conclusion.

Re: Use SIM reader on CentOS

Posted: Sun Mar 26, 2017 10:42 pm
by JavaCardOS
SIM reader is usable on CentOS with pcsclite. Our technical supports has done the full test before.

Re: Use SIM reader on CentOS

Posted: Mon Mar 27, 2017 4:30 am
by jbsoft
tay00000 wrote:Before concluding that SIM reader works on Linux, it isn't so straightforward like Windows where a CCID capable device is plugged in and it immediately detects the reader and allows usage.

On Linux and non-Windows platforms, they rely on libPCSCLite which uses libCCID (under the same PCSCLite project). PCSCLite libraries handles USB CCID devices via a white list and "grey list" of known CCID manufacturer and device IDs. If your device's IDs are not inside the whitelist and greylist, the PCSClite will immediately reject the device and refuse to open a channel to the device. There is no way you can edit the whitelist and greylist for PCSClite which I have attempted once before and failed. The main reason is hard-coding deep inside the PCSClite codes and you have to seek out the author of PCSClite to generate a CCID compliant report and hand to the author of the PCSClite and then wait for an update to be pushed out that contains the CCID device listed within the whitelist or greylist.

It will be nice if @JavaCardOS or anyone with the SIM reader test on latest version of PCSClite on Linux/Non-Windows to assert whether the SIM reader is recognized in the white/greylist first before making the conclusion.


Hi,@tay00000, thank you so much for your detailed information.

Re: Use SIM reader on CentOS

Posted: Mon Mar 27, 2017 4:31 am
by jbsoft
JavaCardOS wrote:SIM reader is usable on CentOS with pcsclite. Our technical supports has done the full test before.


Thank you for your official answer. I have bought one sample from the store.