Re: Support for Lenovo Integrated Smart Card Reader

Daniel <[email protected]> Thu, 19 Feb 2009 09:23:35 +0100
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Hi Martin,

the reader is being detected now (although I have to chown the /dev/bus/usb 
device file to group "chipcard" manually first) but when trying to do 
anything except cardcommander open, info, close) I'm getting the following 
errors:

$ geldkarte loaded
Waiting for card to be inserted: Started.
Waiting for card to be inserted: 5000 of 20000
Waiting for card to be inserted: 10000 of 20000
Waiting for card to be inserted: Finished.
3:2009/02/04 16-40-19:geldkarte3(5281):clientlcc_cmd.c:  483: Command 
error -100 (Unknow error code)
3:2009/02/04 16-40-19:geldkarte3(5281):clientlcc_cmd.c:  532: Error response 
for request "commandCard"
ERROR: Error executing command CardOpen (3).
3:2009/02/04 16-40-19:geldkarte3(5281):client.c:  361: Still 1 cards in use at 
LC_Client_free!

The card I used for testing was detected by cardcommander as
  Card types    : ddv0 geldkarte ProcessorCard

In particular, kmymoney/qbankmanager product the same error.
I attached a complete log of the deamon output, hoping you can debug it.
The daemon starts, geldkarte loaded is executed, card is inserted, geldkarte 
crashes with the above error, card is being removed, daemon shut down.


Sincerely,

