Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68658 - Support tuner type 50 (TCL 2002N) in bttv.
Summary: Support tuner type 50 (TCL 2002N) in bttv.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-23 13:35 UTC by reillyp
Modified: 2004-12-16 01:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description reillyp 2004-10-23 13:35:56 UTC
My Hauppauge PVR 250 tv card has a tuner type of 50, which is a TCL 2002N. With normal ivtv I cannot tune the card and /var/log/messages indicates the tuner was not set, because /usr/src/linux/drivers/media/video/tuner.c and /usr/src/linux/include/media/tuner.h don't support type 50 or TCL. Someone posted a patch that in september that got incorporated into (at a minimum) ckennedy's 0.2.0-rc1g version (I don't know if it is in the new 0.2 ebuild), which is why it knew I had a type 50; but the 2.6.9-r1 kernel I just installed still does not have the patch.

Reproducible: Always
Steps to Reproduce:
1. Install ivtv and own a Hauppauge PVR 250 with the TCL 2002N tuner.
2. Try to use ptune-ui.pl or ptune.pl to tune - nothing happens.
3. Check /var/log/messages and see that the tuner type was determined to be type 50 (TCL 2002N), but that the tuner module reports type not set.
4. I manually applied the patch code to /usr/src/linux/include/media/tuner.h and /usr/src/linux/drivers/media/video/tuner.c, removed all the mods, and did modprobe ivtv. Now it will tune. The urls detailing the patch(es) are:

http://www.spinics.net/lists/vfl/msg12287.html
http://www.spinics.net/lists/vfl/msg12313.html

The second url is a patch to the first patch <g> - he used 0x88 instead of 0x8e for the control code. I am running gentoo-dev-sources 2.6.9-rc1.

Actual Results:  
Without the patch cannot tune the card because the tuner module does not
recognize the type (and therefore how to control it).

Expected Results:  
Should have allowed changing channels, etc. The patch fixed that.

Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ ftp://gentoo.ccccom.com/
ftp://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 arts avi berkdb bitmap-fonts cdr crypt cups
directfb dvd dvdr encode f77 fastcgi fbcon foomaticdb gd gdbm gif gpm i2c imlib
innodb java jpeg junit kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg
mysql ncurses nls odbc offensive oggvorbis opengl oss pam pdflib perl png
postgres python qt quicktime readline sdl slang spell sqlite sse ssl svga tcpd
transcode truetype usb v4l2 videos x86 xinerama xml2 xmms xprint xv xvid zeo zlib"
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2004-12-16 01:49:31 UTC
right... bttv is a kernel module.... Patch your kernel. Nothing we can do about it.