|
下载地址:http://www.rastageeks.org/ov51x-jpeg/index.php/Ov51xJpegHackedSource
安装说明:
Ov51xJpegHackedInstall
[edit]
Installation Instructions
Basically, you need a kernel with its headers, and the videodev module built with video4linux option (try modprobe videodev as root).
Then, as normal user, type in the ov51x-jpeg-x.x.x directory:
% make
and, as root:
# make install
# update-modules
# modprobe ov51x
# modprobe ov519_decomp
'update-modules' is named 'update-modules.dep' in some distributions (i.e. Suse).
or if this fails for any reason:
# insmod ./ov51x.ko
# insmod ./ov519_decomp.ko
from the source directory.
On Fedora, make sure 'kernel-devel' is installed. If the 'make' command doesn't build anything, first go to the kernel-headers directory (i.e. '/usr/src/kernels/2.6.16-1.2069_FC4-i686') and type 'make'. This might produce an error, but at least makes sure ov51x will build. Instead of 'update-modules', use 'depmod -a'.
That's it, you got your camera ready to work with your favorite v4l application!
Note: A cool thing to do is to have the ov519_decomp loaded after each time you load the ov51x module. With kernels 2.6, it is really easy: all you have to do is to put a text file at /etc/modprobe.d that has this line: 'install ov51x /sbin/modprobe --ignore-install ov51x; /sbin/modprobe ov519_decomp'. To do so, just do the following things:
# echo "install ov51x /sbin/modprobe --ignore-install ov51x; /sbin/modprobe ov519_decomp" \
> /etc/modprobe.d/ov51x
# update-modules
(The \ is only to tell that the two lines have to be typed in a row.. But it would not fit the page here ;) )
Note: To work around the kopete for KDE 3.5 green image bug, you should add this parameter: /sbin/modprobe --ignore-install ov51x force_palette=13, see FAQ for more details.
Note: Here, debian sid, this does no longer seems to work.. Instead it worked adding the same line to /etc/modprobe.conf
Then, if you unload ov51x and ov519_decomp and do modprobe ov51x, you should see this:
16:55 root@duppy /home/toots# modprobe ov51x
/home/toots/Sources/ov51x-jpeg/ov51x-jpeg-0.2/ov51x.c: USB OV519 video device found
/home/toots/Sources/ov51x-jpeg/ov51x-jpeg-0.2/ov51x.c: Sensor is an OV7648
/home/toots/Sources/ov51x-jpeg/ov51x-jpeg-0.2/ov51x.c: Device at usb-0000:00:11.2-1 registered to minor 1
usbcore: registered new driver ov51x
/home/toots/Sources/ov51x-jpeg/ov51x-jpeg-0.2/ov51x.c: v1.65-1.11-mark : ov51x USB Camera Driver
/home/toots/Sources/ov51x-jpeg/ov51x-jpeg-0.2/ov519_decomp.c: v1.3 : OV519 JPEG Decompression Module
That's it!
只是本人水平太差不知道怎么安装,请大大总结一下贴个中文的安装说明!
100%能用的驱动,我瞎搞都让摄像头的指示灯亮了起来。 |
|