Re: Re: Unable to read from CCID USB reader

From: Mario Pavlov <freebsd_at_abv.bg>
Date: Wed, 20 May 2009 00:48:20 +0300 (EEST)
Hi,
I tired CURRENT and it's working for me :)
I only have one small issue...
when I unplug the reader pcscd goes to some sort of infinite loop
it would print this forever:

48111939 ccid_usb.c:491:WriteUSB() usb_bulk_write(/dev/usb//dev/ugen4.2): Device busy
00000020 ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612
00000010 eventhandler.c:333:EHStatusHandlerThread() Error communicating to: ACS ACR 38U-CCID 00 00
00402930 ccid_usb.c:491:WriteUSB() usb_bulk_write(/dev/usb//dev/ugen4.2): Device not configured
00000021 ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612
00000010 eventhandler.c:333:EHStatusHandlerThread() Error communicating to: ACS ACR 38U-CCID 00 00
00402953 ccid_usb.c:491:WriteUSB() usb_bulk_write(/dev/usb//dev/ugen4.2): Device not configured
00000016 ifdwrapper.c:469:IFDStatusICC() Card not transacted: 612
00000010 eventhandler.c:333:EHStatusHandlerThread() Error communicating to: ACS ACR 38U-CCID 00 00
...
...
...

firefox does almost the same thing:

[opensc-pkcs11] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No readers found
[opensc-pkcs11] reader-pcsc.c:906:pcsc_detect_readers: SCardEstablishContext failed: 0x8010001d
[opensc-pkcs11] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No readers found
[opensc-pkcs11] reader-pcsc.c:906:pcsc_detect_readers: SCardEstablishContext failed: 0x8010001d
[opensc-pkcs11] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No readers found
...
...
...

I guess this is not FreeBSD's fault, is it ?

thanks

regards,
mgp



 >On Monday 18 May 2009, Mario Pavlov wrote:
 >> Hi,
 >> no I haven't tried it on CURRENT
 >> should I do that ?
 >> is there something new in the USB stuff there ?
 >
 >There is a new USB stack in 8-current and a new libusb which is installed as a 
 >part of the base system.
 >
 >--HPS
 >
Received on Tue May 19 2009 - 19:48:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC