LinHES Forums http://forums.linhes.org/ |
|
Webcam issue: how to bugfix/update module ov511? http://forums.linhes.org/viewtopic.php?f=14&t=5613 |
Page 1 of 1 |
Author: | fiete [ Mon Aug 08, 2005 3:39 am ] |
Post subject: | Webcam issue: how to bugfix/update module ov511? |
Hi, I want to use a USB webcam (Philips ToUcam II) http://www.qbik.ch/usb/devices/search_res.php?pattern=webcam http://alpha.dyndns.org/ov511/ This webcam is a 518 type and proper function needs the module version 1.65 of the ov511 module and ov518_decomp. ov518_decomp not installed by default in recent (2.6.x) kernels (please correct me if I'm wrong). The unstable version of the ov511 module ( version 2.28 ) is downloadable and I could install it, but the code is broken for kernel 2.6.11 (I'm using KnoppMyth R5A16). I have another linux system (Suse 9.2; kernel 2.6.8 ) and the unstable version 2.28 werks perfectly with this kernel. 1) Is there a way to get the module ov518_decomp (for version 1.6X of the 0v511 module) on the mythbox? 2) Is there a way to get and install the fixed ov511 module (VERSION 2.2X)? This unstable version does not need the ov518_decomp module. Fiete |
Author: | fiete [ Tue Sep 20, 2005 2:49 pm ] |
Post subject: | Webcam issue: how to bugfix/update module ov511 |
This item can (theoretically) be resolved. 1) unpack kernel source 2) download original ov511-2.28 driver from Mark http://alpha.dyndns.org/ov511/ 3) unpack somewhere (/usr/src/...) 4) get the patch from Vassilii (save as ov511-2.28-vassilii.patch for example) ref: http://lkml.org/lkml/2005/6/8/242 you will have to do some copy-paste stuff of click on 'Get diff 1' 5) patch the original driver with > patch < ../ov511-2.28-vassillii.patch 6) become su 7) make and make install 8) (I have to load the module ovcamchip by hand, but you can load it automatically by several procedures) 9) test 10) If it works: thanks to Vassilii vassilii@tarunz.org with a CC to mmcclell@bigfoot.com or mark@alpha.dyndns.org Never had an answer from Mark, who is the official maintainer of this kernel module This auto-answer is for 100% based on the personal help of Vassilii, who wrote a patch for the experimental ov511-2.28 module to make it work for kernel >2.6.11. I have no knowledge of any test on other kernels. Fiete |
Author: | cesman [ Wed Sep 21, 2005 7:43 am ] |
Post subject: | |
In theory, if you give me specifics I can include this in a future release. |
Author: | fiete [ Sat Sep 24, 2005 2:30 pm ] |
Post subject: | |
I've now tested the installation of the driver ov511-2.28 (after appl. of Vassilii's patch) on knoppmyth R5A16. Before that, I've checked the version of the original kernel driver (ov511 ver. 1.64). Just installing the patched driver is not sufficient for the Philips ToUCam XS, the module ovcamchip has to be loaded first to detect the sensor. Vassilii has created a file 'ov511' in /etc/modprobe.d/ The file contains: Quote: options ov511 led=2 lightfreq=50 install ov511 { /sbin/modprobe ovcamchip; } ; /sbin/modprobe --first-time --ignore-install ov511 remove ov511 /sbin/modprobe -r --first-time --ignore-remove ov511 && { /sbin/modprobe -r ovcamchip; /bin/true; } (must be 3 lines). Now the module ovcamchip is loades first, the sensor is recognized. On my system I have a Hauppauge 250 and Hauppauge 150 (on /dev/video0 and /dev/video1). Hotplugging the Philips ToUCam will not influence the existing /dev/videoX but will create the next /dev/videoX+. Testing: lsmod | grep ov: Quote: root@mythtv:/home/mythtv# lsmod | grep ov ov511 96392 0 ovcamchip 24712 0 v4l2_common 6528 3 ov511,cx8800,bttv videodev 9600 7 ov511,cx8800,cx88xx,ivtv,bttv i2c_core 20224 13 ov511,ovcamchip,cx88xx,wm8775,cx25840,msp3400,saa7115,tuner,bttv,i2c_algo_bit,tveeprom,lirc_i2c,i2c_viapro usbcore 101368 6 ov511,ehci_hcd,usb_storage,ohci_hcd,uhci_hcd dmesg | grep ov: Quote: /home/mythtv/inst/ov511-2.28/ovcamchip_core.c: v2.28 : OV camera chip I2C driver /home/mythtv/inst/ov511-2.28/ov511_core.c: USB OV518 video device found /home/mythtv/inst/ov511-2.28/ov511_core.c: Device revision 1 /home/mythtv/inst/ov511-2.28/ov511_core.c: Compression required with OV518...enabling /home/mythtv/inst/ov511-2.28/ovcamchip_core.c: Camera chip is an OV6630AF /home/mythtv/inst/ov511-2.28/ov511_core.c: Device at usb-0000:00:10.3-2 registered to minor 2 usbcore: registered new driver ov511 /home/mythtv/inst/ov511-2.28/ov511_core.c: v2.28 : ov511 USB Camera Driver (V4L2 disabled) [<e26debd7>] ov51x_unlink_isoc+0x27/0x50 [ov511] [<e26df419>] ov51x_release+0x39/0xd0 [ov511] [<e26debd7>] ov51x_unlink_isoc+0x27/0x50 [ov511] [<e26df419>] ov51x_release+0x39/0xd0 [ov511] Further testing: I've installed the application gqcam Quote: apt-get update
apt-get install gqcam After running gqcam -v /dev/videoX+ (replace X+ with appropriate number) I got a picture from my webcam. That's it. I'm a so called end-user with very limited knowledge. Knoppmyth is really great! Cesman, veel free to ask for more testing. Regards, Fiete |
Author: | fiete [ Sat Oct 01, 2005 3:39 pm ] |
Post subject: | |
On september 29th the website of the developer of the OV511 has been updated. With new releases of the ov511 driver, part of my posts (dealing with patching the driver for recent kernels) will become outdated (I hope so) http://alpha.ovcam.org/ov511/ |
Author: | cesman [ Sat Oct 01, 2005 5:11 pm ] |
Post subject: | |
Added. |
Author: | fiete [ Sat Oct 15, 2005 1:30 am ] |
Post subject: | New release of ov511 driver |
There is a new release of the ov511 driver at http://alpha.ovcam.org/ov511/ It should be compatible for 2.6.13 kernels. I will test it on R5A16. Fiete |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |