[Pcsclite-cvs-commit] Drivers/ccid README,1.23,1.24 INSTALL,1.7,1.8

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/Drivers/ccid
In directory haydn:/tmp/cvs-serv12667

Modified Files:
	README INSTALL 
Log Message:
move debug configuration from INSTALL to README since it is dynamic now


Index: README
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/README,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- README	12 May 2004 09:08:34 -0000	1.23
+++ README	12 May 2004 12:09:09 -0000	1.24
@@ -55,6 +55,36 @@
   to libusb)
 
 
+Debug informations:
+===================
+
+The driver uses the debug function provided by pcscd. So if pcscd sends
+its debug to stdout (pcscd --foreground) then the CCID will also send
+its debug to stdout. If pcscd sends its debug to syslog (by default)
+then the CCID will also send its debug to syslog.
+
+You can change the debug level using the Info.plist configuraion file.
+The Info.plist is installed, by default, in
+/usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
+
+The debug level is set in the ifdLogLevel field. It is a binary OR
+combinaison of 4 different levels.
+- 1: critical: important error messages
+- 2: info:     informative messages like what reader was detected
+- 4: periodic: periodic info when pcscd test if a card is present (every
+               1/10 of a second)
+- 8: comm:     a dump of all the bytes exchanged between the host and the
+               reader
+
+By default the debug level is set to 3 (1 + 2) and correspond to the
+critical and info levels.
+
+You have to restart the driver so it read the configuration file again
+and use the new debug level value.  To restart the driver you just need
+to unplug all your CCID readers so the the driver is unloaded and then
+replug your readers. You can also restart pcscd.
+
+
 Known problems:
 ===============
 

Index: INSTALL
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/INSTALL,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- INSTALL	12 May 2004 09:03:49 -0000	1.7
+++ INSTALL	12 May 2004 12:09:09 -0000	1.8
@@ -19,25 +19,6 @@
 for.
 
 
-more (or less) debug messages
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-You can also enable/disable some debug messages. The driver provides 4
-levels of debug:
-- critical: important error messages
-- info:     informative messages like what reader was detected
-- periodic: periodic info when pcscd test if a card is present (ever
-            1/10 of a second)
-- comm:     a dump of all the bytes exchanged between the host and the
-            reader
-
-By default messages of level "critical" and "info" are enabled and
-messages of level "periodic" abd "comm" are off.
-
-For example use --enable-debugcomm to enable communication debug and
---disable-debuginfo to disable info debug messages for example.
-
-
 libusb not found
 ~~~~~~~~~~~~~~~~