Both compile errors and module loading errors exist when attempting to use ivtv-0.2.0_rc3-r5 with 2.6.13 series kernels. I've tried with various 2.6.13 kernels - vanilla-sources, gentoo-sources and ck-sources. This problem prevents mythtv from operating. From what I can determine, the i2c code has changed in the 2.6.13 series. I've been using ivtv with mythtv since february and haven't ever come across this problem before. I've tested ivtv-0.3.8 and it does work with 2.6.13 kernels, but it isn't as stable as 0.2.0_rc3-r5 with <=2.6.12 kernels. Mythtv occasionally crashes or locks up during recording and live tv with ivtv-0.3.8. The ivtv site recommends the 0.2.0 version. Reproducible: Always Steps to Reproduce: 1. Emerge 2.6.13 series kernel 2. Emerge ivtv-0.2.0_rc3-r5 3. Reboot with new 2.6.13 kernel and load module Actual Results: During compile: saa7115.c:1106: warning: 'normal_i2c_range' defined but not used msp3400.c:73: warning: 'normal_i2c_range' defined but not used cx25840-driver.c:1539: warning: 'normal_i2c_range' defined but not used wm8775.c:367: warning: 'normal_i2c_range' defined but not used saa7127.c:714: warning: 'normal_i2c_range' defined but not used tveeprom.c:582: warning: 'normal_i2c_range' defined but not used Upon module loading: Linux video capture interface: v1.00 ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.2.0 (rc3j) loading ivtv: Linux version: 2.6.13-gentoo-r1 K8 gcc-3.4 ivtv: In case of problems please include the debug info ivtv: between the START INIT IVTV and END INIT IVTV lines when ivtv: mailing the ivtv-devel mailinglist. ivtv: Autodetected WinTV PVR 250 card ivtv: Found an iTVC16 based chip ivtv: Unreasonably low latency timer, setting to 64 (was 32) ivtv: VIA PCI device: 0x0282 vendor: 0x1106 ivtv: i2c attach [client=tveeprom,ok] tveeprom: Hauppauge: model = 32062, rev = C182, serial# = 7811569 tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio_processor = MSP3445 (type = 12) ivtv: Tuner Type 39, Tuner formats 0x00001000, Radio: yes, Model 0x008d1612, Revision 0xe0c7406c ivtv: NTSC tuner detected ivtv: Radio detected : chip found @ 0xc2 (ivtv i2c driver #0) ivtv: i2c attach [client=(tuner unset),ok] saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005) saa7115: detecting saa7115 client on address 0x42 saa7115: writing init values ivtv: i2c attach [client=saa7115,ok] saa7115: status: (1E) 0x00, (1F) 0xc0 ivtv: Encoder revision: 0x02040024 ivtv: Encoder Firmware may be buggy, use version 0x02040011 ivtv: Configuring WinTV PVR 250 card with 5 streams ivtv: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total ivtv: Registered v4l2 device, streamtype 0 minor 0 ivtv: Create DMA stream 1 ivtv: Registered v4l2 device, streamtype 1 minor 32 ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total ivtv: Registered v4l2 device, streamtype 2 minor 224 ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total ivtv: Registered v4l2 device, streamtype 3 minor 24 ivtv: Create stream 4 ivtv: Registered v4l2 device, streamtype 4 minor 64 ivtv: Setting Tuner 39 saa7115: decoder set input (4) saa7115: now setting Composite input ivtv: Setting audio matrix to input 3, output 1 ivtv: i2c client addr: 0x40 not found! ivtv: i2c client addr: 0x40 not found! ivtv: i2c client addr: 0x40 not found! ivtv: Switching standard to NTSC. tuner 0-0061: tuner type not set ivtv: i2c client addr: 0x40 not found! saa7115: decoder set norm NTSC saa7115: set audio: 0x01 ivtv: Initialized WinTV PVR 250, card #0 ivtv: ==================== END INIT IVTV ==================== Expected Results: To compile cleanly and operate correctly. Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.3-20050110, glibc-2.3.5-r1, 2.6.13-ck5 i686) ================================================================= System uname: 2.6.13-ck5 i686 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -msse2 -msse -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -msse2 -msse -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://ftp.du.se/pub/os/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://tesla/gentoo-portage" USE="x86 3dnow 3dnowext X a52 aac alsa apache2 apm audiofile avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl dga dts dvd dvdr dvdread eds emboss encode esd ethereal fam fame ffmpeg flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib irda irmc ithreads java jpeg ldap libg++ libwww lirc lzo mad mbox mikmod mjpeg mmx mmxext motif mozilla mp3 mpeg mysql mythtv ncurses network nls nptl nvidia oav offensive ogg oggvorbis opengl oss pam pcre pdf pdflib perl png posix ppds pthreads python qt quicktime readline rhythmbox samba sdl slang sndfile spell sse sse2 ssl svga tcpd tiff transcode truetype truetype-fonts type1-fonts v4l v4l2 vcd vorbis wifi win32codecs xine xml xml2 xmms xv xvid xvmc yv12 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Can't confirm the bug :( I'm running 2.6.13 with switching ivtv 0.2.0_rc3 and ivtv-0.3.8. Both compile perfectly on 2.6.13. Are you sure you haven't forgotten a few i2c settings in the kernel. Or did you accidentilly load eeprom before tveeprom? make sure you've deleted the "evil" modules from /lib/modules/<kernelversion>/kernel/drivers/media/video/ after installing a new kernel. evil modules: tda9887.ko msp3400.ko tuner.ko tveeprom.ko
Due to ivtv's still mostly experimental nature, we don't really offer support for ivtv itself. The extent of our support goes to the point of how the ebuild handles the software. You should consult with the ivtv-devel mailing list for support.
AFAIK. 0.2.0 does not work with 2.6.13 kernels anymore. This is why there's a 0.3.8 ebuild in the tree. Just saying "lock ups" with 0.3.8, there's no way to track that error down. You'd really need to be more detailed. ivtv: i2c client addr: 0x40 not found! ivtv: i2c client addr: 0x40 not found! ivtv: i2c client addr: 0x40 not found! That is caused by using the wrong copies/versions of supporting modules.