Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2008 20:41:57 +0100
From:      Thierry Herbelot <thierry.herbelot@free.fr>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: no device nodes when using the usb2 stack ?
Message-ID:  <200811272041.58374.thierry.herbelot@free.fr>
In-Reply-To: <200811271610.59642.hselasky@c2i.net>
References:  <200811271554.32390.thierry.herbelot@free.fr> <200811271610.59642.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
> > pwr=ON ugen1.1: <OHCI root HUB AcerLabs> at usbus1, cfg=0 md=HOST
> > spd=FULL (12Mbps) pwr=ON ugen2.1: <OHCI root HUB AcerLabs> at usbus2,
> > cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.1: <OHCI root HUB AcerLabs>
> > at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: <EHCI root HUB
> > 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811272041.58374.thierry.herbelot>