reader.conf - configuration file for pcscd readers' drivers
The /etc/reader.conf.d/reader.conf file contains configuration information for serial and (some) PCMCIA smart card readers. USB readers SHALL NOT be configured using this file. pcscd uses another mechanism to automatically load USB drivers.
The /etc/reader.conf.d/reader.conf is a regular text file. Each reader must be defined by four fields: FRIENDLYNAME TEXT_STRING DEVICENAME FILENAME LIBPATH FILENAME CHANNELID NUMBER The "FRIENDLYNAME" field is an arbitrary text used to identify the reader. This text is displayed by commands like pcsc_scan(1) 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 /dev/ttyS0 under Linux and /dev/cuaa0 under FreeBSD. The "LIBPATH" field is the filename of the driver code. The driver is a dynamically loaded piece of code (generally a drivername.so*file). 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" DEVICENAME /dev/ttyS0 LIBPATH /usr/lib/pcsc/drivers/serial/libccidtwin.so.0.4.1 CHANNELID 1
In order to set up your /etc/reader.conf.d/reader.conf file correctly you may want to have debug messages from pcscd. I recommend you to start pscsd in the foreground and debug mode using: # pcscd --foreground --debug If everything seems OK you can use the pcsc_scan command to print the list of correctly detected readers and try to get the ATR of your smart cards.
Ludovic Rousseau <firstname.lastname@example.org>
More Linux Commands
wattrset(3ncurses) - curses character and window attribute c
These routines manipulate the current attributes of the named window. The current attributes of a window apply to all characters that are written into the windo
Tk_DeleteAllBindings(3) - invoke scripts in response to X ev
These procedures provide a general-purpose mechanism for creating and invoking bindings. Bindings are organized in terms of binding tables. A binding table cons
attr_get(3) - get the value of a user attribute of a filesys
The attr_get and attr_getf functions provide a way to retrieve the value of an attribute. Path points to a path name for a filesystem object, and fd refers to t
clamd.conf(5) - Configuration file for Clam AntiVirus Daemon
clamd.conf configures the Clam AntiVirus daemon, clamd(8). FILE FORMAT The file consists of comments and options with arguments. Each line which starts with a h
gjavah(1) - - generate header files from Java class files...
The gjavah program is used to generate header files from class files. It can generate both CNI and JNI header files, as well as stub implementation files which
git-fast-export(1) - Git data exporter - Linux manual page
This program dumps the given revisions in a form suitable to be piped into git fast-import. You can use it as a human-readable bundle replacement (see git-bundl
sethostid(2) - get or set the unique identifier of the curre
gethostid() and sethostid() respectively get or set a unique 32-bit identifier for the current machine. The 32-bit identifier is intended to be unique among all
add_members(8) - Add members to a list from the command line
Add members from a file to a mailman list. Listname is the name of the Mailman list you are adding members to. It must already exist. OPTIONS -n file, --non-dig
curl_global_init(3) - Global libcurl initialisation.........
This function sets up the program environment that libcurl needs. Think of it as an extension of the library loader. This function must be called at least once
Tk_GetAnchor(3) - translate between strings and anchor posit
Tk_GetAnchorFromObj places in *anchorPtr an anchor position (enumerated type Tk_Anchor) corresponding to objPtrs value. The result will be one of TK_ANCHOR_N, T
SDL_WM_SetIcon(3) - Sets the icon for the display window....
Sets the icon for the display window. Win32 icons must be 32x32. This function must be called before the first call to SDL_SetVideoMode. It takes an icon surfac
ttyname_r(3) - return name of a terminal - Linux man page...
The function ttyname() returns a pointer to the null-terminated pathname of the terminal device that is open on the file descriptor fd, or NULL on error (for ex