BlackBerry (Re: using libusb)

Mikhail T. mi at aldan.algebra.com
Sun Jan 20 09:34:51 PST 2008


понеділок 14 січень 2008, Kirk Davis, Ви написали:
=   I have ported the uberry driver from OpenBSD over to FreeBSD.  I have
= done a lot of changed and support for the new devices and am just
= working on some final changed before submitting it.  I abandoned the
= linux uberry driver as I didn't like the inteaction with libusb and
= running it from userspace.

Thanks, Kirk. Without knowing the details of your work, I can only emphasise 
once again, the API-compatibility with (the Linuxish) libusb is an absolute 
requirement.

I'm sure, the API can be argued to be lacking in some respect or another. I'd 
also accept the validity of arguments for making kernel-drivers for various 
devices (such as uberry) instead of exposing them as ugen and letting the 
user-space software deal with them.

However, without the libusb API-compatibility AND the sysctl-compatibility for 
Linuxulator we will not be able to compile/run the applications written for 
Linux (Solaris?).

Some time ago BSD decided to go its own way with video instead of adopting the 
video4linux framework. I don't know the arguments leading that decision, but 
I'm quite certain, they were and remain sound... Unfortunately, it also meant 
incompatibility with Linux-targeted apps, and we should not repeat the same 
mistake with USB.

uberry(4) is nice, but libusb is a must...

	-mi



More information about the freebsd-usb mailing list