Section: PC/SC Lite (5)
Updated: August 2005
reader.conf - configuration file for pcscd readers' drivers
file contains configuration information for serial and (some) PCMCIA
smart card readers.
USB readers SHALL NOT be configured using this file.
uses another mechanism to automatically load USB drivers.
is a regular text file. Each reader must be defined by four fields:
The "FRIENDLYNAME" field is an arbitrary text used to identify the
reader. This text is displayed by commands like
that prints the names of all the connected and detected readers.
The "DEVICENAME" field was not used for old drivers (using the IFD
handler version 2.0 or earlier). It is now (IFD handler version 3.0) used
to identify the physical port on which the reader is connected. This
is the device name of this port. It is dependent of the OS kernel. The
first serial port device is called
under Linux and
The "LIBPATH" field is the filename of the driver code. The driver is
a dynamically loaded piece of code (generally a
The "CHANNELID" is no more used for recent drivers (IFD handler 3.0) and
has been superseded by "DEVICENAME". If you have an old driver this
field is used to indicate the port to use. You should read your driver
documentation to know what information is needed here. It should be the
serial port number for a serial reader.
# Gemplus GemPCTwin reader with serial communication
# connected to the first serial port
FRIENDLYNAME "GemPCTwin serial"
In order to set up your
file correctly you may want to have debug messages from
I recommend you to start
in the foreground and debug mode using:
# pcscd --foreground --debug
If everything seems OK you can use the
command to print the list of correctly detected readers and try to get
the ATR of your smart cards.
Ludovic Rousseau <email@example.com