Penguin

Differences between version 13 and predecessor to the previous major change of TvTunerCards.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 13 Last edited on Monday, April 11, 2005 12:19:37 pm by JohnMcPherson Revert
Older page: version 12 Last edited on Sunday, February 6, 2005 4:16:21 am by JasonDrake Revert
@@ -5,17 +5,22 @@
 !!!Hardware Setup 
 !! BT878 / BT848 
 The most popular cards are boards based on the BrookTree Technologies BT878 or BT848 chip, and drivers are in the standard linux kernel (2.4.x and possibly earlier). The difference is one chip also does sound, while for the other chip the board requires a separate audio chip. 
  
-In the kernel, you need: 
+In the 2.6 kernel, you need:  
+* the __snd_bt87x.ko__ driver for the Audio (CONFIG_SND_BT87X: in Device Drivers -> Sound -> ALSA -> PCI Devices -> bt87x Audio Capture)  
+** If you use the obsolete OSS system instead of ALSA, you want CONFIG_SOUND_BT878 (in Device Drivers -> Sound -> OSS - bt878 audio DMA, ''and'' Tv card (bt848) mixer support)  
+*I²C Support (Device Drivers -> I²C Support -> I²C Support and I²C bit-banging interfaces)  
+* the __bttv.ko__ driver, under Video4Linux (CONFIG_VIDEO_BT848: Device Drivers -> Multimedia devices -> Video For Linux -> BT848 Video For Linux)  
+  
+For a 2.4 Linux kernel, these are
 * I²C Support (Character Devices -> I²C Support -> I²C Support and I²C bit-banging interfaces). 
-(in the 2.6.x kernel this is in Device Drivers -> I²C Support -> I²C Support and I²C bit-banging interfaces)  
 * Video for Linux (Multimedia devices -> Video For Linux -> proc filesystem and BT848 for linux). 
-(in the 2.6.x kernel this is in Device Drivers -> Multimedia devices -> Video For Linux -> BT848 Video For Linux)  
 * Audio support (Sound -> BT878 audio [DMA] and TV Card (bt878) mixer support). 
-(in the 2.6.x kernel this is in Device Drivers -> Sound -> ALSA -> PCI Devices -> bt87x Audio Capture and in Device Drivers -> Sound -> OSS - bt878 audio DMA and Tv card (bt848) mixer support)  
  
-bttv is included in the Fedora Core 2 kernel and Kudzu will detect any capture card and tuner for you
+  
+These drivers will almost certainly come with the standard kernel in any recent Linux distribution .  
+  
  
 !! BT829 
 This chip is a BrookTree chip, and is not supported by the bttv driver. 
  
@@ -48,15 +53,16 @@
 # Audio is handled by a small loop-back cable, out of the tuner card going back into the "line in" on the sound card. (Don't forget to adjust the volume for "line in" in your favourite sound mixer/volume control.) 
 # The default tuner type for the card was wrong. In New Zealand we use PAL BG (or compatible), and it was defaulting to some other tuner type which meant I could pick up UHF but not VHF channels. 
  
 Here is the relevant snippet from my /etc/modules.conf (for 2.4 kernels, or /etc/modprobe.d/tv for 2.6 kernels): 
+<verbatim>  
  # for /video0 and vbi0 devices... 
  alias char-major-81-0 saa7134 
  # card=3 => flyvideo2000 
  # tuner=5 for PAL_BG 
  # oss=1 
- options saa7134 card=3 tuner=5 oss=1  
- 
+ options saa7134 card=3 tuner=5  
+</verbatim>  
 If you find you get video but no sound the following command may be useful as some tv applications don't unmute this card properly (ie mythtv). 
  
 assuming your v4l device is /dev/video0 
  
@@ -77,16 +83,16 @@
 The saa7134 module in kernel 2.6 includes support for the infra-red remote. 
 The driver acts as another keyboard - if it is working, you should look 
 in the file /proc/bus/input/devices and see if there is a section 
 similar to: 
-  
+<verbatim>  
  I: Bus=0001 Vendor=1131 Product=0000 Version=0001 
- N: Name="saa7134 IR (! LifeView FlyVIDEO20" 
+ N: Name="saa7134 IR (LifeView FlyVIDEO20" 
  P: Phys=pci-0000:00:0a.0/ir0 
  H: Handlers=kbd event2 
  B: EV=100003 
  B: KEY=c0304 100000 0 0 0 0 1 10000 2 1e0001 7bb80 0 0 
-  
+</verbatim>  
 Use the "xev" program to see if X can see remote button presses. If you use the "Multimedia Keys" settings in [GNOME] (and presumably something similar in [KDE]), you can assign arbitrary keys (including those buttons on the remote) to various desktop functions such as volume/mute control. (Use of xev(1) shows that not all the buttons on the remote are supported - while most generate events, the buttons labelled "CATV", "Video", "Audio", "Full Screen", and channel up and down don't appear to be visible for some reason). 
  
 This however isn't sufficient to program "change channel" functions and so forth. For this, you need to use "lirc" userland daemons with the generic "event interface" (CONFIG_INPUT_EVDEV support needed in the kernel) for this IR support. Merely having the "evdev" module loaded and the "liblircclient0" package installed on Debian meant that the numbers on the remote are seen just like the numbers on 
 the keypad. 
@@ -121,10 +127,9 @@
 !Radio 
 See the RadioTuner page. 
  
 ---- 
-See also [HowToBTTV] for info about device files and applications for viewing TV.  
  
 See also [http://212.227.36.83/linuxtv//index.php/Main_Page] for a LinuxTV Wiki. 
  
 ---- 
 CategoryHardware