Re: Linux 2.2.15pre17

From: Matthias Andree (ma@dt.e-technik.uni-dortmund.de)
Date: Sun Apr 02 2000 - 12:05:36 EST


-----BEGIN PGP SIGNED MESSAGE-----

#----- anything above this line is bogus -----#

Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

[specifying tuner type for bttv through lilo/grub]
> There isnt afaik, it either autodetects or fails

That was also my impression from browsing the relevant sources, but I
was not 100% sure about that.

I suggest this "obviously correct" patch to the documentation to prevent
users trapped here.

MIND to use sed 's,^- -,-,' if you don't run this mail through PGP/GPG.

- --- drivers/char/Config.in.orig Sun Apr 2 18:43:56 2000
+++ drivers/char/Config.in Sun Apr 2 18:59:55 2000
@@ -124,6 +124,10 @@
 comment 'Video For Linux'
 
 tristate 'Video For Linux' CONFIG_VIDEO_DEV
+if [ "$CONFIG_VIDEO_DEV" = "y" ]; then
+ comment 'Note some cards that have tuners need to have their driver'
+ comment 'built as module if they fail to autodetect the tuner type.'
+fi
 if [ "$CONFIG_VIDEO_DEV" != "n" ]; then
   dep_tristate 'AIMSlab RadioTrack (aka RadioReveal) support' CONFIG_RADIO_RTRACK $CONFIG_VIDEO_DEV
   if [ "$CONFIG_RADIO_RTRACK" = "y" ]; then
- --- Documentation/Configure.help.orig Sun Apr 2 18:48:00 2000
+++ Documentation/Configure.help Sun Apr 2 18:53:39 2000
@@ -11549,6 +11549,17 @@
   whenever you want). If you want to compile it as a module, say M
   here and read Documentation/modules.txt.
 
+ HINT: If your card fails to autodetect its tuner type correctly,
+ compile this driver as module and set the tuner type in
+ /etc/conf.modules or /etc/modules.conf by adding lines like these
+ (mind that this is only an example and the 5 needs to be replaced by
+ your actual tuner type!)
+
+ options tuner type=5
+ pre-install bttv modprobe -k tuner
+
+ If unsure whether to use M or Y, prefer M for now.
+
 SAA5249 Teletext processor
 CONFIG_VIDEO_SAA5249
   Support for I2C bus based teletext using the SAA5249 chip. At the

> Lots of cards are autodetected, others have no tuners. I'd take a 2.2.16pre
> patch to let you specify bttv_tuner= on the command line

Hm. While it's not yet 2.2.16pre time, bttv_tuner= is inconsistent with
module names, since it's "modprobe tuner type=anything", so tuner= seems
more appropriate.

- --
Matthias Andree

                Where do you think you're going today?

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: Processed by Mailcrypt 3.5.5, an Emacs/PGP interface

iQCVAwUBOOd9yCdEoB0mv1ypAQEpCAQAwNlZ5FNqm2l4LCT7NIfS6iXXTXDRzqEQ
yQFvfVND1IUA2twQZczP4f6iCTu4X7pjc0RX4Cc92wCAmlel8JL/wymMmBpFYPSI
VDu/AJCF+Z9lTPAjzLVPvlPUeqiyiAuWPi2G6m6oatN/Nbrw8V0iQCIilX7O4YDI
POVCt5Qd6Kw=
=V1IG
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:08 EST