Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2009 17:16:26 +0300 (EEST)
From:      Mario Pavlov <freebsd@abv.bg>
To:        freebsd-usb@freebsd.org, freebsd-questions@freebsd.org,  freebsd-current@freebsd.org, freebsd-stable@freebsd.org
Subject:   Unable to read from CCID USB reader
Message-ID:  <2002614109.15779.1242569786248.JavaMail.apache@mail53.abv.bg>

next in thread | raw e-mail | index | archive | help
Hi,
I just got a CCID USB reader with my digital signature...unfortunately I can't make it work
I installed pcsc-lite and libccid from ports...
when I plug-in the reader I can see this:

ugen0: <vendor 0x072f CCID USB Reader, class 0/0, rev 1.10/1.00, addr 2> on uhub4

then I do this:

# pcscd -d -f
00000000 pcscdaemon.c:267:main() pcscd set to foreground with debug send to stderr
00000427 pcscdaemon.c:505:main() pcsc-lite 1.5.1 daemon ready.
00196162 hotplug_libusb.c:477:HPAddHotPluggable() Adding USB device: /dev/usb4:/dev/ugen0
00000043 readerfactory.c:1083:RFInitializeReader() Attempting startup of ACS ACR 38U-CCID 00 00 using /usr/local/lib/pcsc/drivers//ifd-ccid.bundle/Contents/FreeBSD/libccid.so
00000207 readerfactory.c:950:RFBindFunctions() Loading IFD Handler 3.0
00000036 ifdhandler.c:1377:init_driver() Driver version: 1.3.9
00000285 ifdhandler.c:1390:init_driver() LogLevel: 0x0003
00000218 ifdhandler.c:1410:init_driver() DriverOptions: 0x0000
00000008 ifdhandler.c:81:IFDHCreateChannelByName() lun: 0, device: usb:072f/90cc:libusb:/dev/usb4:/dev/ugen0
00054635 ccid_usb.c:238:OpenUSBByName() Manufacturer: Ludovic Rousseau (ludovic.rousseau@free.fr)
00000243 ccid_usb.c:248:OpenUSBByName() ProductString: Generic CCID driver
00000212 ccid_usb.c:254: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.
00033042 ccid_usb.c:410:OpenUSBByName() Found Vendor/Product: 072F/90CC (ACS ACR 38U-CCID)
00000529 ccid_usb.c:412:OpenUSBByName() Using USB bus/device: /dev/usb4//dev/ugen0
00002242 ccid_usb.c:782:get_data_rates() IFD does not support GET_DATA_RATES request: Unknown error: 0
05104167 ccid_usb.c:491:WriteUSB() usb_bulk_write(/dev/usb4//dev/ugen0): Operation timed out
05104154 ccid_usb.c:491:WriteUSB() usb_bulk_write(/dev/usb4//dev/ugen0): Operation timed out
05103197 ccid_usb.c:491:WriteUSB() usb_bulk_write(/dev/usb4//dev/ugen0): Operation timed out
00000025 ifdhandler.c:122:IFDHCreateChannelByName() failed
00000058 readerfactory.c:1122:RFInitializeReader() Open Port 200000 Failed (usb:072f/90cc:libusb:/dev/usb4)
00000013 readerfactory.c:995:RFUnloadReader() Unloading reader driver.
00000065 readerfactory.c:249:RFAddReader() ACS ACR 38U-CCID init failed.

apparently there is something wrong...looks like the ccid driver is trying to write to the USB device ? As far as I know you can't write to the reader, right ? And why is ccid trying to write at all ? I just plug-in the reader and start pcscd...
Could you help me guys, I just need to use my digital signature with firefox...
thank you

Regards
MGP

P.S.
# uname -a
FreeBSD home.mydomain.org 7.2-STABLE FreeBSD 7.2-STABLE #5: Sat May 16 08:00:31 EEST 2009     myuser@home.mydomain.org:/usr/obj/usr/src/sys/Ss-STABLE  amd64

and ports from yesterday



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2002614109.15779.1242569786248.JavaMail.apache>