BlackBerry (Re: using libusb)

Julian Elischer julian at elischer.org
Sun Jan 20 12:28:50 PST 2008


Mikhail T. wrote:
> понеділок 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.

we did not decide to not go with it...we just never did it..
there have been serveral attempts to get a v4l2 in FreeBSD but they all
stalled for ENOTIME.  there is even one that basically worked but 
never got integrated. It's in perforce somewhere.


> 
> uberry(4) is nice, but libusb is a must...
> 
> 	-mi
> 
> _______________________________________________
> freebsd-usb at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "freebsd-usb-unsubscribe at freebsd.org"



More information about the freebsd-usb mailing list