I've upgrade from a very old version of ivtv (0.3.7d) to a 2.6.22 kernel with ivtv1.0.2. Is there a version of ivtvdev that is combatable with 2.6.22?
Gentoo has a port xf86-video-ivtvdev, but it doesn't compile. http://ivtvdriver.org/viewcvs/xdriver/trunk.tar.gz?view=tar has the same problem. /usr/include/linux/ivtv.h:46: error: field 'type' has incomplete type /usr/include/linux/ivtv.h:48: error: expected ':', ',', ';', '}' or Looking at the code from trunc, /usr/include/linux/ivtv.h shouldn't even be included for 2.6.22 kernel from what I understand. Not sure why it is. #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22) #include <linux/ivtv.h> #endif If I remove those lines, a new error is genereated: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -g -O2 -MT ivtv_hw.lo -MD -MP -MF .deps/ivtv_hw.Tpo -c ivtv_hw.c -fPIC -DPIC -o .libs/ivtv_hw.o ivtv_hw.c:50:55: error: asm/page.h: No such file or directory Then I found this link (http://ivtv.writeme.ch/tiki-index.php?page=XDriverHowTo) which says to change ivtvhw.c That seems to work. /bin/sh ../libtool --mode=install /usr/bin/install -c 'ivtv_drv.la' '/usr/local/lib/xorg/modules/drivers/ivtv_drv.la' /usr/bin/install -c .libs/ivtv_drv.so /usr/local/lib/xorg/modules/drivers/ivtv_drv.so /usr/bin/install -c .libs/ivtv_drv.lai /usr/local/lib/xorg/modules/drivers/ivtv_drv.la PATH="$PATH:/sbin" ldconfig -n /usr/local/lib/xorg/modules/drivers Even after all that, X still won't load the driver. (II) LoadModule: "ivtv_drv" (II) Loading /usr/lib/xorg/modules/drivers//ivtv_drv.so (EE) LoadModule: Module ivtv_drv does not have a ivtv_drvModuleData data object. (II) UnloadModule: "ivtv_drv" (II) Unloading /usr/lib/xorg/modules/drivers//ivtv_drv.so (EE) Failed to load module "ivtv_drv" (invalid module, 0) Any suggestions? If 2.6.22 and or xorg7.2 isn't supported, how far back do I need to go? This is for a MythTV box. At this point, any recommendations on a kernel and driver versions that works well with MythTV would be appreciated. Thanks Greg. _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
