PCSC-Lite

PC/SC is the international standard for PC to smartcard reader communication, which is implemented by PCSC-Lite.

Kernel
You have to enable kernel support depending on how your cardreader is connected:
 * For USB cardreader see the USB article.
 * For PC-Card cardreader see the PC-Card article.
 * For serial cardreader enable serial support.

Software
Install one or more of the following driver packages:
 * - ASEDriveIIIe serial cardreader
 * - ASEDriveIIIe USB cardreader
 * - ASEKey USB SIM cardreader
 * - compatible CCID cardreader
 * - CoolKey and CAC cardreader
 * - REINER SCT cyberJack pinpad/e-com cardreader
 * - GemCore based cardreader
 * - Schlumberger Reflex 72 serial cardreader
 * OpenCT

will be pulled in automatically: The USE flags of pcsc-lite are:

Portage knows the local USE flag pcsc-lite for enabling support for PCSC-Lite in other packages:

After setting this you want to update your system so the changes take effect:

Configuration
USB cardreader are detected automatically und work out of the box. For PC-Card and serial cardreader you have to adjust your. See the reader.conf man page for more information.

Service
You can now start PCSC-Lite:

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

Testing
Start the daemon in debug mode manually:

The daemon will now output all detected cardreaders. If not there's maybe the right driver missing.

If there is a detected cardreader, insert a smartcard. The daemon should inform about this event and among other things output the ATR, e.g.:

If so, everything works und you can kill the daemon with +.