no device nodes when using the usb2 stack ?

Thierry Herbelot thierry.herbelot at free.fr
Thu Nov 27 12:15:04 PST 2008


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




More information about the freebsd-usb mailing list