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

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Use libusb20 to access /dev/ugen, unless you are doing something very simple.

--HPS



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