libusb for linux-emulation

Hans Petter Selasky hselasky at c2i.net
Fri Oct 24 18:49:29 UTC 2008


On Friday 24 October 2008, Martin Laabs wrote:
> Hi,
>
> I'd like to run a program in linux-emulation (closed source ...)
> which uses the libusb. Is the structure (ioctls on devices and so on)
> sufficient compatible to use a linux libusb?
> Or is there any way to build a simple wrapper library to use the
> nativ libusb? (IMHO this is not possible.)
> Do you have any other idea?
>

No, you cannot use the linux libusb on FreeBSD. You need to use the FreeBSD 
compiled libusb. The USB kernel interfaces are quite different.

--HPS


More information about the freebsd-hackers mailing list