USB2 - libusb20 vs devel/libusb

Hans Petter Selasky hselasky at c2i.net
Sat Feb 14 08:24:51 PST 2009


On Saturday 14 February 2009, Fabian Keil wrote:
> Fabian Keil <freebsd-listen at fabiankeil.de> wrote:
> > Hans Petter Selasky <hselasky at c2i.net> wrote:
> > > On Sunday 08 February 2009, Fabian Keil wrote:
> > > > Vladimir Grebenschikov <vova at fbsd.ru> wrote:
> > > > > I've tried libusb, looks like it works more or less.
> > > > >
> > > > > PS. I didn't try yet libgphoto2 (it also uses ugen directly).
> > > >
> > > > gphoto2 stopped working for me with the new USB code.
> > > >
> > > > I needed the pictures quickly so I just moved back to
> > > > the old code. I can retry and report more details if
> > > > someone is interested.
> > >
> > > How did you try out the new USB code? Did you make sure that
> > > libusb0.1.x was mapped to libusb20 like described at
> > > http://wiki.freebsd.org/USB ?
> >
> > I wasn't aware of these steps, sorry. I just recompiled
> > everything and assumed that was it. I'll retry this week.
>
> That worked, thanks.
>
> I noticed another issue, though:
>
> fk at TP51 ~ $sudo kldload if_cdce
> kldload: can't load if_cdce: No such file or directory
> fk at TP51 ~ $dmesg | tail -1
> KLD if_cdce.ko: depends on usb - not available
>

Hi,

Try:

kldload usb2_ethernet_cdc

--HPS

PS: There is work going on with regard to HAL support.


More information about the freebsd-current mailing list