summaryrefslogtreecommitdiffstats
path: root/system/pcsc-lite/README.SLACKWARE
blob: 6628c015df0e9235b88d1152b66c71f36c50d50d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
You must have a "pcscd" user and a "pcscd" group to run this script.
To create the user and group you can run these two commands
(uid/gid are set accordingly to http://slackbuilds.org/uid_gid.txt):
  # groupadd -g 257 pcscd
  # useradd -u 257 -g pcscd -d /var/run/pcscd -s /bin/false pcscd

To start PC/SC-lite daemon, run "/etc/rc.d/rc.pcscd start". This is most
easily accomplished by adding the following to /etc/rc.d/rc.local:
	if [ -x /etc/rc.d/rc.pcscd ]; then
		/etc/rc.d/rc.pcscd start
	fi
For pcmcia readers, this daemon should be started after rc.pcmcia.

Beware!
- PC/SC-lite daemon is meant as _alternative_ to openct: running rc.openctd
and rc.pcscd at the same time can and will lead to unforseeable problems
(specially with usb devices that can be managed by both of them, one daemon
can claim one device, making it unavailable for other daemon).

Smartcard reader's drivers are not included and must be compiled and installed
separately. See DRIVERS file in pcsc-lite's doc directory for more information
on getting and installing specific drivers.  pcsc-lite is compiled with the 
--enable-usbdropdir=<libdir>/pcsc/drivers flag -- this directory will be the 
destination for usb readers' drivers (e.g. ccid, cardman, ...).

Since version 1.6.0, serial support is not really maintained. Upstream
developer deems serial readers as rare, so he no longer provides reader.conf
file: if it's still required, you will have to manually create it in
/etc/reader.conf.d (please see 'man 5 reader.conf' for details).

Since version 1.6.0, events are sent through the socket, so you have to
manually remove unused /var/run/pcscd/pcscd.events/ directory.