libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?

Hans Petter Selasky hps at selasky.org
Tue Aug 12 19:06:26 UTC 2014


On 08/12/14 21:01, CeDeROM wrote:
> On Tue, Aug 12, 2014 at 8:56 PM, Hans Petter Selasky <hps at 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



More information about the freebsd-usb mailing list