On  Jan 25 16:12:26 CET 2007 Hans Verkuil wrote
On Thursday 25 January 2007 11:01, Viragh Janos wrote:
> >i supposed you mean in /trunk
> >make v4l-checkout

>No, I didn't. You work from the v4l-dvb-kernel repository. You need to 
>have the mercurial revision control system installed 
>(http://www.selenic.com/mercurial/wiki/), then run 'hg clone 
>http://linuxtv.org/hg/~mrechberger/v4l-dvb-kernel', 'cd' to 
>v4l-dvb-kernel, then run 'make ivtv' from there. That command will 
>automatically check out the latest ivtv from subversion. I told you 
>that it isn't a trivial exercise :-)
>        Hans
OK, this (almost) works:

make gives the duplicate case value errors seen in Zoltan Karcagi's message 
as well, but after my (uneducated) guess:

$diff -c /tmp/v4l-dvb-kernel/v4l/ivtv/driver/ivtv-ioctl.c /tmp/ivtv-ioctl.c.orig
*** /tmp/v4l-dvb-kernel/v4l/ivtv/driver/ivtv-ioctl.c    2007-01-26 
10:19:23.000000000 +0100
--- /tmp/ivtv-ioctl.c.orig      2007-01-26 10:15:39.000000000 +0100
***************
*** 560,565 ****
--- 560,566 ----
                        return ivtv_i2c_id(itv, reg->i2c_id, cmd, reg);
                return ivtv_itvc(itv, cmd, arg);

+       case VIDIOC_INT_S_REGISTER:
  #if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 18)
        case IVTV_INT_S_REGISTER:
                cmd = VIDIOC_INT_S_REGISTER;
***************
*** 1446,1451 ****
--- 1447,1453 ----

        switch (cmd) {
        case VIDIOC_INT_G_REGISTER:
+       case VIDIOC_INT_S_REGISTER:
  #if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 18)
        case IVTV_INT_S_REGISTER:
  #endif

finally i get the necesssary modules:

$ /sbin/modinfo ./v4l/ivtv.ko|grep ZAP
                        19 = Yuan PG600V2/GotView PCI DVD Lite/Club3D 
ZAP-TV1x01
$ /sbin/modinfo ./v4l/xc3028-tuner.ko
filename:       ./v4l/xc3028-tuner.ko
description:    Xceive xc3028 silicon tuner
author:         Markus Rechberger <[EMAIL PROTECTED]>
license:        GPL
vermagic:       2.6.18-1.2257.fc5 mod_unload 686 REGPARM 4KSTACKS gcc-4.1
depends:        i2c-core,tuner
srcversion:     0DE67ACA7C5730FA9ABAA11

unfortunately i don't understand that IVTV_INT_S_REGISTER ioctl magic, 
and  don't know whether these changes affect the whole functionality of the 
code.

Janos 

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to