From owner-freebsd-current@FreeBSD.ORG Sun May 17 14:33:54 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9C6B1065680; Sun, 17 May 2009 14:33:54 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from smtp-out.abv.bg (smtp-out.abv.bg [194.153.145.80]) by mx1.freebsd.org (Postfix) with ESMTP id 30DD48FC12; Sun, 17 May 2009 14:33:54 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from mail53.abv.bg (mail53.ni.bg [192.168.151.29]) by smtp-out.abv.bg (Postfix) with ESMTP id 256C287B64; Sun, 17 May 2009 17:16:37 +0300 (EEST) DomainKey-Signature: a=rsa-sha1; s=smtp-out; d=abv.bg; c=simple; q=dns; b=Lmx7NW547QVCqK/ajTaOgqEmBwcK8ySvdGwBV0hUOdNzqLHtUUm0pjz0Lp8GJ5iRJ eV6FFUHNrRnoKXpOuKlLUDBMkhrWdR/NKvloZRhldR5uXVs7cmhGpNCW52SjqgmdvgO WILePWUrl7wSRLmuK1p3qlgE0VrNeOrEFX6aFMs= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abv.bg; s=smtp-out; t=1242569797; bh=2kctKL6kjIfl74ejrWsFRju/QommEQpJc0Bcr2xCoC8=; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:DKIM; b=bY3gtOboyyfc+g2nLLcgkgBoJplgflffg2mfZGLsoUmgzr0Esimhm0QC9MFxoX7HI bKy05oRolupwq2FUAJoxZdnRNARKdHNSe+4BjnPc8WQ+I1OAlZhAXe2Pm/zuwY/fHn sfK2ABAq8TkRp0KkSe12Oddce+htWZftpLctV9lU= Received: from mail53.abv.bg (localhost.localdomain [127.0.0.1]) by mail53.abv.bg (Postfix) with ESMTP id 3D36D1E4B0A; Sun, 17 May 2009 17:16:26 +0300 (EEST) Date: Sun, 17 May 2009 17:16:26 +0300 (EEST) From: Mario Pavlov To: freebsd-usb@freebsd.org, freebsd-questions@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Message-ID: <2002614109.15779.1242569786248.JavaMail.apache@mail53.abv.bg> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Priority: 3 X-Mailer: AbvMail 1.0 X-Originating-IP: 78.128.21.208 Cc: Subject: Unable to read from CCID USB reader X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 14:33:59 -0000 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: 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