Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 21:06:49 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        CeDeROM <cederom@tlen.pl>
Cc:        bsd-ham@mailman.qth.net, "freebsd-usb@FreeBSD.org" <freebsd-usb@freebsd.org>
Subject:   Re: libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?
Message-ID:  <53EA65C9.7000100@selasky.org>
In-Reply-To: <CAFYkXjkCQhD33dEa0HFc6jYSjcqtbzwcW0yemjh2njvbD8Jx1A@mail.gmail.com>
References:  <CAFYkXj=Amy2TsccQS-BWUT4-qaRBOy26-XGy9LYyS_FZ0Bs4LA@mail.gmail.com>	<53EA635B.1060003@selasky.org> <CAFYkXjkCQhD33dEa0HFc6jYSjcqtbzwcW0yemjh2njvbD8Jx1A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/12/14 21:01, CeDeROM wrote:
> On Tue, Aug 12, 2014 at 8:56 PM, Hans Petter Selasky <hps@selasky.org> wrote:
>>> I am working on GNURadio port for FreeBSD and try to make upstream
>>> patches :-) The libusb_handle_events_completed() function seemd to be
>>> missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
>>> there any plans to add or wrap this function?
>>
>> It's there, but you maybe have to upgrade to -stable.
>> --HPS
>
> ACK! How should it be handled on previous releases? Is
> libusb_handle_events(NULL); instead enough? :-)

Hi,

It cannot.

The most simple solution is to only checkout libusb from -stable and:

cd libusb
make all install

That's it.

--HPS




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