From owner-freebsd-usb@FreeBSD.ORG Sat Feb 7 12:01:30 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 940D11065673 for ; Sat, 7 Feb 2009 12:01:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id 2AE718FC1E for ; Sat, 7 Feb 2009 12:01:29 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=ar-1rcyr13IA:10 a=6I5d2MoRAAAA:8 a=aUtpYyahD_PAP6mHxZAA:9 a=0L6m7RkhB7rizsn521kA:7 a=5zuL62ZlsPmfYckiZ8VY2nKHeOcA:4 a=LY0hPdMaydYA:10 Received: from [193.217.167.198] (account mc467741@c2i.net HELO [10.0.0.186]) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1196805159; Sat, 07 Feb 2009 13:01:28 +0100 From: Hans Petter Selasky To: Mike Tancsa Date: Sat, 7 Feb 2009 13:03:52 +0100 User-Agent: KMail/1.9.7 References: <200902062126.n16LQ0Gc013030@lava.sentex.ca> <200902071036.32995.hselasky@c2i.net> <200902071154.n17BsE2h016610@lava.sentex.ca> In-Reply-To: <200902071154.n17BsE2h016610@lava.sentex.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902071303.53394.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: eToken and USB2 (ugen issue?) 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: Sat, 07 Feb 2009 12:01:31 -0000 On Saturday 07 February 2009, Mike Tancsa wrote: > At 04:36 AM 2/7/2009, Hans Petter Selasky wrote: > >Hi Mike, > > > >The ugen devices are invisible and dynamically created. > > > >Try open /dev/ugen0.2.0.0 (control endpoint) > > > >Also you need to re-link your application with > > "dev/usb2/include/usb2_ioctl.h" > > > >Format is /dev/ugen... > > > >I recommend using libusb20 to access your USB device. > > > >See "man libusb20". > > Hi, > Thanks for the response. These are all out of the ports > (openct,opensc). Are there any pointers somewhere on how to best > teach old apps about the new USB2 world on FreeBSD ? > Hi Mike, Most commonly the following advice helps: Add to /etc/libmap.conf: libusb-0.1.so libusb20.so libusb-0.1.so.8 libusb20.so.1 Also see: http://wiki.freebsd.org/USB --HPS