Fixing the problems of Hercules Deluxe Webcam with Ubuntu 8.10 Intrepid Ibex

Note: The same tutorial can be found in English.

You know, new distribution, new problems (like the one we solved in the previous post)

Well with the new layout, added more nosequants drivers for many webcams. The case is that my webcam Hercules Deluxe has been out quite bad stop, as the system loads the webcam to plug some modules that use the camera in question.

After I carefully read the information webcam module (driver by selling proprietary system that does not call here). I got the webcam to work again, and I ran the Ubuntu 8.10 Intrepid Ibex. Eus are the steps I have done.

0) PRELIMINARY

Verify that your operating system detects the webcam. We will do this using a program like the one described in section 5).

But the supports, type with the webcam connected to your computer the following order

lsusb

I check on this website if the result gives (something like 05a9: 4519 OmniVision Technologies, Inc.) is supported. If this is the case he continues to in paragraph 1 of this tutorial. If it is the case, do a google search with the result that you obtained and followed by the word ubuntu linux or to find how to do the work.

1) Verify that the system loads other modules:

Plug the camera

lsmod | grep ov

If you get a result like this is that the system loads some other modules to load instead of what we want to install (ov51x-jpeg)

gspca_ov519 23812 0
gspca_main 29312 1 gspca_ov519
usbcore 148848 8 snd_usb_audio,snd_usb_lib,gspca_ov519,gspca_main,usbhid,ehci_hcd,uhci_hcd

2) Ensure the load module that we do not want to load

2.1) This option is what we recommend. If you had any problems try paragraph 2.2, in that instead of preventing the load module that is done is removed.

In a terminal write

echo -e "# replaced by ov51x_jpeg\nblacklist gspca_ov519" | sudo tee -a /etc/modprobe.d/blacklist

Now we have to unplug the camera and plug it in again and see if it does not load the mòdulgspca_ov519. This check the draw as specified in paragraph 1.

2.2) If the previous step will not work and we still loads modules unwanted have the option to use brute force to remove the form and we do not want to load

Thus, other gspca_ov519 the form (we do what it says in English and Unload)

rmmod gspca_ov519

So look where you want to remove the modules of the system

find /lib/modules/`uname -r` -name '*ov5*'

And kept in a folder named 'backup.modules.webcams' to be removed later if the user so chooses

mkdir ~/backup.modules.webcams
mv /lib/modules/`uname -r`/kernel/ubuntu/misc/media/ov511 ~/backup.modules.webcams
mv /lib/modules/`uname -r`/kernel/drivers/media/video/gspca/ ~/backup.modules.webcams

3) We can now compile the new module ov51x-jpeg

Create the directory to perform the compilation
mkdir ~/hercules
cd ~/hercules

Download the source and decompress
wget http://www.rastageeks.org/downloads/ov51x-jpeg/ov51x-jpeg-1.5.9.tar.gz
tar -xvf ov51x-jpeg-1.5.9.tar.gz
cd ov51x-jpeg-1.5.9

Compile the program
make
sudo make install

Install the corresponding module
sudo depmod -A
sudo modprobe ov51x-jpeg

We clean: remove the directory
rm -r ~/hercules

4) Because the webcam works with Skype write the following parameter
echo "options ov51x-jpeg forceblock=1" | sudo tee -a /etc/modprobe.d/options

5) Optionally to prove that the modulus of the webcam is correctly installed can install a program like wxcam we can get off with the dev package from here.

6) Notes

We should mention that sometimes fails and the form is completely green or black. To address this issue in sufficient unplug the webcam and re-plug in (plug and unplug).

In addition to this, if we have not worked previously and we used the method of plugging / unplugging the webcam, you should restart Skype to work.

You must also commented that normally, when you upgrade to a new kernel, the module installed jpeg-0v51x stops working and must repeat the process again.

Share on Facebook Share on Twitter Share La Tafanera Share this on Delicious Share on Google

Notes related

  • No related notes.

