[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/4] usb-host: raise libusbx minimum version to
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 4/4] usb-host: raise libusbx minimum version to 1.0.13 |
Date: |
Fri, 03 May 2013 08:09:43 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
Hi,
> I'm wondering how best to address QEMU's libusb support on FreeBSD,
> and discovered the libusb vs. libusbx saga. Is it safe to assume that
> in the Linux world "pkg-config libusb-1.0" is generally going to refer
> to libusbx?
In recent linux distributions yes.
> FreeBSD has its own libusb-compatible implementation, but currently
> lacks libusb_get_port_path and perhaps others, and if libusbx is
> virtually universal on Linux we presumably want to grow these same
> interfaces.
Yes.
Even better would be to get the freebsd support merged into libusbx.
/me suspects the reason why freebsd has its own implementation is
basically the same why the libusbx exists in the first place: unfriendly
libusb upstream.
So if you tried + failed to merge the freebsd bits to libusb in the past
it is worth trying again to get them into libusbx, then switch over
freebsd to libusbx too.
cheers,
Gerd