v4l-compat_20090303.tgz is an archive of the source code (and a firmware) used in this project. However, it does not contain everything required to create a working driver.
FreeBSD 7.1 and accompanying kernel sources will be required.
The code of this project currently makes use of some kernel functions that are not available in FreeBSD vesions earlier than 7.1.
Code has been written that does not rely upon these functions, but the resulting driver behaves slightly differently. Utilities/applications that interact with dvb devices would need some modification before working correctly with this version of the driver.
This project makes use of the Linux compatibility code provided in the new USB stack developed by Hans Petter Selasky. The FreeBSD 7 version of this project depends on an earlier version of this new USB stack rather than the version found in FreeBSD 8.
This means that some changes to kernel source need to be made.
The required usb stack code can be obtained from Hans Petter Selasky's subversion server. See http://www.selasky.org/hans_petter/usb4bsd/index.html for details.
Alternatively, use this export from Hans' repository: i4b.tgz.
A Makefile found in the repository checkout/export source code
in i4b/trunk/i4b/FreeBSD.usb/ can be used to install the new
USB stack source. The command make S=../src package
will prepare the code for installation. As root, the
make install
command should install the code.
The kernel and usb modules will then need rebuilding.
Note that using device udbp
doesn't seem to work.
Also note that the sysutils/hal port will no longer build using the new usb.h (/usr/include/dev/usb/usb.h). If you need hal to be built (it is required by numerous other ports), keep a copy of the original usb.h (perhaps as usb-old.h), and adjust the hal source file hf-usb.c (ports/sysutils/hal/work/hal-0.5.11/hald/freebsd/hf-usb.c) to use the original (old) version of usb.h.