This port builds a kernel module with the 'ov511' USB webcam driver
using the adaptation layer in devel/linux-kmod-compat
The sources are taken from the Linux kernel 2.6.x
Mark BROKEN, does not compile:
mkdep -f .depend -a -nostdinc -D__KERNEL__ -DDRIVER_NAME=ov511
-DDEV_NAME=\"video\" -D_KERNEL -DKLD_MODULE
-I/usr/local/share/linux-kmod-compat/linux_compat -I. -I@ -I@/contrib/altq
-std=iso9899:1999 ov511.c
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c
/usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c
In file included from
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:44:
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:69:30: error:
dev/usb/usb_port.h: No such file or directory
In file included from
/usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c:44:
/usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:69:30: error:
dev/usb/usb_port.h: No such file or directory
mkdep: compile failed
New port linux-ov511-kmod, a usb webcam driver based on the linux
driver 'ov511' (from the linux sources) built on FreeBSD using
devel/linux-kmod-compat. The driver supports some ov511 based
webcams.
THIS IS EXPERIMENTAL CODE, TRY IT AT YOUR OWN RISK.
This is only for 6.x/7.x and at the moment only for i386.
Most bugs and limitations are due to linux-kmod-compat rather than
this port itself, so upgrading linux-kmod-compat (and rebuilding
this port) will most likely improve functionality and remove some bugs.
As usual if some of the port gurus wants to help fixing any mistakes
that i may have made in the port (or missing things, e.g. a suitable
warning message when the port is installed), i will be very grateful
(and can spend more time working on the emulation code).
In particular, i could not find a good site (ftp or web) to fetch
individual linux source files from, so i copied them on my web server
and used it as MASTER_SITE. This should be fixed though.