Package: pcsc-tools Version: 1.4.15-1 Severity: important
Hi, I am attempting to use pcsc_scan with an ACR112 reader and it doesn't work... I am unsure whether the problem comes from pcsc-tools, pcscd or libccid but the ill effects are shown when using pcsc_scan. $pcsc_scan |head PC/SC device scanner V 1.4.15 (c) 2001-2009, Ludovic Rousseau <ludovic.rouss...@free.fr> Compiled with PC/SC lite version: 1.4.102 Scanning present readers... 0: ACS ACR 38U-CCID 00 00 Scanning present readers... 0: ACS ACR 38U-CCID 00 00 Scanning present readers... 0: ACS ACR 38U-CCID 00 00 Scanning present readers... ... And that goes on until I kill it. Is it possible to patch pcsc_scan so that it doesn't flood like that in case it encounters any error? Ahead of that flooding problem, do you have any idea of what is going on here? Why isn't it awaiting for a tag to be put on the reader? Thanks in advance for your help, Florent $lsusb |grep ACR Bus 003 Device 004: ID 072f:90cc Advanced Card Systems, Ltd ACR38 SmartCard Reader $dpkg -l pcsc\* libccid Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-========================-========================-================================================================ ii libccid 1.3.9-1 PC/SC driver for USB CCID smart card readers un pcsc-ifd-handler <none> (no description available) ii pcsc-tools 1.4.15-1 Some tools to use with smart cards and PC/SC ii pcscd 1.5.2-1 Middleware to access a smart card using PC/SC (daemon side) $pcscd --foreground --debug --apdu 00000000 pcscdaemon.c:267:main() pcscd set to foreground with debug send to stderr 00000305 debuglog.c:239:DebugLogSetLevel() debug level=debug 00000174 debuglog.c:268:DebugLogSetCategory() Debug options: APDU 00001385 pcscdaemon.c:505:main() pcsc-lite 1.5.2 daemon ready. 00174784 hotplug_libhal.c:307:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0002 00002085 hotplug_libhal.c:307:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00002873 hotplug_libhal.c:307:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 00002873 hotplug_libhal.c:307:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 04844004 hotplug_libhal.c:307:get_driver() Looking a driver for VID: 0x072F, PID: 0x90CC 00000026 hotplug_libhal.c:342:HPAddDevice() Adding USB device: usb_device_72f_90cc_noserial_if0 01001062 readerfactory.c:999:RFInitializeReader() Attempting startup of ACS ACR 38U-CCID 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so 00000519 readerfactory.c:873:RFBindFunctions() Loading IFD Handler 3.0 00000101 ifdhandler.c:1377:init_driver() Driver version: 1.3.9 00000853 ifdhandler.c:1390:init_driver() LogLevel: 0x0003 00000743 ifdhandler.c:1410:init_driver() DriverOptions: 0x0000 00000022 ifdhandler.c:81:IFDHCreateChannelByName() lun: 0, device: usb:072f/90cc:libhal:/org/freedesktop/Hal/devices/usb_device_72f_90cc_noserial_if0 00064811 ccid_usb.c:236:OpenUSBByName() Manufacturer: Ludovic Rousseau (ludovic.rouss...@free.fr) 00000758 ccid_usb.c:246:OpenUSBByName() ProductString: Generic CCID driver 00000747 ccid_usb.c:252:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version. 00068525 ccid_usb.c:408:OpenUSBByName() Found Vendor/Product: 072F/90CC (ACS ACR 38U-CCID) 00000434 ccid_usb.c:410:OpenUSBByName() Using USB bus/device: 003/005 00003625 ccid_usb.c:780:get_data_rates() IFD does not support GET_DATA_RATES request: Success 00002992 ifdhandler.c:334:IFDHGetCapabilities() tag: 0xFB0, usb:072f/90cc:libhal:/org/freedesktop/Hal/devices/usb_device_72f_90cc_noserial_if0 (lun: 0) 00001422 readerfactory.c:248:RFAddReader() Using the pcscd polling thread 00007582 ifdhandler.c:964:IFDHPowerICC() action: PowerUp, usb:072f/90cc:libhal:/org/freedesktop/Hal/devices/usb_device_72f_90cc_noserial_if0 (lun: 0) 00051047 Card ATR: 3B BE 96 00 00 41 03 00 00 00 00 00 00 00 00 00 02 90 00 00001267 ifdhandler.c:334:IFDHGetCapabilities() tag: 0xFAE, usb:072f/90cc:libhal:/org/freedesktop/Hal/devices/usb_device_72f_90cc_noserial_if0 (lun: 0) 00005432 ifdhandler.c:377:IFDHGetCapabilities() Reader supports 1 slot(s) 18385431 winscard_msg_srv.c:239:SHMProcessEventsServer() Common channel packet arrival 00000054 winscard_msg_srv.c:248:SHMProcessEventsServer() SHMProcessCommonChannelRequest detects: 7 00000020 pcscdaemon.c:147:SVCServiceRunLoop() A new context thread creation is requested: 7 00000077 winscard_svc.c:133:ContextThread() Thread is started: 7 00000568 winscard_msg_srv.c:317:SHMProcessEventsContext() command CMD_VERSION received by client 7 00000024 winscard_svc.c:189:ContextThread() Client is protocol version 2:0 00000402 winscard_msg_srv.c:317:SHMProcessEventsContext() command ESTABLISH_CONTEXT received by client 7 00000068 winscard.c:242:SCardEstablishContext() Establishing Context: 17019170 ... And when I kill it: 01561238 winscard_msg_srv.c:306:SHMProcessEventsContext() Client has disappeared: 7 00000019 winscard_svc.c:146:ContextThread() Client die: 7 00000007 winscard.c:253:SCardReleaseContext() Releasing Context: 17019170 -- System Information: Debian Release: 5.0 Architecture: i386 (i686) Kernel: Linux 2.6.29-rc4 (PREEMPT) Locale: lang=fr...@euro, lc_ctype=fr...@euro (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages pcsc-tools depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libgtk2-perl 1:1.190-1 Perl interface to the 2.x series o ii libpcsc-perl 1.4.7-1+b1 Perl interface to the PC/SC smart ii libpcsclite1 1.5.2-1 Middleware to access a smart card pcsc-tools recommends no packages. pcsc-tools suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org