OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [Muscle] removal of ccid usb reader ==> need to restart pcscd ?

From: Serge Koganovitsch (serge.koganovitschzetes.com)
Date: Wed Feb 23 2005 - 02:40:17 CST


On Tuesday 22 February 2005 22:28, Ludovic Rousseau wrote:
> Le Monday 21 February 2005 à 09:33:59, Serge Koganovitsch a écrit:
> > On Sunday 20 February 2005 21:17, Ludovic Rousseau wrote:
> > > Just to be clear:
> > > - readers A and B are connected
> > > - you remove reader A
> > > - is reader B still working?
> > reader A=ACS 38 CCID
> > reader B=Omnikey Cardman 4000 PCMCIA
>
> Reader B is not a USB reader. Ha ha! :-)

I removed the PCMCIA reader, restarted pcscd, plugged in 1 CCID reader.
After unplugging the device, no other USB device insertion is detected by pcscd.
I tried this with both the ACS ACR 38 and the SCM SCR 3310.
So the problem even occurs when only 1 reader is attached and removed.
I think there's an issue with my hotplug/udev configuration ?

After un plugging the ACS reader:
====================
Feb 23 09:34:06 localhost pcscd: ccid_usb.c:419:WriteUSB usb_bulk_write(001/002): No such device
Feb 23 09:34:06 localhost pcscd: ifdhandler.c:675:IFDHPowerICC lun: 0
Feb 23 09:34:06 localhost pcscd: ccid_usb.c:419:WriteUSB usb_bulk_write(001/002): No such device
Feb 23 09:34:06 localhost pcscd: ifdhandler.c:711:IFDHPowerICC PowerUp failed
Feb 23 09:34:06 localhost pcscd: eventhandler.c:407:EHStatusHandlerThread Card inserted into ACR 38 00 00
Feb 23 09:34:06 localhost pcscd: eventhandler.c:421:EHStatusHandlerThread Error powering up card.
Feb 23 09:34:06 localhost pcscd: hotplug_libusb.c:410:HPRemoveHotPluggable Removing USB device[0]: 001:002
Feb 23 09:34:06 localhost pcscd: eventhandler.c:110:EHDestroyEventHandler Stomping thread.
Feb 23 09:34:06 localhost pcscd: ccid_usb.c:419:WriteUSB usb_bulk_write(001/002): No such device
Feb 23 09:34:06 localhost pcscd: eventhandler.c:288:EHStatusHandlerThread Error communicating to: ACR 38 00 00
Feb 23 09:34:06 localhost pcscd: eventhandler.c:139:EHDestroyEventHandler Thread stomped.
Feb 23 09:34:06 localhost pcscd: readerfactory.c:1102:RFUnInitializeReader Attempting shutdown of ACR 38 00 00.
Feb 23 09:34:06 localhost pcscd: ifdhandler.c:194:IFDHCloseChannel lun: 0
Feb 23 09:34:06 localhost pcscd: ccid_usb.c:419:WriteUSB usb_bulk_write(001/002): No such device

After unplugging the SCM reader:
====================
Feb 23 09:35:02 localhost pcscd: ccid_usb.c:419:WriteUSB usb_bulk_write(001/004): No such device
Feb 23 09:35:02 localhost pcscd: eventhandler.c:288:EHStatusHandlerThread Error communicating to: SCR 3310 00 00
Feb 23 09:35:02 localhost pcscd: hotplug_libusb.c:410:HPRemoveHotPluggable Removing USB device[0]: 001:004
Feb 23 09:35:02 localhost pcscd: eventhandler.c:110:EHDestroyEventHandler Stomping thread.
Feb 23 09:35:02 localhost pcscd: ccid_usb.c:419:WriteUSB usb_bulk_write(001/004): No such device
Feb 23 09:35:02 localhost pcscd: eventhandler.c:288:EHStatusHandlerThread Error communicating to: SCR 3310 00 00
Feb 23 09:35:03 localhost pcscd: eventhandler.c:139:EHDestroyEventHandler Thread stomped.
Feb 23 09:35:03 localhost pcscd: readerfactory.c:1102:RFUnInitializeReader Attempting shutdown of SCR 3310 00 00.
Feb 23 09:35:03 localhost pcscd: ifdhandler.c:194:IFDHCloseChannel lun: 0
Feb 23 09:35:03 localhost pcscd: ccid_usb.c:419:WriteUSB usb_bulk_write(001/004): No such device

Thanks in advance,

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
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle