|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
[Muscle] removal of ccid usb reader ==> need to restart pcscd ?
From: Serge Koganovitsch (serge.koganovitsch
zetes.com)
Date: Wed Feb 09 2005 - 08:42:29 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
When I'm removing an USB CCID smartcard reader, I have to restart pcscd in order to use ANY attached reader again.
This is the pcscd log when plugging the reader in:
Feb 9 15:39:21 localhost kernel: usb 1-1: new full speed USB device using address 4
Feb 9 15:39:21 localhost pcscd: hotplug_libusb.c:371:HPAddHotPluggable Adding USB device: 001:004
Feb 9 15:39:21 localhost pcscd: readerfactory.c:1055:RFInitializeReader Attempting startup of ACR 38 00 00.
Feb 9 15:39:21 localhost pcscd: readerfactory.c:929:RFBindFunctions Loading IFD Handler 3.0
Feb 9 15:39:21 localhost pcscd: ifdwrapper.c:151:IFDOpenIFD POUET
Feb 9 15:39:21 localhost pcscd: ifdhandler.c:984:init_driver LogLevel: 0x0003
Feb 9 15:39:21 localhost pcscd: ifdhandler.c:995:init_driver DriverOptions: 0x0000
Feb 9 15:39:21 localhost pcscd: ifdhandler.c:67:IFDHCreateChannelByName lun: 0, device: usb:072f/90cc:libusb:001:004
Feb 9 15:39:21 localhost pcscd: ccid_usb.c:199:OpenUSBByName Manufacturer: Ludovic Rousseau (ludovic.rousseau
free.fr)
Feb 9 15:39:21 localhost pcscd: ccid_usb.c:209:OpenUSBByName ProductString: Generic CCID reader v0.9.2
Feb 9 15:39:21 localhost pcscd: ccid_usb.c:215:OpenUSBByName Copyright: This driver is protected by terms of the GNU General Public License version 2, or (at your option) any later version.
Feb 9 15:39:21 localhost pcscd: ccid_usb.c:350:OpenUSBByName Found Vendor/Product: 072F/90CC (ACR 38)
Feb 9 15:39:21 localhost pcscd: ccid_usb.c:352:OpenUSBByName Using USB bus/device: 001/004
Feb 9 15:39:21 localhost pcscd: ifdwrapper.c:157:IFDOpenIFD POUET
Feb 9 15:39:22 localhost pcscd: ifdhandler.c:239:IFDHGetCapabilities lun: 0, tag: 0xFAE
This is the pcscd log when unplugging the reader:
Feb 9 15:40:16 localhost kernel: usb 1-1: USB disconnect, address 4
Feb 9 15:40:16 localhost pcscd: ccid_usb.c:419:WriteUSB usb_bulk_write(001/004): No such device
Feb 9 15:40:16 localhost pcscd: ifdhandler.c:675:IFDHPowerICC lun: 0
Feb 9 15:40:16 localhost pcscd: ccid_usb.c:419:WriteUSB usb_bulk_write(001/004): No such device
Feb 9 15:40:16 localhost pcscd: ifdhandler.c:711:IFDHPowerICC PowerUp failed
Feb 9 15:40:16 localhost pcscd: eventhandler.c:407:EHStatusHandlerThread Card inserted into ACR 38 00 00
Feb 9 15:40:16 localhost pcscd: eventhandler.c:421:EHStatusHandlerThread Error powering up card.
Feb 9 15:40:16 localhost pcscd: hotplug_libusb.c:410:HPRemoveHotPluggable Removing USB device[0]: 001:004
Feb 9 15:40:16 localhost pcscd: eventhandler.c:110:EHDestroyEventHandler Stomping thread.
Feb 9 15:40:16 localhost pcscd: ccid_usb.c:419:WriteUSB usb_bulk_write(001/004): No such device
Feb 9 15:40:16 localhost pcscd: eventhandler.c:288:EHStatusHandlerThread Error communicating to: ACR 38 00 00
Feb 9 15:40:16 localhost pcscd: eventhandler.c:139:EHDestroyEventHandler Thread stomped.
Feb 9 15:40:16 localhost pcscd: readerfactory.c:1102:RFUnInitializeReader Attempting shutdown of ACR 38 00 00.
Feb 9 15:40:16 localhost pcscd: ifdhandler.c:194:IFDHCloseChannel lun: 0
Feb 9 15:40:16 localhost pcscd: ccid_usb.c:419:WriteUSB usb_bulk_write(001/004): No such device
This is my configuration:
Debian unstable
kernel 2.6.8-2
pcscd 1.2.9-beta6
ccid 0.9.2
I tested it with the ACS 38 and the SCM SCR 3310 CCID readers.
This does not occur on another debian unstable system with the same pcscd/ccid versions.
The only difference is that udev is running on my system. Could this be the problem ?
Best regards,
Serge
--
Serge Koganovitsch
Software Engineer
Personal Authentication and Security Services (PASS)
Zetes NV
Da Vinci Science Park
Straatsburgstraat 3
B - 1130 BRUSSELS
T +32 (0)2 790 38 13
F +32 (0)2 728 37 19
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]