Hello, Antonio Ospite wrote: > libusb_set_auto_detach_kernel_driver() is available in libusb-1.0 since > v1.0.16 dated 2013-07-11, according > to /usr/share/doc/libusb-1.0-0/changelog.gz > > I see that the kfreebsd ports use a compatible library named libusb2, > where can I find more info about it? > > Can the libusb-1.0 library from http://libusb.info/ be used at all on > kfreebsd?
That does not support the kernel of FreeBSD. So FreeBSD had its own implementation of the libusb 0.1 and 1.0 APIs. FreeBSD just calls it libusb: http://www.freebsd.org/cgi/man.cgi?query=libusb&apropos=0&sektion=3&manpath=FreeBSD+10.2-RELEASE&arch=default&format=html The Debian package is called libusb2-dev for some reason I don't know(?); the library is in a package called libusb3 to match the current SONAME which is .3 The latest usb.h upstream is unchanged since 2013-03-13 so it has no libusb_set_auto_detach_kernel_driver: http://svnweb.freebsd.org/base/head/lib/libusb/usb.h?view=markup Regards, -- Steven Chamberlain ste...@pyro.eu.org
signature.asc
Description: Digital signature