1PCSCD(8) PC/SC Lite PCSCD(8)
2
3
4
6 pcscd - PC/SC Smart Card Daemon
7
9 pcscd [options]
10
12 -a, --apdu
13 log APDUs and SW using the debug method (see --debug).
14
15 -c, --config file
16 Specifies the file file as an alternate location for
17 /etc/reader.conf.d/reader.conf.
18
19 -f, --foreground
20 Runs pcscd in the foreground and sends log messages to stderr
21 instead of syslog(3).
22
23 -T, --color
24 force use of colored logs.
25
26 -d, --debug
27 use the lowest log level. Any log message of this level or above
28 will be sent to stderr or syslog(3) depending on the use of
29 --foreground.
30
31 --info use info log level. This is the default log level.
32
33 -e, --error
34 use error log level.
35
36 -C, --critical
37 use critical log level.
38
39 The log levels are ordered as: debug < info < error < critical. Use a
40 log level l will log this level and all the levels above it.
41
42 --force-reader-polling
43 ignore the IFD_GENERATE_HOTPLUG reader capability
44
45 -t, --max-thread
46 maximum number of threads (default 200).
47
48 This is the maximum number of clients (SCardEstablishContext)
49 that pcscd can handle.
50
51 -s, --max-card-handle-per-thread
52 maximum number of card handle per thread (default: 200).
53
54 This is the maximum number of card handle (SCardConnect) per
55 client (SCardEstablishContext).
56
57 -r, --max-card-handle-per-reader
58 maximum number of card handle per reader (default: 200)
59
60 This is the maximum number of card handle (SCardConnect) per
61 reader.
62
63 -h, --help
64 Displays information about the pcscd command line
65
66 -v, --version
67 Displays the program version number
68
69 -H, --hotplug
70 Ask pcscd to re-read the /etc/reader.conf.d/reader.conf file to
71 detect added or removed non-USB readers (serial or PCMCIA).
72
73 -x, --auto-exit
74 pcscd will quit after 60 seconds of inactivity after the release
75 of the last PC/SC context. This is used when pcscd os started on
76 demand by systemd.
77
78 -S, --reader-name-no-serial
79 Do not include the USB serial number in the reader name.
80
81 -I, --reader-name-no-interface
82 Do not include the USB interface name in the reader name.
83
85 pcscd is the daemon program for pcsc-lite. It is a resource manager
86 that coordinates communications with smart card readers and smart cards
87 and cryptographic tokens that are connected to the system.
88
89 It allows applications to access smart cards and readers using the win‐
90 scard API but without knowing details of the card or reader.
91
92 pcscd coordinates the loading of drivers for card readers.
93
95 Smart card reader drivers are placed in the /usr/lib64/pcsc/drivers
96 directory. Each driver is simply an .so file. pcscd locates the driver
97 using the /etc/reader.conf.d/reader.conf file. See the reader.conf(5)
98 manual page for more information.
99
100 Some drivers are available at https://muscle.apdu.fr/muscle‐
101 card.com/drivers.html.
102
104 USB smart card reader drivers are located in /usr/lib64/pcsc/drivers
105 directory as a bundle. You shall not add a USB driver in
106 /etc/reader.conf.d/reader.conf file.
107
109 /etc/reader.conf.d/reader.conf : Reader configuration file
110
111 /var/run/pcscd/pcscd.pid : process id of the running pcscd
112
113 /usr/lib64/pcsc/drivers : directory containing bundles for USB drivers
114
116 bundleTool(8), reader.conf(5), syslog(3)
117
119 David Corcoran <corcoran@musclecard.com> and Ludovic Rousseau
120 <ludovic.rousseau@free.fr>
121
122
123
124Muscle January 2007 PCSCD(8)