From owner-freebsd-usb@FreeBSD.ORG Tue May 19 21:48:24 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 630B910656CB; Tue, 19 May 2009 21:48:24 +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 D0A578FC1D; Tue, 19 May 2009 21:48:23 +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 8850087D2B; Wed, 20 May 2009 00:48:32 +0300 (EEST) DomainKey-Signature: a=rsa-sha1; s=smtp-out; d=abv.bg; c=simple; q=dns; b=r23O7NjBagmweFQhOZVZIsME8cQpcUzdnLwaZuumxSslTP+5gRNiHzHuhNl1B3GwS GiiTClDXz+n7gO6dXqBLDCoYr0NCqxz8Kl7/RIN39nKch8jFm++fd5Ofn2S8Kkxvog6 gwJolfTztrj76sqAp7yCjzB7p1FTfhWu7KHxoRs= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abv.bg; s=smtp-out; t=1242769712; bh=IBS1n4KDKxRvLWooYBbAmZB22o22GtcFumxRKfB0IHA=; h=Date:From:To:Cc:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:DKIM; b=LBKpD7HZlr7J2GhL6kd+sZS9Chk23D3NAIKa86oEwheWeIVduvGT8rUGppgZm36U+ 0LTZj2tMCkCB6ipan1yj5qrDS8GUoOqj/XaVm8f+lLg4Y2+MNOYwziETZOY0NBxE3/ uJZTGoZ+QVfscP1QBZY59c82pDAmdJQY1CDFOfn8= Received: from mail53.abv.bg (localhost.localdomain [127.0.0.1]) by mail53.abv.bg (Postfix) with ESMTP id 9B9F31E4B0A; Wed, 20 May 2009 00:48:20 +0300 (EEST) Date: Wed, 20 May 2009 00:48:20 +0300 (EEST) From: Mario Pavlov To: Hans Petter Selasky Message-ID: <438704678.26539.1242769700629.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: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Re: Unable to read from CCID USB reader X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 21:48:25 -0000 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 >