Okay, I've installed a TV Tuner card, but I can't get it working with TvTime because I can't figure out what module options to use when loading it with modprobe. Here is the info on it from running "lspci -vnn":
03:06.0 Multimedia controller : Philips Semiconductors SAA7130 Video Broadcast Decoder [1131:7130] (rev 01) Subsystem: Animation Technologies Inc. LifeView FlyVIDEO2000 [5168:0138] Flags: bus master, medium devsel, latency 64, IRQ 21 Memory at febff800 (32-bit, non-prefetchable) [size=1K] Capabilities: <access denied> Kernel driver in use: saa7134 Kernel modules: saa7134
I have a
03:00.0 Multimedia controller : Philips Semiconductors SAA7134/SAA7135HL Video Broadcast Decoder [1131:7134] (rev 01) Subsystem: Creatix Polymedia GmbH Medion 7134 [16be:0003] Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at 2c000000 (32-bit, non-prefetchable) [size=1K] Capabilities:  Power Management version 1 Kernel driver in use: saa7134 Kernel modules: saa7134
so I might be able to help ;-)
What I did to make it work:
Firstly, the modules should be loaded automatically, so there should be an output at "lsmod | grep saa". Make sure that saa7134-alsa is among the modules, you need that for correct audio output.
I did not add any options at modprobe.conf, works ootb. Don't know if that might work for you as well, because your card is a slightly bit different.
I watch tv with mplayer by adding the following script to the PATH
#!/bin/bash mplayer tv:// -tv driver=v4l2:norm=PAL:fps=25:width=768:height=576:device=/dev/video0:chanlist=europe-west:alsa=yes:adevice=plughw.1,0:amode=1:audiorate=32000:forceaudio:immediatemode=0:channels=`cat /home/army/.bin/sender` -vf pp=lb -vo xv -af volnorm -delay 0.2
The file "sender" looks like this
Just correct them to your needs!
In case mplayer doesn't show anything but noise, run this script, which reloads all modules
#!/bin/bash rmmod saa7134-alsa rmmod saa7134-dvb rmmod saa7134 rmmod tuner rmmod tda9887 modprobe tda9887 modprobe saa7134-alsa
Possible, that you have another tda**** module, just check it out by lsmod.
Well, you might give this a try, it's the only way I ever managed to watch tv on linux with this card. Would be cool to use a real tv program such as tvtime, but it seems to be impossible, at least for me ;-)
I get this from it:
[zauber@myhost ~]$ mplayer tv:// -tv driver=v4l2:norm=PAL:fps=25:width=768:height=576:device=/dev/video0:chanlist=europe-west:alsa=yes:adevice=plughw.1,0:amode=1:audiorate=32000:forceaudio:immediatemode=0:channels=`cat /home/zauber/.bin/sender` -vf pp=lb -vo xv -af volnorm -delay 0.2 MPlayer dev-SVN-r28348-4.4.1 (C) 2000-2009 MPlayer Team CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (Family: 15, Model: 107, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 137 audio & 296 video codecs Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski <firstname.lastname@example.org> comment: first try, more to come ;-) v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead. Selected device: UVC Camera (046d:09a1) Capabilites: video capture streaming supported norms: inputs: 0 = Camera 1; Current input: 0 Current format: YUYV v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument v4l2: ioctl set format failed: Invalid argument tv.c: norm_from_string(PAL): Bogus norm parameter, setting default. v4l2: ioctl enum norm failed: Invalid argument Error: Cannot set norm! Selected input hasn't got a tuner! Error opening audio: Device or resource busy Error opening audio: Device or resource busy Error opening audio: Device or resource busy v4l2: ioctl set mute failed: Invalid argument v4l2: 0 frames successfully processed, 0 frames dropped. Exiting... (End of file)
EDIT: Also, this is a card I had used in the past successfully, but only by modprobing the saa7134 with the proper card/tuner arguments.
Last edited by Falcata (2009-09-20 21:00:53)