Page 2 of 17 FirstFirst 123412 ... LastLast
Results 11 to 20 of 162

Thread: Howto Get Eyetoy Webcam working for Ubuntu

  1. #11
    Join Date
    Jan 2007
    Beans
    8

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    I have taken a look a little bit deeper: recall my problem was I could
    not get my Hercules Webcam classic working from bootup but only by
    typing the single "insmod" line in the shell.

    Having added to /etc/modules the following lines:

    videodevice
    i2c_core

    starts these two modules as expected, and the modules can be seen through
    doing a "sudo lsmod". The module for the camera itself, which is ov51x,
    gets loaded at bootup correctly if I have the webcam plugged in in my USB.

    The problem seems to be the ov519_decomp module:
    if I type i the shell "sudo insmod /lib/modules/`uname -r`/extra/ov519_decomp.ko"
    the camera gets loaded properly and works just fine....

    if instead I type "sudo modprobe ov519_decomp", then the ov511 module gets loaded
    automatically, and the operation generates errors, because ov519_decomp tries
    to access the functions through ov511 and not through ov51x.
    In this case, I cannot use the cam.
    The error message says things about unknown symbols in the ov519_decomp module.

    Dmesg reports the following (as a consequence of "modprobe ov519_decomp"):

    [42950435.810000] usbcore: registered new driver ov511
    [42950435.810000] drivers/usb/media/ov511/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver
    [42950435.810000] ov519_decomp: disagrees about version of symbol ov511_deregister_decomp_module
    [42950435.810000] ov519_decomp: Unknown symbol ov511_deregister_decomp_module
    [42950435.810000] ov519_decomp: disagrees about version of symbol ov511_register_decomp_module
    [42950435.810000] ov519_decomp: Unknown symbol ov511_register_decomp_module

    My question is: How can I avoid that the module ov511 gets gets loaded when I
    modprobe the ov519_decomp module? Or, alternatively, where should I insert
    in the "sudo insmod /lib/modules/`uname -r`/extra/ov519_decomp.ko"
    line in the /etc/init.d bootup scripts so as to load the module through "insmod"?

    Many thanks in advance

    Turtle

  2. #12
    Join Date
    Jul 2006
    Location
    West Midlands, UK
    Beans
    642

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    Quote Originally Posted by dvarsam View Post
    Hello!

    I just added your product on the Ubuntu wiki Hardware Page:

    https://wiki.ubuntu.com/HardwareSupp...ediaWebCameras

    Look under the brand "Sony" & you will find your product.
    IF you happen to know the details missing (on some of those cells) please edit that Page & add the necessary info.

    Thanks.

    P.S.> In the future, if you happen to own other Hardware & have added a post inside the "Faqs, Howto, Tips & Tricks" section of Ubuntu Forums, on how to make it work, please don't forget to add it also in the wiki.
    Is this the OFFICIAL Hardware support page? I was looking at another Wiki (for Ubuntu) that seemed to have a bit more but was offsite and I can't figure out which ones are real and if any of them are actually still active (the one on the Ubuntu domain seems very, very sparse).

  3. #13
    Join Date
    Jan 2007
    Beans
    8

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    I have solved the problem with the Hercules classic webcam. I will post in a separate HowTo thread how to do it.

  4. #14
    Join Date
    Jan 2007
    Beans
    8

    Re: Howto Get Eyetoy Webcam working for Ubuntu (Hercules Classic Webcam modifs)

    It toook me quite a while to figure this one out, so I post how I did it: I also do not seem to be able to open up a new thread for this (partially new) HowTo, so I post here. The info I collected stems from this thread and from http://blog.thedarkmere.net/index.ph...peg-guide.html. I had to modify the latter end steps though to make it work properly.

    The preliminaries: My machine is an IBM Netvista PC (PIII 1Gig), Ubuntu 6.06 Dapper, server installation with additional XUbuntu interface addon.

    The Hercules Classic Webcam is an el-chepo webcam incorporating 4LEDs for low lighting usage. "lsusb" sees the camera as "Omnivision Technologies, Inc". The drivers needed to make it work are the ov51x and ov519_decomp modules.

    I assume in this description that your camera is seen on the USB bus, otherwise yuo have to activate and make sure that USB works properly by activating the bus. You can find in this site enough descriptions on how to do that..

    Once the cam is seen on the USB bus, the following procedure gives you a fuly functional cam on your Ubuntu 6.06 dapper machine:

    1. Get the linux headers for your system, so that you can compile the drivers once you downloaded them. To do this, open a terminal window (Applications -> Terminal on XUbuntu) and type

    sudo apt-get install build-essential linux-headers-`uname -r`

    2. Get the modules for your webcam:

    wget http://www.rastageeks.org/downloads/...g-0.5.4.tar.gz

    Ensure the drivers landed into a directory you know

    3. Move to the directory where your downloaded drivers are, and extract the source files from the tar files.

    tar -xvf ov51x-jpeg-0.5.4.tar.gz

    4. Change directory to where your sources are:

    cd ov51x-jpeg-0.5.4

    5. Compile and install the modules:

    sudo make install

    This will compile the drivers and install them into the subdirectory of /lib/modules/your-linux-version called extra

    6. If all went well, we can install the modules by hand now:

    sudo modprobe videodev
    sudo modprobe i2c_core
    sudo insmod /lib/modules/`uname -r`/extra/ov51x.ko
    sudo insmod /lib/modules/`uname -r`/extra/ov519_decomp.ko

    7. test your installation by using a camera viewing application, such as xawtv.

    If all goes well, you will be able to see the output of your webcam in xawtv.

    Now comes the tricky part: making such modules permanent, so that your machine recognizes the Hercules webcam both at bootup as well when you plug it in. The problem here with respect to other module installations is that for some obscure reason, the ov519_decomp module insists in loading the ov511 module when loading through modprobe, and ov511 knows nothing of some of the functions in ov519_decomp and therefore complains.

    We will thus load ov51x normally through modprobe, but we will load ov519_decomp through insmod. Let us look at the steps to do this:

    1. Make sure you load the vidoedev and i2c_core modules at bootup: to do this, in the terminal type:

    sudo vi /etc/modules

    We use here vi, but you can actually substitute vi with any other text editor of your preference (I know, I am old and I used vi for decades ;-P). At the end of the files, add the following two lines:

    videodev
    i2c_core

    Now save the file and quit the editor. This will guarantee that from now on at bootup the videodev and the i2c_core modules are loaded.

    2. Tell Ubuntu what to do whenever it notices the camera is plugged in:

    sudo touch /etc/modprobe.d/ov51x
    sudo vi /etc/modprobe.d/ov51x

    add to the file the following line:

    install ov51x /sbin/modprobe --ignore-install ov51x; insmod /lib/modules/`uname -r`/extra/ov519_decomp.ko

    This has to be ONLY on one line.
    Save the file and quit the editor.

    And voila, at next rebbot your Hercules Classic webcam is there, ready to use.... Have fun!

  5. #15
    Join Date
    Jun 2006
    Beans
    367
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    Trying to get this working on Kubuntu Feisty:
    Code:
    mike@krusty:~/ov51x-jpeg-0.5.4$ lsusb
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 005: ID 054c:0155 Sony Corp.
    Bus 001 Device 004: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
    Bus 001 Device 003: ID 043d:0057 Lexmark International, Inc. Z35 Printer
    Bus 001 Device 001: ID 0000:0000
    Followed this when I had compile difficulties: http://www.rastageeks.org/ov51x-jpeg...gHackedInstall
    Please note that with newer kernels linux/config.h has been removed. To fix this simple comment the lines in ov511_decomp.c, ov518_decomp.c, ov519_decomp.c and ov51x.c, that includes the file (or remove it entirely).
    Seemed to compile just fine after that. Unfortunately it doesn't work. Here some info that may help:
    Code:
    mike@krusty:~/ov51x-jpeg-0.5.4$ xawtv
    This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.20-8-generic)
    X Error of failed request:  XF86DGANoDirectVideoMode
      Major opcode of failed request:  136 (XFree86-DGA)
      Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
      Serial number of failed request:  65
      Current serial number in output stream:  65
    mike@krusty:~/ov51x-jpeg-0.5.4$ sudo modprobe ov51x
    mike@krusty:~/ov51x-jpeg-0.5.4$ sudo modprobe ov519_decomp
    WARNING: Error inserting ov511 (/lib/modules/2.6.20-8-generic/kernel/ubuntu/media/ov511/ov511.ko): Invalid module format
    Any advice to get this working?

    Thanks!

  6. #16
    Join Date
    Jun 2006
    Beans
    367
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    I've made some more progress in getting this to work:

    I followed the suggestion from this link: http://www.rastageeks.org/ov51x-jpeg/index.php/FAQ

    When I modprobe ov519_decomp it complains about unknown symbols. What's wrong?

    If you're getting similar messages in dmesg:

    ov519_decomp: disagrees about version of symbol ov511_deregister_decomp_module
    ov519_decomp: Unknown symbol ov511_deregister_decomp_module
    ov519_decomp: disagrees about version of symbol ov511_register_decomp_module
    ov519_decomp: Unknown symbol ov511_register_decomp_module

    It's likely that the ov511 driver included in the 2.6 kernel is getting in the way. Move it someplace and try again:

    # mv /lib/modules/`uname -r`/kernel/drivers/usb/media/ov511.ko \
    /lib/modules/`uname -r`/kernel/drivers/usb/media/ov511.ko.orig
    # depmod -a
    # modprobe ov519_decomp
    It seemed to work as I'm now able to modprobe the two modules I need:
    Code:
    mike@krusty:~$ sudo insmod /lib/modules/`uname -r`/extra/ov51x.ko
    mike@krusty:~$ sudo insmod /lib/modules/`uname -r`/extra/ov519_decomp.ko
    Unfortunately I can't run xawtv:
    Code:
    mike@krusty:~$ xawtv
    This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.20-8-generic)
    X Error of failed request:  XF86DGANoDirectVideoMode
      Major opcode of failed request:  136 (XFree86-DGA)
      Minor opcode of failed request:  1 (XF86DGAGetVideoLL)
      Serial number of failed request:  65
      Current serial number in output stream:  65
    I'm fairly certain that's because the camera is not being ported to /dev/video0. I get errors in the syslog when I plug it in:
    Code:
    [ 3497.572000] usb 1-2: new full speed USB device using ohci_hcd and address 9
    [ 3497.784000] usb 1-2: configuration #1 chosen from 1 choice
    [ 3497.788000] /home/mike/ov51x-jpeg-0.5.4/ov51x.c: USB OV519 video device found
    [ 3497.924000] kobject_add failed for ov51x with -EEXIST, don't try to register things with the same name in the same directory.
    [ 3497.924000]  [<c01ec869>] kobject_add+0x119/0x1a0
    [ 3497.924000]  [<c01ec9d1>] kobject_register+0x21/0x50
    [ 3497.924000]  [<c02554fe>] bus_add_driver+0x6e/0x1a0
    [ 3497.924000]  [<f88826fb>] usb_register_driver+0x7b/0x100 [usbcore]
    [ 3497.924000]  [<f8a5d012>] usb_ov511_init+0x12/0x37 [ov51x_jpeg]
    [ 3497.924000]  [<c0143ded>] sys_init_module+0x15d/0x1ba0
    [ 3497.924000]  [<c0107a3d>] sys_mmap2+0xcd/0xd0
    [ 3497.924000]  [<c01031d0>] sysenter_past_esp+0x69/0xa9
    [ 3497.924000]  =======================
    [ 3497.924000] usbcore: error -17 registering interface         driver ov51x
    [ 3498.248000] /home/mike/ov51x-jpeg-0.5.4/ov51x.c: Sensor is an OV7648
    [ 3498.556000] /home/mike/ov51x-jpeg-0.5.4/ov51x.c: Device at usb-0000:00:02.0-2 registered to minor 0
    [ 3498.736000] kobject_add failed for ov51x with -EEXIST, don't try to register things with the same name in the same directory.
    [ 3498.736000]  [<c01ec869>] kobject_add+0x119/0x1a0
    [ 3498.736000]  [<c01ec9d1>] kobject_register+0x21/0x50
    [ 3498.736000]  [<c02554fe>] bus_add_driver+0x6e/0x1a0
    [ 3498.736000]  [<f88826fb>] usb_register_driver+0x7b/0x100 [usbcore]
    [ 3498.736000]  [<f8a5d012>] usb_ov511_init+0x12/0x37 [ov51x_jpeg]
    [ 3498.736000]  [<c0143ded>] sys_init_module+0x15d/0x1ba0
    [ 3498.736000]  [<c0107a3d>] sys_mmap2+0xcd/0xd0
    [ 3498.736000]  [<c01031d0>] sysenter_past_esp+0x69/0xa9
    [ 3498.736000]  =======================
    [ 3498.736000] usbcore: error -17 registering interface         driver ov51x
    [ 3499.072000] kobject_add failed for ov51x with -EEXIST, don't try to register things with the same name in the same directory.
    [ 3499.072000]  [<c01ec869>] kobject_add+0x119/0x1a0
    [ 3499.072000]  [<c01ec9d1>] kobject_register+0x21/0x50
    [ 3499.072000]  [<c02554fe>] bus_add_driver+0x6e/0x1a0
    [ 3499.072000]  [<f88826fb>] usb_register_driver+0x7b/0x100 [usbcore]
    [ 3499.072000]  [<f8a5d012>] usb_ov511_init+0x12/0x37 [ov51x_jpeg]
    [ 3499.072000]  [<c0143ded>] sys_init_module+0x15d/0x1ba0
    [ 3499.072000]  [<c0107a3d>] sys_mmap2+0xcd/0xd0
    [ 3499.072000]  [<c01031d0>] sysenter_past_esp+0x69/0xa9
    [ 3499.072000]  =======================
    [ 3499.072000] usbcore: error -17 registering interface         driver ov51x
    [ 3949.692000] usb 1-2: USB disconnect, address 9
    [ 4070.004000] /home/mike/ov51x-jpeg-0.5.4/ov519_decomp.c: deregistered
    [ 4083.892000] usbcore: deregistering interface driver ov51x
    [ 4083.892000] /home/mike/ov51x-jpeg-0.5.4/ov51x.c: driver deregistered
    [ 4122.580000] usbcore: registered new interface driver ov51x
    [ 4122.584000] /home/mike/ov51x-jpeg-0.5.4/ov51x.c: v1.65-1.11-mark : ov51x USB Camera Driver
    [ 4129.836000] /home/mike/ov51x-jpeg-0.5.4/ov519_decomp.c: v1.4 : OV519 JPEG Decompression Module
    [ 4142.312000] usb 1-2: new full speed USB device using ohci_hcd and address 10
    [ 4142.520000] usb 1-2: configuration #1 chosen from 1 choice
    [ 4142.520000] /home/mike/ov51x-jpeg-0.5.4/ov51x.c: USB OV519 video device found
    [ 4142.688000] kobject_add failed for ov51x with -EEXIST, don't try to register things with the same name in the same directory.
    [ 4142.688000]  [<c01ec869>] kobject_add+0x119/0x1a0
    [ 4142.688000]  [<c01ec9d1>] kobject_register+0x21/0x50
    [ 4142.688000]  [<c02554fe>] bus_add_driver+0x6e/0x1a0
    [ 4142.688000]  [<f88826fb>] usb_register_driver+0x7b/0x100 [usbcore]
    [ 4142.688000]  [<f8a5d012>] usb_ov511_init+0x12/0x37 [ov51x_jpeg]
    [ 4142.688000]  [<c0143ded>] sys_init_module+0x15d/0x1ba0
    [ 4142.688000]  [<c0107a3d>] sys_mmap2+0xcd/0xd0
    [ 4142.688000]  [<c01031d0>] sysenter_past_esp+0x69/0xa9
    [ 4142.688000]  =======================
    [ 4142.688000] usbcore: error -17 registering interface         driver ov51x
    [ 4142.980000] /home/mike/ov51x-jpeg-0.5.4/ov51x.c: Sensor is an OV7648
    [ 4143.288000] /home/mike/ov51x-jpeg-0.5.4/ov51x.c: Device at usb-0000:00:02.0-2 registered to minor 0
    [ 4143.492000] kobject_add failed for ov51x with -EEXIST, don't try to register things with the same name in the same directory.
    [ 4143.492000]  [<c01ec869>] kobject_add+0x119/0x1a0
    [ 4143.492000]  [<c01ec9d1>] kobject_register+0x21/0x50
    [ 4143.492000]  [<c02554fe>] bus_add_driver+0x6e/0x1a0
    [ 4143.492000]  [<f88826fb>] usb_register_driver+0x7b/0x100 [usbcore]
    [ 4143.492000]  [<f8a5d012>] usb_ov511_init+0x12/0x37 [ov51x_jpeg]
    [ 4143.492000]  [<c0143ded>] sys_init_module+0x15d/0x1ba0
    [ 4143.492000]  [<c0107a3d>] sys_mmap2+0xcd/0xd0
    [ 4143.492000]  [<c01031d0>] sysenter_past_esp+0x69/0xa9
    [ 4143.492000]  =======================
    [ 4143.492000] usbcore: error -17 registering interface         driver ov51x
    [ 4143.744000] kobject_add failed for ov51x with -EEXIST, don't try to register things with the same name in the same directory.
    [ 4143.744000]  [<c01ec869>] kobject_add+0x119/0x1a0
    [ 4143.744000]  [<c01ec9d1>] kobject_register+0x21/0x50
    [ 4143.744000]  [<c02554fe>] bus_add_driver+0x6e/0x1a0
    [ 4143.744000]  [<f88826fb>] usb_register_driver+0x7b/0x100 [usbcore]
    [ 4143.744000]  [<f8a5d012>] usb_ov511_init+0x12/0x37 [ov51x_jpeg]
    [ 4143.744000]  [<c0143ded>] sys_init_module+0x15d/0x1ba0
    [ 4143.744000]  [<c0107a3d>] sys_mmap2+0xcd/0xd0
    [ 4143.744000]  [<c01031d0>] sysenter_past_esp+0x69/0xa9
    [ 4143.744000]  =======================
    [ 4143.744000] usbcore: error -17 registering interface         driver ov51x
    [ 4476.952000] usb 1-2: USB disconnect, address 10
    [ 4481.568000] usb 1-2: new full speed USB device using ohci_hcd and address 11
    [ 4481.772000] usb 1-2: configuration #1 chosen from 1 choice
    [ 4481.776000] /home/mike/ov51x-jpeg-0.5.4/ov51x.c: USB OV519 video device found
    [ 4481.892000] kobject_add failed for ov51x with -EEXIST, don't try to register things with the same name in the same directory.
    [ 4481.892000]  [<c01ec869>] kobject_add+0x119/0x1a0
    [ 4481.892000]  [<c01ec9d1>] kobject_register+0x21/0x50
    [ 4481.892000]  [<c02554fe>] bus_add_driver+0x6e/0x1a0
    [ 4481.892000]  [<f88826fb>] usb_register_driver+0x7b/0x100 [usbcore]
    [ 4481.892000]  [<f8a5d012>] usb_ov511_init+0x12/0x37 [ov51x_jpeg]
    [ 4481.892000]  [<c0143ded>] sys_init_module+0x15d/0x1ba0
    [ 4481.896000]  [<c0107a3d>] sys_mmap2+0xcd/0xd0
    [ 4481.896000]  [<c01031d0>] sysenter_past_esp+0x69/0xa9
    [ 4481.896000]  =======================
    [ 4481.896000] usbcore: error -17 registering interface         driver ov51x
    [ 4482.236000] /home/mike/ov51x-jpeg-0.5.4/ov51x.c: Sensor is an OV7648
    [ 4482.544000] /home/mike/ov51x-jpeg-0.5.4/ov51x.c: Device at usb-0000:00:02.0-2 registered to minor 0
    [ 4482.672000] kobject_add failed for ov51x with -EEXIST, don't try to register things with the same name in the same directory.
    [ 4482.672000]  [<c01ec869>] kobject_add+0x119/0x1a0
    [ 4482.672000]  [<c01ec9d1>] kobject_register+0x21/0x50
    [ 4482.672000]  [<c02554fe>] bus_add_driver+0x6e/0x1a0
    [ 4482.672000]  [<f88826fb>] usb_register_driver+0x7b/0x100 [usbcore]
    [ 4482.672000]  [<f8a5d012>] usb_ov511_init+0x12/0x37 [ov51x_jpeg]
    [ 4482.672000]  [<c0143ded>] sys_init_module+0x15d/0x1ba0
    [ 4482.676000]  [<c0107a3d>] sys_mmap2+0xcd/0xd0
    [ 4482.676000]  [<c01031d0>] sysenter_past_esp+0x69/0xa9
    [ 4482.676000]  =======================
    [ 4482.676000] usbcore: error -17 registering interface         driver ov51x
    [ 4483.112000] kobject_add failed for ov51x with -EEXIST, don't try to register things with the same name in the same directory.
    [ 4483.112000]  [<c01ec869>] kobject_add+0x119/0x1a0
    [ 4483.112000]  [<c01ec9d1>] kobject_register+0x21/0x50
    [ 4483.112000]  [<c02554fe>] bus_add_driver+0x6e/0x1a0
    [ 4483.112000]  [<f88826fb>] usb_register_driver+0x7b/0x100 [usbcore]
    [ 4483.112000]  [<f8a5d012>] usb_ov511_init+0x12/0x37 [ov51x_jpeg]
    [ 4483.112000]  [<c0143ded>] sys_init_module+0x15d/0x1ba0
    [ 4483.112000]  [<c0107a3d>] sys_mmap2+0xcd/0xd0
    [ 4483.112000]  [<c01031d0>] sysenter_past_esp+0x69/0xa9
    [ 4483.112000]  =======================
    [ 4483.112000] usbcore: error -17 registering interface         driver ov51x
    Anyone have any ideas?

  7. #17
    Join Date
    Feb 2007
    Beans
    13

    Re: Howto Get Eyetoy Webcam working for Ubuntu (Hercules Classic Webcam modifs)

    Hi
    i tried this tutorial for my trust spacecam 320 however when i got to
    sudo insmod /lib/modules/`uname -r`/extra/ov51x.ko
    i got an error msg which said:
    insmod: error inserting '/lib/modules/2.6.20-8-generic/extra/ov519_decomp.ko': -1 Unknown symbol in module

    i cant seem to get this working i hope you can help me out

    Raymond


    Quote Originally Posted by gentle_turtle View Post
    It toook me quite a while to figure this one out, so I post how I did it: I also do not seem to be able to open up a new thread for this (partially new) HowTo, so I post here. The info I collected stems from this thread and from http://blog.thedarkmere.net/index.ph...peg-guide.html. I had to modify the latter end steps though to make it work properly.

    The preliminaries: My machine is an IBM Netvista PC (PIII 1Gig), Ubuntu 6.06 Dapper, server installation with additional XUbuntu interface addon.

    The Hercules Classic Webcam is an el-chepo webcam incorporating 4LEDs for low lighting usage. "lsusb" sees the camera as "Omnivision Technologies, Inc". The drivers needed to make it work are the ov51x and ov519_decomp modules.

    I assume in this description that your camera is seen on the USB bus, otherwise yuo have to activate and make sure that USB works properly by activating the bus. You can find in this site enough descriptions on how to do that..

    Once the cam is seen on the USB bus, the following procedure gives you a fuly functional cam on your Ubuntu 6.06 dapper machine:

    1. Get the linux headers for your system, so that you can compile the drivers once you downloaded them. To do this, open a terminal window (Applications -> Terminal on XUbuntu) and type

    sudo apt-get install build-essential linux-headers-`uname -r`

    2. Get the modules for your webcam:

    wget http://www.rastageeks.org/downloads/...g-0.5.4.tar.gz

    Ensure the drivers landed into a directory you know

    3. Move to the directory where your downloaded drivers are, and extract the source files from the tar files.

    tar -xvf ov51x-jpeg-0.5.4.tar.gz

    4. Change directory to where your sources are:

    cd ov51x-jpeg-0.5.4

    5. Compile and install the modules:

    sudo make install

    This will compile the drivers and install them into the subdirectory of /lib/modules/your-linux-version called extra

    6. If all went well, we can install the modules by hand now:

    sudo modprobe videodev
    sudo modprobe i2c_core
    sudo insmod /lib/modules/`uname -r`/extra/ov51x.ko
    sudo insmod /lib/modules/`uname -r`/extra/ov519_decomp.ko

    7. test your installation by using a camera viewing application, such as xawtv.

    If all goes well, you will be able to see the output of your webcam in xawtv.

    Now comes the tricky part: making such modules permanent, so that your machine recognizes the Hercules webcam both at bootup as well when you plug it in. The problem here with respect to other module installations is that for some obscure reason, the ov519_decomp module insists in loading the ov511 module when loading through modprobe, and ov511 knows nothing of some of the functions in ov519_decomp and therefore complains.

    We will thus load ov51x normally through modprobe, but we will load ov519_decomp through insmod. Let us look at the steps to do this:

    1. Make sure you load the vidoedev and i2c_core modules at bootup: to do this, in the terminal type:

    sudo vi /etc/modules

    We use here vi, but you can actually substitute vi with any other text editor of your preference (I know, I am old and I used vi for decades ;-P). At the end of the files, add the following two lines:

    videodev
    i2c_core

    Now save the file and quit the editor. This will guarantee that from now on at bootup the videodev and the i2c_core modules are loaded.

    2. Tell Ubuntu what to do whenever it notices the camera is plugged in:

    sudo touch /etc/modprobe.d/ov51x
    sudo vi /etc/modprobe.d/ov51x

    add to the file the following line:

    install ov51x /sbin/modprobe --ignore-install ov51x; insmod /lib/modules/`uname -r`/extra/ov519_decomp.ko

    This has to be ONLY on one line.
    Save the file and quit the editor.

    And voila, at next rebbot your Hercules Classic webcam is there, ready to use.... Have fun!

  8. #18
    Join Date
    Oct 2006
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    I'm experiencing the same xawtv error as barney_1. Does anybody have an idea of what the problem is?

  9. #19
    Join Date
    Apr 2006
    Beans
    128
    Distro
    Xubuntu 11.10 Oneiric Ocelot

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    This guide needs to be updated as the following code is now out of date:
    Code:
    wget http://www.rastageeks.org/downloads/ov51x-jpeg/ov51x-jpeg-0.5.4.tar.gz
    It should be
    Code:
    wget http://www.rastageeks.org/downloads/ov51x-jpeg/ov51x-jpeg-1.0.0.tar.gz
    As this package has been updated and anyone entering the original gets a 404 error message.

  10. #20
    Join Date
    Jan 2006
    Location
    Australia
    Beans
    475
    Distro
    Lubuntu 13.04 Raring Ringtail

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    Quote Originally Posted by jtreach View Post
    This guide needs to be updated as the following code is now out of date:
    Code:
    wget http://www.rastageeks.org/downloads/ov51x-jpeg/ov51x-jpeg-0.5.4.tar.gz
    It should be
    Code:
    wget http://www.rastageeks.org/downloads/ov51x-jpeg/ov51x-jpeg-1.0.0.tar.gz
    As this package has been updated and anyone entering the original gets a 404 error message.
    Good idea. .

Page 2 of 17 FirstFirst 123412 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •