PCSC-Lite

PCSC-Lite Article description::implements the PC/SC international standard for PC to smartcard reader communication.

Kernel
The kernel configuration depends on how the card reader is connected:


 * For USB card reader see the USB article.
 * For PC-Card card reader see the PC-Card article.
 * For serial card reader enable serial support.

USE flags
PCSC-Lite support can be enabled system-wide by setting the  USE flag:

Emerge
Update the system so the changes can take effect:

Install PCSC-Lite:

Additional software
Install one or more of the following driver packages:


 * - ASEDriveIIIe serial card reader
 * - ASEDriveIIIe USB card reader
 * - ASEKey USB SIM card reader
 * - compatible CCID card reader
 * - CoolKey and CAC card reader
 * - REINER SCT cyberJack pinpad/e-com card reader
 * - GemCore based card reader
 * - Schlumberger Reflex 72 serial card reader

Configuration
USB card readers are detected automatically and work out of the box. For PC-Card and serial card readers, will need to be adjusted. See for more information.

OpenRC
To start PCSC-Lite:

To start PCSC-Lite at boot time, add it to the default runlevel:

Testing
Start the daemon in debug mode manually:

The daemon will now output all detected card readers. If a card reader is not detected, the correct driver may not have been installed. If there is a detected card reader, insert a smartcard. The daemon should inform about this event and among other things output the ATR, e.g.:

If everything works the daemon can be killed with +.