Le Thursday 10 February 2011 22:25:16, vous avez écrit : > Can you follow http://pcsclite.alioth.debian.org/ccid.html#support to > generate logs?
Sure, here you are. 1) Insert my smartcard. With testing versions: $ cd /tmp; touch a; gpg --sign /tmp/a (pinentry-qt appears, I enter my password, /tmp/a gets signed). Upgrading libpcsclite1 and pcscd to 1.6.6-2 and libccid to 1.4.1-2. # killall -9 pcscd pcscd: no process found $ sudo -s # killall -9 pcscd pcscd: no process found # #(sounds normal wrt pcsc-lite changelog) # LIBCCID_ifdLogLevel=0x000F # export LIBCCID_ifdLogLevel # pcscd --foreground --debug --apdu 00000000 debuglog.c:277:DebugLogSetLevel() debug level=debug 00000031 debuglog.c:306:DebugLogSetCategory() Debug options: APDU 00000131 configfile.l:245:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d 00000032 configfile.l:287:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/0comments 00000061 configfile.l:287:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin 00000030 pcscdaemon.c:553:main() pcsc-lite 1.6.6 daemon ready. 00004218 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x413C, PID: 0x8140 00000600 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x413C, PID: 0x8140 00000681 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x413C, PID: 0x8140 00026972 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0002 00001623 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x0483, PID: 0x2016 00001186 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x0B97, PID: 0x7761 00000856 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x0B97, PID: 0x7772 00001387 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00002283 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00001039 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00002300 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0002 00001026 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00001299 hotplug_libhal.c:319:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 25843842 winscard_msg_srv.c:202:ProcessEventsServer() Common channel packet arrival 00000024 winscard_msg_srv.c:214:ProcessEventsServer() ProcessCommonChannelRequest detects: 5 00000007 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 5 00000082 winscard_svc.c:296:ContextThread() Thread is started: dwClientID=5, threadContext @21B9660 00000024 winscard_svc.c:314:ContextThread() Received command: CMD_VERSION from client 5 00000012 winscard_svc.c:326:ContextThread() Client is protocol version 4:2 00000006 winscard_svc.c:346:ContextThread() CMD_VERSION rv=0x0 for client 5 00000169 winscard_svc.c:314:ContextThread() Received command: ESTABLISH_CONTEXT from client 5 00000020 winscard.c:193:SCardEstablishContext() Establishing Context: 0x103EB60 00000006 winscard_svc.c:402:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 5 00000135 winscard_svc.c:314:ContextThread() Received command: CMD_GET_READERS_STATE from client 5 00000063 winscard_svc.c:314:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5 00000017 winscard_svc.c:314:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5 00000011 winscard_svc.c:383:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5 00000031 winscard_svc.c:314:ContextThread() Received command: CMD_GET_READERS_STATE from client 5 00000060 winscard_svc.c:314:ContextThread() Received command: CMD_GET_READERS_STATE from client 5 00000037 winscard_svc.c:314:ContextThread() Received command: CMD_GET_READERS_STATE from client 5 00000143 winscard_svc.c:314:ContextThread() Received command: CMD_GET_READERS_STATE from client 5 00000031 winscard_svc.c:314:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5 60049158 winscard_svc.c:314:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5 00000034 winscard_svc.c:383:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5 00000041 winscard_svc.c:314:ContextThread() Received command: CMD_GET_READERS_STATE from client 5 00000056 winscard_svc.c:314:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5 60009131 winscard_svc.c:314:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5 00000025 winscard_svc.c:383:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5 00000032 winscard_svc.c:314:ContextThread() Received command: CMD_GET_READERS_STATE from client 5 00000036 winscard_svc.c:314:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5 60060140 winscard_svc.c:314:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 5 00000050 winscard_svc.c:383:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 5 00000072 winscard_svc.c:314:ContextThread() Received command: CMD_GET_READERS_STATE from client 5 00000101 winscard_svc.c:314:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 5 18837823 winscard_svc.c:306:ContextThread() Client die: 5 00000053 winscard.c:204:SCardReleaseContext() Releasing Context: 0x103EB60 00000019 winscard_svc.c:912:MSGCleanupClient() Thread is stopping: dwClientID=5, threadContext @21B9660 00000013 winscard_svc.c:918:MSGCleanupClient() Freeing SCONTEXT @21B9660 ^C22755588 pcscdaemon.c:679:signal_trap() Received signal: 2 00000028 pcscdaemon.c:684:signal_trap() Preparing for suicide 01000102 readerfactory.c:1251:RFCleanupReaders() entering cleaning function 00000034 winscard_svc.c:129:ContextsDeinitialize() remaining threads: 0 00000014 pcscdaemon.c:631:at_exit() cleaning /var/run/pcscd > Once pcscd is running in debug mode just run pcsc_scan. So here you have pcsc_scan stopped by CTRL-C after some minutes: $ pcsc_scan PC/SC device scanner V 1.4.17 (c) 2001-2009, Ludovic Rousseau <ludovic.rouss...@free.fr> Compiled with PC/SC lite version: 1.5.5 Scanning present readers... Waiting for the first reader...^C > Thanks Hereby signing after downgrading + $ killall -9 scdaemon . Cheers, OdyX -- Didier Raboud, proud Debian Developer. CH-1020 Renens o...@debian.org
signature.asc
Description: This is a digitally signed message part.