Arreglant els problemes de la Webcam Hercules Deluxe amb l'Ubuntu 8.10 Intrepid Ibex 10 Comments on "Fixing the problems of Hercules Deluxe Webcam with Ubuntu 8.10 Intrepid Ibex"


  1. Chris's Gravatar Chris
    | Enllaç December 20, 2008 at 16:28 | Link

    Still does not work for me! Driver is installed, but no / dev/video0 was created. So Skype lets me choose: OV519 USB Camera (dev/video0) but the picture stays black.

    lsusb:
    Bus 002 Device 004: ID 05a9: 4519 OmniVision Technologies, Inc..

  2. Gravatar's shooting pulling
    | Enllaç February 10, 2009 at 20:37 | Link

    I used the same camera for a trust?

    thanks

  3. Joseka's gravatar Joseka
    | Enllaç April 15, 2009 at 14:58 | Link

    Antes de nada, gracias por las molestias've publicado of the tutorial. Can not get install the Hercules Webcam, intentando pero estoy aprendiendo bastante dispositivos install them from operating on Linux (except for 2 weeks with him, well that still holds quite limp).

    Let's See If You Can ECHARME cable, Uncle ... Before the instalarle módulos ov51x_jpeg and delete them to bring in for defects, many of the programs that access the podían tengo webcam (lsusb if a remote control, hence La Tengo with the same product ID and Vendor ID), but with the image of the peculiaridad saline intercaladas with gray lines (in aMSN, or in other podían smell), which probe well recommended to install the module.

    Resumiendo:
    Gspca_ov519 module also had similar number of others, but they also remove them, only the recommended quedándome (Mandanda a lsmod the ov51x_jpeg is present and is in utilizando "videodev" and "usbcore", but nobody uses it to him lol ( that suena raro xD).

    - What SHOULD do well to check that everything is installed and detected?
    - ¿Maybe detection in beech influenced by the amenities've eliminated the fear módulos defects?

    Thanks in advance, William.
    A greeting.

  4. Joseka's gravatar Joseka
    | Enllaç April 17, 2009 at 15:41 | Link

    Por cierto, ya is not necessary. I installed the 8:04 conseguido sin and I perceived one that runs the webcam decentemente.

  5. | Enllaç January 11, 2010 at 1:11 | link

    I have a Hercules Deluxe camera and I followed the steps to install Ubuntu 9:10, but I could not have happened because "make" tells me

    make-C / M = lib/modules/2.6.31-17-generic/build / modules home/albert/hercules/ov51x-jpeg-1.5.9
    make [1]: Entering directory `/ usr/src/linux-headers-2.6.31-17-generic '
    CC [M] / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function 'create_proc_ov511_cam':
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 677: error: implicit declaration of function 'info'
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 681: error: 'struct proc_dir_entry' has no member named 'owner'
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 689: error: 'struct proc_dir_entry' has no member named 'owner'
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 700: error: 'struct proc_dir_entry' has no member named 'owner'
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 712: error: 'struct proc_dir_entry' has no member named 'owner'
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function 'proc_ov511_create':
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 766: error: 'struct proc_dir_entry' has no member named 'owner'
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function 'ov51x_clear_snapshot':
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 1691: error: implicit declaration of function 'warn'
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function 'ov51x_v4l1_ioctl':
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 6386: warning: passing argument 1 of 'video_usercopy' from incompatible pointer type
    include/media/v4l2-ioctl.h: 298: note: expected 'struct file *' but argument is of type 'struct inode *'
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 6386: warning: passing argument 2 of 'video_usercopy' makes integer from pointer without a cast
    include/media/v4l2-ioctl.h: 298: note: expected 'unsigned int' but argument is of type 'struct file *'
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 6386: warning: passing argument 4 of 'video_usercopy' makes pointer from integer without a cast
    include/media/v4l2-ioctl.h: 298: note: expected 'v4l2_kioctl' but argument is of type 'long unsigned int'
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 6386: error: too many arguments to function 'video_usercopy'
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: At top level:
    / home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: 6651: warning: initialization from incompatible pointer type
    make [2]: *** [/ home/albert/hercules/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o] Error 1
    make [1]: *** [_module_/home/albert/hercules/ov51x-jpeg-1.5.9] Error 2
    make [1]: Leaving directory `/ usr/src/linux-headers-2.6.31-17-generic '
    make: *** [all] Error 2
    albert @ albert-desktop: ~ / C $ ^ hercules/ov51x-jpeg-1.5.9
    albert @ albert-desktop: ~ / C $ ^ hercules/ov51x-jpeg-1.5.9
    albert @ albert-desktop: ~ / $ hercules/ov51x-jpeg-1.5.9

    What can I do?
    AH, thanks for the help!

Write a comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Translator

Outbreak Chart Hosting it on your blog. If you do not have one, it for design

Index

Archive