You are not logged in.

#1 2009-09-20 19:57:56

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

TVTuner Driver Module issues

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 [0480]: 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

Offline

#2 2009-09-20 20:14:32

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: TVTuner Driver Module issues

I have a

03:00.0 Multimedia controller [0480]: 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: [40] 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

E7-ARD,E6-ZDF,E5-SWR_BW,SE10-BR,E10-Sat1,SE14-Pro7,E9-RTL,SE7-MTV,SE12-VIVA,SE6-Kabel1,SE5-VOX,E12,DSF,SE4-Tele5,SE9-Phoenix,SE11-SuperRTL,SE13-3sat,SE15-EuroSport,E11-ZDF-Doku,SE16-RTL2,SE17-WDR,SE18-NDR,22-SF_DRS,47-SF2,24-ORF1,23-ORF2,25-RegioTV,26-N24,27-NTV,28-MDR,31-ARTE,34-DMAX,36-Das_Vierte,41-BR_alpha,42-HR,44-CNN,45-Bloomberg,50-AnixeSD,51-RBB

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 ;-)

Good luck!

Offline

#3 2009-09-20 21:00:17

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: TVTuner Driver Module issues

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 <olschewski@zpr.uni-koeln.de>
 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)

Offline

Board footer

Powered by FluxBB