TerraTec Cinergy 400TV mobile: Difference between revisions
m (Terratec Cinergy 400TV mobile moved to TerraTec Cinergy 400TV mobile: name) |
m (Added category: Analog CardBus Devices) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
==Features/Overview== |
|||
⚫ | |||
⚫ | |||
* Formats: Analog PAL B/G(H), PAL D/K, PAL I |
|||
* Cardbus interface |
* Cardbus interface |
||
⚫ | |||
===Components Used=== |
|||
* SAA7135HL chip |
* SAA7135HL chip |
||
* ALPS TSZE1 tuner |
* ALPS TSZE1 tuner |
||
⚫ | |||
==How to make it work== |
==How to make it work== |
||
Line 102: | Line 105: | ||
There is a detailed summary about this card |
There is a detailed summary about this card |
||
[http://www.hjk-az.de/cinergy400tv-mobile/index.html here]. |
[http://www.hjk-az.de/cinergy400tv-mobile/index.html here]. |
||
[[Category:Analog CardBus Devices]] |
Latest revision as of 11:29, 6 May 2009
Features/Overview
Card Features
- Formats: Analog PAL B/G(H), PAL D/K, PAL I
- Cardbus interface
- Inputs: TV, Composite, and S-Video inputs
Components Used
- SAA7135HL chip
- ALPS TSZE1 tuner
How to make it work
Kernel
As of 2.6.12.2, the stable Linux kernel has got all you need. It detects the card automatically.
As a quick test, insert your card and have a look at dmesg output. You should see all of the following:
- The card is detected as Terratec Cinergy 400 mobile (card=47).
- A tuner chip is found at 0xC0, tuner type is set to 12 (Alps TSBE5).
- TDA9885/6/7 is found at 0x84.
After inserting the card, lsmod should tell you that saa7134, tuner, and tda9887 modules have been loaded automatically.
If any of the above is missing, you'll have to update/hack/patch your kernel.
The CVS version hosted at linuxtv.org also has all necessary patches. Just checkout the video4linux tree into an empty folder in your home directory, cd to that folder and type "make" and then (as root) "make install". Note that you work with development versions now, there's always a possibility that it won't work or doesn't even compile.
See Hans J. Koch's instructions for more details.
Module parameters
You should have the following parameters in your /etc/modprobe.conf:
options saa7134 oss=1 dsp_nr=1 mixer_nr=1 oss_rate=32000 i2c_debug=1 options tda9887 qss=1 port1=0 port2=0
This will create a dsp1 and mixer1 device for sound.
ALSA: If you use alsa for sound, kernels 2.6.15 and later provide a saa7134-alsa module. Enable it in your kernel and configure /etc/modprobe.conf like this:
install saa7134 /sbin/modprobe --first-time --ignore-install saa7134 && { /sbin/modprobe saa7134-alsa || :; } options saa7134 i2c_debug=1 options tda9887 qss=1 port1=0 port2=0
The first line is there so that the saa7134-alsa module is loaded automatically.
The mplayer command line also changes, see below.
Viewers
You should get a clean picture with any decent TV application, e.g. xawtv or tvtime. However, most applications are not able to get the sound right (If anybody knows why that is, your contribution is highly welcome...) If you can set the source from TV to TV mono,sometimes,it works fine.
The best application to watch TV at the moment is mplayer. You could for example use a command like this (the following part is quoted from a posting by Uros Vampl on the v4l mailing list):
mplayer -vo xv -ao alsa \ -tv driver=v4l2: \ device=/dev/video0: \ width=720:height=576: \ normid=1:chanlist=europe-west: \ immediatemode=0:adevice=/dev/dsp1:amode=1: \ channels=<list_of_channels> \ -vf crop=690:552,pp=li -aspect 4/3 tv://
An explanation of all the options:
- driver=v4l2: Use the v4l2 driver.
- device=/dev/video0: The /dev device for the tuner.
- width=720 and height=576: The size of the video.
- normid=1: Set the TV norm. See the console output of MPlayer for a list of available norms.
- chanlist=europe-west: Set the frequency range where MPlayer will look for channels.
- immediatemode=0: Use adevice instead of a loop cable to the sound card.
- adevice=/dev/dsp1: The audio device created by passing oss=1 to the saa7134 module.
ALSA: To use alsa replace adevice=/dev/dsp1 with alsa:adevice=hw.1,0:audiorate=32000
- amode=1: Use stereo sound. Other options: 0 - mono, 2 - language1, 3 - language2
- channels=<list>: The list of channels is in the form of <chan1>-<chan1_name>,<chan2>-<chan2_name>, etc. For example:
channels=E7-ORF_1,23-ORF_2,SE8-Sat.1,SE12-Pro_7, etc.
Video filters (-vf)
- crop=690:552: Crop away the garbage that is usually at the edges of a tv picture.
- pp=li: Linear interpolation deinterlacer. It has very little CPU usage, while producing an acceptable picture. Look at the MPlayer manpage for other deinterlacers. A very good deinterlacer for example is kerndeint.
- -aspect 4/3: Sets the correct aspect ratio of the picture.
The default keys for switching channels are 'h' and 'k'. If you don't specify a channels list, mplayer will switch through all channels in the frequency range specified by the chanlist option.
Sound does not work right away, you need to switch the mixer to line1, for example with umix:
umix -d /dev/mixer1 line1 R
While tvtime cannot handle sound, you can use sox. Just start tvtime and then sox, like this:
sox -t ossdsp -w -c2 -r 32000 /dev/sound/dsp1 -t ossdsp /dev/sound/dsp
Teletext
Works with mtt and alevt. mtt works out of the box, for alevt a patch is needed, which is available here.
See also
There is a detailed summary about this card here.