Daniel

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Libchipcard-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libchipcard-devel
chipcardd4.log (text/x-log, 27.1 KB)
5:2009/02/04 16-45-31:chipcardd(5334):chipcardd.c:  738: Chipcardd v4.2.4.0stable started.
5:2009/02/04 16-45-31:chipcardd(5334):chipcardd.c:  740: LibHAL supported.
6:2009/02/04 16-45-31:chipcardd(5335):chipcardd.c:  967: Initializing daemon.
6:2009/02/04 16-45-31:chipcardd(5335):chipcardd.c:  442: Trying "/etc/chipcard/server/chipcardd.conf"
6:2009/02/04 16-45-31:chipcardd(5335):chipcardd.c:  448: Using configuration file [/etc/chipcard/server/chipcardd.conf]
6:2009/02/04 16-45-31:chipcardd(5335):chipcardd.c: 1016: Will now initialize server.
6:2009/02/04 16-45-31:chipcardd(5335):cs_init.c:  349: Server role: standAlone
6:2009/02/04 16-45-31:chipcardd(5335):cs_init.c:  358: Autoconfiguration enabled
6:2009/02/04 16-45-31:chipcardd(5335):cs_init.c:  361: Initialising paths
6:2009/02/04 16-45-31:chipcardd(5335):cs_init.c:  368: Initialising IPC manager
6:2009/02/04 16-45-31:chipcardd(5335):cs_init.c:  110: Listening on [/var/run/chipcard/chipcard.comm] (local)
6:2009/02/04 16-45-31:chipcardd(5335):devicemanager.c:   91: Initialising device manager
6:2009/02/04 16-45-31:chipcardd(5335):devicemanager.c:  246: Autoconfiguration enabled
6:2009/02/04 16-45-31:chipcardd(5335):devicemanager.c:  249: Adding HAL scanner
6:2009/02/04 16-45-31:chipcardd(5335):devicemanager.c:  292: Disabling poll mode
6:2009/02/04 16-45-31:chipcardd(5335):devicemanager.c:  519: Reloading driver info files
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/scmx32_ifd.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/cherry_ctapi.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/celectronic_ctapi.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/ccid_ifd.xml"
7:2009/02/04 16-45-31:chipcardd(5334):chipcardd.c:  802: Watcher now supervising daemon 5335
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:   81: File found: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so.1.3.8
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/cyberjack_ctapi.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/o2micro_ctapi.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/orga_ctapi.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/omnikey2020_ifd.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/kobil_ctapi.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/omnikey4000_ifd.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/tow_ctapi.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/scm33x_ifd.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/ccid_serial_ifd.xml"
7:2009/02/04 16-45-31:chipcardd(5335):driverinfo.c:   81: File found: /usr/lib/pcsc/drivers/serial/libccidtwin.so.1.3.8
6:2009/02/04 16-45-31:chipcardd(5335):cardmanager.c:   58: Initialising card manager
6:2009/02/04 16-45-31:chipcardd(5335):clientmanager.c:   56: Initialising client manager
6:2009/02/04 16-45-31:chipcardd(5335):servicemanager.c:   68: Initialising service manager
6:2009/02/04 16-45-31:chipcardd(5335):cs_tools.c:   99: Hardware scan triggered
6:2009/02/04 16-45-31:chipcardd(5335):chipcardd.c: 1036: Ready to service requests.
7:2009/02/04 16-45-32:chipcardd(5335):devmonitor.c:  638: Device UsbRaw/2/1 is new (1d6b/0002)
7:2009/02/04 16-45-32:chipcardd(5335):devmonitor.c:  638: Device UsbRaw/7/1 is new (1d6b/0001)
7:2009/02/04 16-45-32:chipcardd(5335):devmonitor.c:  638: Device UsbRaw/6/2 is new (17ef/1003)
7:2009/02/04 16-45-32:chipcardd(5335):devmonitor.c:  638: Device UsbRaw/6/1 is new (1d6b/0001)
7:2009/02/04 16-45-32:chipcardd(5335):devmonitor.c:  638: Device UsbRaw/5/2 is new (1546/01a5)
7:2009/02/04 16-45-32:chipcardd(5335):devmonitor.c:  638: Device UsbRaw/5/2 is new (1546/01a5)
7:2009/02/04 16-45-32:chipcardd(5335):devmonitor.c:  638: Device UsbRaw/5/1 is new (1d6b/0001)
7:2009/02/04 16-45-32:chipcardd(5335):devmonitor.c:  638: Device UsbRaw/1/1 is new (1d6b/0002)
7:2009/02/04 16-45-32:chipcardd(5335):devmonitor.c:  638: Device UsbRaw/4/1 is new (1d6b/0001)
7:2009/02/04 16-45-32:chipcardd(5335):devmonitor.c:  638: Device UsbRaw/3/1 is new (1d6b/0001)
5:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3389: Changes in hardware list
6:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c:  519: Reloading driver info files
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/scmx32_ifd.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/cherry_ctapi.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/celectronic_ctapi.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/ccid_ifd.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:   81: File found: /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so.1.3.8
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/cyberjack_ctapi.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/o2micro_ctapi.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/orga_ctapi.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/omnikey2020_ifd.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/kobil_ctapi.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/omnikey4000_ifd.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/tow_ctapi.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/scm33x_ifd.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  102: File not found in search paths
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:  235: Reading driver file "/usr/share/chipcard/server/drivers/ccid_serial_ifd.xml"
7:2009/02/04 16-45-32:chipcardd(5335):driverinfo.c:   81: File found: /usr/lib/pcsc/drivers/serial/libccidtwin.so.1.3.8
7:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3140: Device UsbRaw/1d6b/0002 up
6:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3299: Device UsbRaw/1d6b/0002 is not a known reader
7:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3140: Device UsbRaw/1d6b/0001 up
6:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3299: Device UsbRaw/1d6b/0001 is not a known reader
7:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3140: Device UsbRaw/17ef/1003 up
5:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3230: AUTOCONFIG: Created new reader "auto1-ccid_lenovo" (UsbRaw/17ef/1003)
5:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3266: Assigned device path "usb:17ef/1003:libusb:006:002" to reader "auto1-ccid_lenovo"
7:2009/02/04 16-45-32:chipcardd(5335):clr_notification.c:  162: Mask for reader:add is 00000400
6:2009/02/04 16-45-32:chipcardd(5335):clr_notification.c:  190: Sending notification reader:add to all clients
7:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3140: Device UsbRaw/1d6b/0001 up
6:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3299: Device UsbRaw/1d6b/0001 is not a known reader
7:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3140: Device UsbRaw/1546/01a5 up
6:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3299: Device UsbRaw/1546/01a5 is not a known reader
7:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3140: Device UsbRaw/1546/01a5 up
6:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3299: Device UsbRaw/1546/01a5 is not a known reader
7:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3140: Device UsbRaw/1d6b/0001 up
6:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3299: Device UsbRaw/1d6b/0001 is not a known reader
7:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3140: Device UsbRaw/1d6b/0002 up
6:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3299: Device UsbRaw/1d6b/0002 is not a known reader
7:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3140: Device UsbRaw/1d6b/0001 up
6:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3299: Device UsbRaw/1d6b/0001 is not a known reader
7:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3140: Device UsbRaw/1d6b/0001 up
6:2009/02/04 16-45-32:chipcardd(5335):devicemanager.c: 3299: Device UsbRaw/1d6b/0001 is not a known reader
  String size is 167:
  0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 31 ipc {.char id="1
  0010: 22 0a 63 68 61 72 20 63 6d 64 3d 22 43 6c 69 65 ".char cmd="Clie
  0020: 6e 74 5f 52 65 61 64 79 22 0a 7d 0a 64 61 74 61 nt_Ready".}.data
  0030: 20 7b 0a 63 68 61 72 20 41 70 70 6c 69 63 61 74  {.char Applicat
  0040: 69 6f 6e 3d 22 67 65 6c 64 6b 61 72 74 65 22 0a ion="geldkarte".
  0050: 63 68 61 72 20 47 77 65 6e 56 65 72 73 69 6f 6e char GwenVersion
  0060: 3d 22 33 2e 35 2e 32 73 74 61 62 6c 65 2d 30 22 ="3.5.2stable-0"
  0070: 0a 63 68 61 72 20 43 68 69 70 63 61 72 64 56 65 .char ChipcardVe
  0080: 72 73 69 6f 6e 3d 22 34 2e 32 2e 34 2e 30 73 74 rsion="4.2.4.0st
  0090: 61 62 6c 65 22 0a 63 68 61 72 20 53 79 73 74 65 able".char Syste
  00a0: 6d 3d 22 22 0a 7d 0a                            m="".}.
7:2009/02/04 16-45-42:chipcardd(5335):devicemanager.c: 1927: Command "Client_Ready" not handled by device manager
5:2009/02/04 16-45-42:chipcardd(5335):clr_clientready.c:  105: Client "4989b81d" started (geldkarte, Gwen 3.5.2stable-0, ChipCard 4.2.4.0stable)
7:2009/02/04 16-45-42:chipcardd(5335):clr_clientready.c:  137: Response sent.
  String size is 57:
  0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 32 ipc {.char id="2
  0010: 22 0a 63 68 61 72 20 63 6d 64 3d 22 43 6c 69 65 ".char cmd="Clie
  0020: 6e 74 5f 53 74 61 72 74 57 61 69 74 22 0a 7d 0a nt_StartWait".}.
  0030: 64 61 74 61 20 7b 0a 7d 0a                      data {.}.
7:2009/02/04 16-45-42:chipcardd(5335):devicemanager.c: 1927: Command "Client_StartWait" not handled by device manager
5:2009/02/04 16-45-42:chipcardd(5335):clr_startwait.c:   70: Client 4989b81d: StartWait [geldkarte/nobody]
3:2009/02/04 16-45-42:chipcardd(5335):devicemanager.c: 1746: Incrementing active reader count auto1-ccid_lenovo (4989b81d) [1]
3:2009/02/04 16-45-42:chipcardd(5335):dm_driver.c:  359: Incrementing active readers count of driver ccid_ifd [4989b81d](0->1)
6:2009/02/04 16-45-42:chipcardd(5335):dm_driver.c:  362: Some readers active, driver leaving idle mode
6:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c:  813: Starting driver "ccid_ifd"
6:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c:  906: Starting driver process for driver "ccid_ifd" (/usr/lib/chipcard/server/drivers/ifd)
6:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c:  907: Arguments are: " -l /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so.1.3.8 --logtype file --logfile /var/log/chipcard/drivers/ccid_ifd/@[email protected] -t local -a /var/run/chipcard/chipcard.comm -p 0 -i 4989b81d"
6:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c:  926: Process started
7:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  162: Mask for driver:start is 00000001
6:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  190: Sending notification driver:start to all clients
7:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  207: Client "4989b81d" is not interested in driver:start [00000000]
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1199: still waiting for driver start
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1199: still waiting for driver start
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1199: still waiting for driver start
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1199: still waiting for driver start
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1199: still waiting for driver start
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1199: still waiting for driver start
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1199: still waiting for driver start
  String size is 119:
  0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 31 ipc {.char id="1
  0010: 22 0a 63 68 61 72 20 63 6d 64 3d 22 44 72 69 76 ".char cmd="Driv
  0020: 65 72 5f 52 65 61 64 79 22 0a 7d 0a 64 61 74 61 er_Ready".}.data
  0030: 20 7b 0a 63 68 61 72 20 64 72 69 76 65 72 49 64  {.char driverId
  0040: 3d 22 34 39 38 39 62 38 31 64 22 0a 69 6e 74 20 ="4989b81d".int
  0050: 20 63 6f 64 65 3d 22 30 22 0a 63 68 61 72 20 74  code="0".char t
  0060: 65 78 74 3d 22 4c 69 62 72 61 72 79 20 6c 6f 61 ext="Library loa
  0070: 64 65 64 22 0a 7d 0a                            ded".}.
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1962: Driver 4989b820: DriverReady
5:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 2108: Driver "4989b81d" (ccid_ifd) is up (Library loaded)
7:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  162: Mask for driver:up is 00000002
6:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  190: Sending notification driver:up to all clients
7:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  207: Client "4989b81d" is not interested in driver:up [00000000]
7:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  162: Mask for reader:start is 00000040
6:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  190: Sending notification reader:start to all clients
7:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  207: Client "4989b81d" is not interested in reader:start [00000000]
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1561: Still some time left
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1561: Still some time left
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1561: Still some time left
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1561: Still some time left
7:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1561: Still some time left
  String size is 186:
  0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 32 ipc {.char id="2
  0010: 22 0a 63 68 61 72 20 72 65 66 69 64 3d 22 32 22 ".char refid="2"
  0020: 0a 63 68 61 72 20 63 6d 64 3d 22 44 72 69 76 65 .char cmd="Drive
  0030: 72 5f 53 74 61 72 74 52 65 61 64 65 72 52 65 73 r_StartReaderRes
  0040: 70 6f 6e 73 65 22 0a 7d 0a 64 61 74 61 20 7b 0a ponse".}.data {.
  0050: 63 68 61 72 20 72 65 61 64 65 72 49 64 3d 22 34 char readerId="4
  0060: 39 38 39 62 38 31 64 22 0a 63 68 61 72 20 69 6e 989b81d".char in
  0070: 66 6f 3d 22 75 6e 69 74 30 25 33 44 25 32 32 69 fo="unit0%3D%22i
  0080: 63 63 31 25 32 32 22 0a 69 6e 74 20 20 63 6f 64 cc1%22".int  cod
  0090: 65 3d 22 30 22 0a 63 68 61 72 20 74 65 78 74 3d e="0".char text=
  00a0: 22 52 65 61 64 65 72 20 75 70 20 61 6e 64 20 77 "Reader up and w
  00b0: 61 69 74 69 6e 67 22 0a 7d 0a                   aiting".}.
5:2009/02/04 16-45-52:chipcardd(5335):devicemanager.c: 1503: Reader "auto1-ccid_lenovo" is up (Reader up and waiting)
7:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  162: Mask for reader:up is 00000080
6:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  190: Sending notification reader:up to all clients
7:2009/02/04 16-45-52:chipcardd(5335):clr_notification.c:  207: Client "4989b81d" is not interested in reader:up [00000000]
  String size is 262:
  0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 33 ipc {.char id="3
  0010: 22 0a 63 68 61 72 20 63 6d 64 3d 22 44 72 69 76 ".char cmd="Driv
  0020: 65 72 5f 43 61 72 64 49 6e 73 65 72 74 65 64 22 er_CardInserted"
  0030: 0a 7d 0a 64 61 74 61 20 7b 0a 63 68 61 72 20 72 .}.data {.char r
  0040: 65 61 64 65 72 49 64 3d 22 34 39 38 39 62 38 31 eaderId="4989b81
  0050: 64 22 0a 63 68 61 72 20 64 72 69 76 65 72 73 52 d".char driversR
  0060: 65 61 64 65 72 49 64 3d 22 30 30 30 30 30 30 30 eaderId="0000000
  0070: 31 22 0a 69 6e 74 20 20 73 6c 6f 74 6e 75 6d 3d 1".int  slotnum=
  0080: 22 30 22 0a 69 6e 74 20 20 63 61 72 64 6e 75 6d "0".int  cardnum
  0090: 3d 22 31 22 0a 62 69 6e 20 20 61 74 72 3d 22 33 ="1".bin  atr="3
  00a0: 42 45 46 30 30 46 46 38 31 33 31 46 45 34 35 36 BEF00FF8131FE456
  00b0: 35 36 33 31 31 30 38 34 33 30 32 35 30 30 30 31 5631108430250001
  00c0: 30 30 37 30 30 30 32 31 35 30 35 33 30 32 30 22 007000215053020"
  00d0: 0a 63 68 61 72 20 63 61 72 64 54 79 70 65 3d 22 .char cardType="
  00e0: 50 52 4f 43 45 53 53 4f 52 22 0a 63 68 61 72 20 PROCESSOR".char
  00f0: 64 72 69 76 65 72 49 64 3d 22 34 39 38 39 62 38 driverId="4989b8
  0100: 31 64 22 0a 7d 0a                               1d".}.
7:2009/02/04 16-45-53:chipcardd(5335):devicemanager.c: 2170: Driver 4989b820: Card inserted
5:2009/02/04 16-45-53:chipcardd(5335):devicemanager.c: 2286: New card "00000000" found in reader "auto1-ccid_lenovo"(4989b81d)
7:2009/02/04 16-45-53:chipcardd(5335):cardmanager.c:  138: New card added
4:2009/02/04 16-45-53:chipcardd(5335):clientmanager.c:  197: Advertising card "00000001" to all interested clients
5:2009/02/04 16-45-53:chipcardd(5335):clr_startwait.c:  136: Advertising card "00000001" to client "4989b81d" [geldkarte/nobody]
7:2009/02/04 16-45-53:chipcardd(5335):clr_notification.c:  162: Mask for card:inserted is 00010000
6:2009/02/04 16-45-53:chipcardd(5335):clr_notification.c:  190: Sending notification card:inserted to all clients
7:2009/02/04 16-45-53:chipcardd(5335):clr_notification.c:  207: Client "4989b81d" is not interested in card:inserted [00000000]
  String size is 79:
  0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 33 ipc {.char id="3
  0010: 22 0a 63 68 61 72 20 63 6d 64 3d 22 43 6c 69 65 ".char cmd="Clie
  0020: 6e 74 5f 54 61 6b 65 43 61 72 64 22 0a 7d 0a 64 nt_TakeCard".}.d
  0030: 61 74 61 20 7b 0a 63 68 61 72 20 63 61 72 64 69 ata {.char cardi
  0040: 64 3d 22 30 30 30 30 30 30 30 31 22 0a 7d 0a    d="00000001".}.
7:2009/02/04 16-45-53:chipcardd(5335):devicemanager.c: 1927: Command "Client_TakeCard" not handled by device manager
5:2009/02/04 16-45-53:chipcardd(5335):clr_takecard.c:   83: Client 4989b81d: TakeCard [geldkarte/nobody]
5:2009/02/04 16-45-53:chipcardd(5335):clr_takecard.c:  166: Enqueued TakeCard request for card "00000001" and client "4989b81d"
3:2009/02/04 16-45-53:chipcardd(5335):clr_takecard.c:  185: Working on TakeCard request 4989b825
6:2009/02/04 16-45-53:chipcardd(5335):clr_takecard.c:  204: Step 1 (4989b825)
5:2009/02/04 16-45-53:chipcardd(5335):cm_card.c:  183: Lock request granted
6:2009/02/04 16-45-53:chipcardd(5335):clr_takecard.c:  239: Card lock acquired, now locking slot (4989b825)
3:2009/02/04 16-45-53:chipcardd(5335):clr_takecard.c:  185: Working on TakeCard request 4989b825
6:2009/02/04 16-45-53:chipcardd(5335):clr_takecard.c:  275: Step 2 (4989b825)
5:2009/02/04 16-45-53:chipcardd(5335):lockmanager.c:  167: Lock request granted
  String size is 122:
  0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 34 ipc {.char id="4
  0010: 22 0a 63 68 61 72 20 63 6d 64 3d 22 43 6c 69 65 ".char cmd="Clie
  0020: 6e 74 5f 43 6f 6d 6d 61 6e 64 43 61 72 64 22 0a nt_CommandCard".
  0030: 7d 0a 64 61 74 61 20 7b 0a 63 68 61 72 20 63 61 }.data {.char ca
  0040: 72 64 69 64 3d 22 30 30 30 30 30 30 30 31 22 0a rdid="00000001".
  0050: 62 69 6e 20 20 64 61 74 61 3d 22 30 30 41 34 30 bin  data="00A40
  0060: 30 30 43 22 0a 63 68 61 72 20 74 61 72 67 65 74 00C".char target
  0070: 3d 22 63 61 72 64 22 0a 7d 0a                   ="card".}.
7:2009/02/04 16-45-53:chipcardd(5335):devicemanager.c: 1927: Command "Client_CommandCard" not handled by device manager
5:2009/02/04 16-45-53:chipcardd(5335):clr_execapdu.c:   88: Client 4989b81d: ExecApdu [geldkarte/nobody]
7:2009/02/04 16-45-53:chipcardd(5335):lockmanager.c:  284: slot currently locked by "4989b831" (wanted: 4989b831)
5:2009/02/04 16-45-53:chipcardd(5335):clr_execapdu.c:  231: Enqueued ExecApdu request for card "00000001" and client "4989b81d"
7:2009/02/04 16-45-53:chipcardd(5335):clr_execapdu.c:  332: Working on CardCommand request
7:2009/02/04 16-45-53:chipcardd(5335):clr_execapdu.c:  246: Working on ExecApdu request
7:2009/02/04 16-45-53:chipcardd(5335):clr_execapdu.c:  332: Working on CardCommand request
7:2009/02/04 16-45-53:chipcardd(5335):clr_execapdu.c:  246: Working on ExecApdu request
7:2009/02/04 16-45-53:chipcardd(5335):clr_execapdu.c:  332: Working on CardCommand request
7:2009/02/04 16-45-53:chipcardd(5335):clr_execapdu.c:  246: Working on ExecApdu request
  String size is 188:
  0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 34 ipc {.char id="4
  0010: 22 0a 63 68 61 72 20 72 65 66 69 64 3d 22 33 22 ".char refid="3"
  0020: 0a 63 68 61 72 20 63 6d 64 3d 22 44 72 69 76 65 .char cmd="Drive
  0030: 72 5f 43 61 72 64 43 6f 6d 6d 61 6e 64 52 65 73 r_CardCommandRes
  0040: 70 6f 6e 73 65 22 0a 7d 0a 64 61 74 61 20 7b 0a ponse".}.data {.
  0050: 69 6e 74 20 20 63 6f 64 65 3d 22 2d 31 30 30 22 int  code="-100"
  0060: 0a 63 68 61 72 20 74 65 78 74 3d 22 55 6e 6b 6e .char text="Unkn
  0070: 6f 77 20 65 72 72 6f 72 20 63 6f 64 65 22 0a 63 ow error code".c
  0080: 68 61 72 20 72 65 61 64 65 72 49 64 3d 22 34 39 har readerId="49
  0090: 38 39 62 38 31 64 22 0a 69 6e 74 20 20 73 6c 6f 89b81d".int  slo
  00a0: 74 6e 75 6d 3d 22 30 22 0a 69 6e 74 20 20 63 61 tnum="0".int  ca
  00b0: 72 64 6e 75 6d 3d 22 31 22 0a 7d 0a             rdnum="1".}.
7:2009/02/04 16-45-53:chipcardd(5335):clr_execapdu.c:  332: Working on CardCommand request
7:2009/02/04 16-45-53:chipcardd(5335):clr_execapdu.c:  246: Working on ExecApdu request
7:2009/02/04 16-45-53:chipcardd(5335):clr_execapdu.c:  272: Sending response to CommandCard
5:2009/02/04 16-45-53:chipcardd(5335):clientmanager.c:  490: Resetting card "00000001"
5:2009/02/04 16-45-53:chipcardd(5335):cm_card.c:  280: Unlocking card from client 4989b81d
6:2009/02/04 16-45-53:chipcardd(5335):clientmanager.c:  326: Card "00000001" unlocked from client
5:2009/02/04 16-45-53:chipcardd(5335):lockmanager.c:  222: Removing lock of client "4989b81d" on slot
5:2009/02/04 16-45-53:chipcardd(5335):clientmanager.c:  398: Removing client 4989b81d [geldkarte/nobody]
7:2009/02/04 16-46-04:chipcardd(5335):cardmanager.c:  311: Card too long unused
6:2009/02/04 16-46-04:chipcardd(5335):cardmanager.c:  316: Keep time exceeded
7:2009/02/04 16-46-04:chipcardd(5335):cardmanager.c:  318: Allowing reader to shut down
  String size is 175:
  0000: 69 70 63 20 7b 0a 63 68 61 72 20 69 64 3d 22 35 ipc {.char id="5
  0010: 22 0a 63 68 61 72 20 63 6d 64 3d 22 44 72 69 76 ".char cmd="Driv
  0020: 65 72 5f 43 61 72 64 52 65 6d 6f 76 65 64 22 0a er_CardRemoved".
  0030: 7d 0a 64 61 74 61 20 7b 0a 63 68 61 72 20 72 65 }.data {.char re
  0040: 61 64 65 72 49 64 3d 22 34 39 38 39 62 38 31 64 aderId="4989b81d
  0050: 22 0a 63 68 61 72 20 64 72 69 76 65 72 73 52 65 ".char driversRe
  0060: 61 64 65 72 49 64 3d 22 30 30 30 30 30 30 30 31 aderId="00000001
  0070: 22 0a 69 6e 74 20 20 73 6c 6f 74 6e 75 6d 3d 22 ".int  slotnum="
  0080: 30 22 0a 69 6e 74 20 20 63 61 72 64 6e 75 6d 3d 0".int  cardnum=
  0090: 22 31 22 0a 63 68 61 72 20 64 72 69 76 65 72 49 "1".char driverI
  00a0: 64 3d 22 34 39 38 39 62 38 31 64 22 0a 7d 0a    d="4989b81d".}.
7:2009/02/04 16-46-12:chipcardd(5335):devicemanager.c: 2329: Driver 4989b820: Card removed
5:2009/02/04 16-46-12:chipcardd(5335):devicemanager.c: 2399: Card "00000001" in reader "auto1-ccid_lenovo" (4989b81d) removed
7:2009/02/04 16-46-12:chipcardd(5335):card.c:  199: Changing status of card in reader "ccid_lenovo" (4989b81d) from 0 to 1
7:2009/02/04 16-46-12:chipcardd(5335):clr_notification.c:  162: Mask for card:removed is 00020000
6:2009/02/04 16-46-12:chipcardd(5335):clr_notification.c:  190: Sending notification card:removed to all clients
7:2009/02/04 16-46-12:chipcardd(5335):cardmanager.c:  148: ===================== Card 4989b81d/0/00000001 removed
6:2009/02/04 16-46-12:chipcardd(5335):cardmanager.c:  297: Status of card "00000001" changed
6:2009/02/04 16-46-12:chipcardd(5335):cardmanager.c:  341: Card 4989b81d/0/00000001 removed (1)
3:2009/02/04 16-46-12:chipcardd(5335):cardmanager.c:  355: Free card no longer inserted, removing from list
^C5:2009/02/04 16-46-18:chipcardd(5334):chipcardd.c:  481: Watcher got an interrupt signal, will terminate child
5:2009/02/04 16-46-18:chipcardd(5334):chipcardd.c:  834: Terminating daemon.
5:2009/02/04 16-46-18:chipcardd(5335):chipcardd.c:  488: Daemon got a termination signal
5:2009/02/04 16-46-18:chipcardd(5335):chipcardd.c:  477: Daemon got an interrupt signal, will go down.
6:2009/02/04 16-46-18:chipcardd(5335):chipcardd.c: 1104: Will now deinitialize server.
6:2009/02/04 16-46-18:chipcardd(5335):devicemanager.c:  307: Deinitializing device manager
6:2009/02/04 16-46-18:chipcardd(5335):chipcardd.c: 1109: Chipcard Daemon exiting.
7:2009/02/04 16-46-18:chipcardd(5335):stopped
6:2009/02/04 16-46-18:chipcardd(5334):chipcardd.c:  511: Watcher got a child signal
5:2009/02/04 16-46-18:chipcardd(5334):chipcardd.c:  861: Daemon terminated, exiting.
7:2009/02/04 16-46-18:chipcardd(5334):stopped