From owner-freebsd-usb@FreeBSD.ORG Thu Nov 27 20:15:04 2008 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 992101065672 for ; Thu, 27 Nov 2008 20:15:04 +0000 (UTC) (envelope-from thierry.herbelot@free.fr) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 299A38FC16 for ; Thu, 27 Nov 2008 20:15:03 +0000 (UTC) (envelope-from thierry.herbelot@free.fr) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by postfix1-g20.free.fr (Postfix) with ESMTP id 4498D2E2F213 for ; Thu, 27 Nov 2008 20:42:14 +0100 (CET) Received: from smtp1-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp1-g19.free.fr (Postfix) with ESMTP id 9796C1AB346 for ; Thu, 27 Nov 2008 20:42:12 +0100 (CET) Received: from mail.herbelot.nom (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp1-g19.free.fr (Postfix) with ESMTP id 5BB841AB321 for ; Thu, 27 Nov 2008 20:42:10 +0100 (CET) Received: from tulipe.herbelot.nom (tulipe.herbelot.nom [192.168.2.5]) by mail.herbelot.nom (8.14.1/8.14.1) with ESMTP id mARJg38i022091; Thu, 27 Nov 2008 20:42:04 +0100 (CET) From: Thierry Herbelot To: Hans Petter Selasky Date: Thu, 27 Nov 2008 20:41:57 +0100 User-Agent: KMail/1.9.10 References: <200811271554.32390.thierry.herbelot@free.fr> <200811271610.59642.hselasky@c2i.net> In-Reply-To: <200811271610.59642.hselasky@c2i.net> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200811272041.58374.thierry.herbelot@free.fr> Cc: freebsd-usb@freebsd.org Subject: Re: no device nodes when using the usb2 stack ? 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: Thu, 27 Nov 2008 20:15:04 -0000 Le Thursday 27 November 2008, Hans Petter Selasky a écrit : > On Thursday 27 November 2008, Thierry Herbelot wrote: > > Hello, > > > > I'm plying with the new usb2 stack on a -current machine, but > > the "/dev/ugen%u.%u" device nodes do not seem to be visible : > > > > # usbconfig list > > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > > pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST > > spd=FULL (12Mbps) pwr=ON ugen2.1: at usbus2, > > cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.1: > > at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: > AcerLabs> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON # ll /dev/u* > > lrwxr-xr-x 1 root wheel 6 Nov 27 07:45 /dev/urandom -> > > random crwxrwxrwx 1 root operator 0, 88 Nov 27 07:45 /dev/usb > > > > is this expected ? or did I forget to mount some usbfs ? > > Hi, > > The devices are all invisible or created by demand. Some work is being done > to make them visible again. OK : I just wondered if I missed some configuration steps. > > Use libusb20 to access /dev/ugen, unless you are doing something very > simple. will do ASAP : I will try converting one introductory libusb example by Greg Kroah-Hartman (http://www.linuxjournal.com/node/7466/print) thanks for the libusb wrapper ;-) TfH > > --HPS