PCSCD(8) | PC/SC Lite | PCSCD(8) |
pcscd - PC/SC Smart Card Daemon
pcscd |
[-acfTdeCvHSI] [--apdu] [--config dir] [--foreground] [--color] [--debug] [--info] [--error] [--critical] [--force-reader-polling] [-t number] [--max-thread number] [-s number] [--max-card-handle-per-thread number] [-r number] [--max-card-handle-per-reader number] [--version] [--hotplug] [--reader-name-no-serial] [--reader-name-no-interface] [--disable-polkit] |
pcscd |
-h |
pcscd |
--help |
The log levels are ordered as: debug < info < error < critical. Use a log level l will log this level and all the levels above it.
This is the maximum number of clients (SCardEstablishContext) that pcscd can handle.
This is the maximum number of card handle (SCardConnect) per client (SCardEstablishContext).
This is the maximum number of card handle (SCardConnect) per reader.
pcscd is the daemon program for pcsc-lite. It is a resource manager that coordinates communications with smart card readers and smart cards and cryptographic tokens that are connected to the system.
It allows applications to access smart cards and readers using the WinSCard API but without knowing details of the card or reader.
pcscd coordinates the loading of drivers for card readers.
Smart card reader drivers are placed in the /usr/lib/pcsc/drivers directory. Each driver is simply an .so file. pcscd locates the driver using the /etc/reader.conf.d/my_reader.conf files. See the reader.conf(5) manual page for more information.
Some drivers are available at https://muscle.apdu.fr/musclecard.com/drivers.html.
USB smart card reader drivers are located in /usr/lib/pcsc/drivers directory as a bundle. You shall NOT add a USB driver in a /etc/reader.conf.d/my_reader.conf file.
It is possible to set arguments that will be used by pcscd with the configuration file /etc/default/pcscd For example you can increase the debug level using:
PCSCD_ARGS=--debug
Or set environment variables like:
PCSCLITE_FILTER_IGNORE_READER_NAMES="Twin" PCSCLITE_FILTER_EXTEND_READER_NAMES=" $HOSTNAME"
See https://blog.apdu.fr/posts/2021/08/pcsc-lite-configuration-using/ for more details.
/etc/default/pcscd : daemon configuration file
/etc/reader.conf.d/* : Serial reader configuration files
/run/pcscd/pcscd.pid : process id of the running pcscd
/usr/lib/pcsc/drivers/ : directory containing bundles for USB drivers
reader.conf(5), syslog(3)
David Corcoran <corcoran@musclecard.com> and Ludovic Rousseau <ludovic.rousseau@free.fr>
December 2021 | Muscle |