ov51x and the eye-toy camera
Ulrich Steffens
ulrich at barfuss-jerusalem.org
Sat Sep 16 18:18:10 UTC 2006
Am Samstag, den 16.09.2006, 17:30 +0100 schrieb perl105:
> This is the output I get from the above:
>
> Code:
> --------------------
> gil at gc-desktop:~/Downloads/ov51x-jpeg-0.5.2$ mv /lib/modules/`uname -r`/kernel/drivers/usb/media/ov511.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/ov511.ko.orig
>
> mv: cannot stat `/lib/modules/2.6.15-26-386/kernel/drivers/usb/media/ov511.ko': No such file or directory
>
> gil at gc-desktop:~/Downloads/ov51x-jpeg-0.5.2$ sudo depmod -a gil at gc-desktop:~/Downloads/ov51x-jpeg-0.5.2$ sudo modprobe ov519_decomp FATAL: Error inserting ov519_decomp (/lib/modules/2.6.15-26-386/extra/ov519_decomp.ko): Unknown symbol in module, or unknown parameter (see dmesg)
>
> gil at gc-desktop:~/Downloads/ov51x-jpeg-0.5.2$
>
>
> --------------------
>
>
> --
> perl105
>
thats because the path for the module is wrong.
the ov511 is in
/lib/modules/`uname -r`/kernel/drivers/media/video/ov511/
well, at least in edgy ;)
but it shouldn't be necessary to move them out of the way.
first, i see you'll be using an older version of the driver.
the recent driver is version 0.5.3
so here's what i would do:
i recommend using the nifty nautilus-open-terminal extension, that way
you right-click in nautilus and when selecting 'open terminal' a
terminal will open in the desired directory. you'll get it with
sudo apt-get install nautilus-open-terminal
# download the last version of the driver
http://www.rastageeks.org/downloads/ov51x-jpeg-0.5.3.tar.gz
# rightclick the package > extract.
# doubleclick the new directory and right > open terminal
# now in the terminal
# this compiles the modules
make
# this installs the modules
sudo make install
# this updates the modules list
# i'm not sure if its really necessary, the man-page says its obsolete
# but it can't hurt either ;)
sudo update-modules
#regenerate module dependencies
sudo depmod
# removing old driver
sudo rmmod ov511
# insert new driver
sudo insmod ./ov51x.ko
sudo insmod ./ov519_decomp.ko
# add the new driver
sudo modprobe ov51x
sudo modprobe ov519_decomp
# tell the kernel what to do when the camera is plugged in
sudo touch /etc/modprobe.d/ov51x
sudo gedit /etc/modprobe.d/ov51x
# fill in (must be one line)
install ov51x /sbin/modprobe --ignore-install ov51x; /sbin/modprobe
ov519_decomp
# save. close. done.
tell us if its working
- ulrich
More information about the ubuntu-users
mailing list