TechnoTrend TT-budget S2-3200: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
No edit summary
 
(41 intermediate revisions by 12 users not shown)
Line 1: Line 1:
A [[DVB-S2]] [[DVB-S PCI Cards|PCI card]] from [[TechnoTrend]].
A [[DVB-S2]] [[DVB-S2 PCI Cards|PCI card]] from [[TechnoTrend]].


This card '''supported''' (but not working properly)(???) in the stock kernel as of version 2.6.29 [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9e0dc6606a4f26a70cede6bf181cbff21f4c5477 commit].
There are experimental drivers available for the device
(see http://jusst.de/hg/multiproto/).


==Overview==
==Overview==
Line 8: Line 7:


===Components Used===
===Components Used===
* [[Philips_SAA7146 | NXP/Philips SAA7146]] (PCI bridge)
* [[STMicroelectronics]] STB6100 (tuner)
* [[STMicroelectronics]] [[STMicroelectronics STB0899|STB0899]] (demodulator)
* [[STMicroelectronics]] [[STMicroelectronics STB0899|STB0899]] (demodulator)
* [[STMicroelectronics]] [[STMicroelectronics STB6100|STB6100]] (tuner)
* NXP/Philips SAA7146 (PCI bridge)
* [[STMicroelectronics]] [[STMicroelectronics LNBP21|LNBP21]] (LNB supply and control IC)
It also supports an add-on [[CI]] slot using the '''budget_ci''' module.


===Identification===
It also supports an add-on [[CI]] slot.
Type
lspci -v
You should get lots of output, including a paragraph something like this:
04:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
Subsystem: Technotrend Systemtechnik GmbH S2-3200
Flags: bus master, medium devsel, latency 64, IRQ 16
Memory at febffc00 (32-bit, non-prefetchable) [size=512]

==Drivers==

This card works like a charm and out of the box like TT-connect S2 3600 USB in Ubuntu.
Also works in Arch (4.14.11-1).
No firmware installation needed.

This card '''supported''' (but not working properly) in the stock kernel as of version 2.6.29 [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9e0dc6606a4f26a70cede6bf181cbff21f4c5477 commit] so you should start off by trying the standard 2.6.29 (or later) kernel
and making sure that the appropriate kernel modules are loaded.

Only start looking at experimental drivers described below if you need more recent changes or fixes.

===Card only rarely locks onto any transponder===

This is a known issue, and there is a patch available for it. First you have to get v4l-dvb source, instructions to do this can be found at [[How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers]]. Next, you need to apply this patch: [https://linuxtv.org/patch/4573/ Patchwork V4L/DVB: faster DVB-S lock for mantis cards using stb0899 demod]


I welcome anyone to improve my instructions as they are messy (no time to figure out how to do this properly), but this will work:

* Go to your media_build/linux directory.
* Make a new textfile called "stb0899.patch". Copy/paste the contents of the patch into it and save the file.
* Change a/ and b/ everywhere in the file to ./ so the paths point to your local files.
* Go to the commandline, cd to your media_build/linux directory.
* Run "patch -p0 < stb0899.patch". If you get messages about failed hunks, godspeed.
* Compile and install v4l-dvb. Reboot/reload modules.

Now, DVB-S transponders will lock reliably. I still see DVB-S2 transponders sometimes not locking properly in kaffeine and I will investigate whether this problem is kaffeine-related or if "scan" has the same problem. I've seen enormous data corruption occuring when tuning a DVB-S2 transponder, like there is a thunderstorm, but restarting kaffeine generally solves it. For now, this patch upgrades the S2-3200 from being a paperweight (it's too light for that really, I suggest using it as a bookmark) to a completely capable DVB-S tuner that, with some persuasion, can even be used for DVB-S2.

===Status/problems===

A problem with locking high symbol rate channels (DVB-S2 30000 3/4 transponders) has been reported a number
of times:
http://linuxtv.org/pipermail/linux-dvb/2009-January/031673.html,
http://linuxtv.org/pipermail/linux-dvb/2009-February/031779.html .
it is solved, buffer was too small. Unfortunately there's a tuning bug, but if you use 29998 instead of 30000 everything is working fine now.


Such transponders can be found at [http://www.lyngsat.com/hd/1west.html Thor 0.8W] and [http://www.lyngsat.com/hd/hispa.html Hispasat 30.0W].

A way to use the similar (but USB) [[TechnoTrend TT-connect S2-3650 CI]] to help fix problem has been suggested here:
http://www.spinics.net/lists/linux-media/msg01169.html .

Another way is to use 29999.999MHz for symbol rate. ( Successfully test with Eutelsat W2 / EuroBird 16E, Madagascar beam with OrangeTV)

Do you have the TT3200 or TT3650 ? Can you help debug the driver?

Also there is an issue with low symbol rates, anything below 5 Msymbols/s 5000.0MHz is not supported by the driver though the card as per vendor information supports as low as 2000MHz. So if you plan to use satelites with many services that has symbol rates below 5, this card will be of no use. [https://bbs.archlinux.org/viewtopic.php?id=233339]

===v4l-dvb/S2API driver===

Since kernel 2.6.28, DVB-S2 support has been implemented in the Linux kernel by means
of a new API, version 5, also known as [[S2API]].

Try the latest linuxtv.org repository, which is known as v4l-dvb. Changes here will go into the
next kernel version: [[How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers]].

or alternatively s2-liplianin is usually quite up to date:

hg clone http://mercurial.intuxication.org/hg/s2-liplianin
ln -s s2-liplianin s2 [scan-s2 Makefile expects this]
cd s2-liplianin
make
sudo make install
sudo reboot

Scan for channels with scan-s2:
hg clone http://mercurial.intuxication.org/hg/scan-s2
cd scan-s2
[check the INCLUDE line in the Makefile points to the s2 directory]
make
./scan-s2 [options] -o zap dvb-s/[satellitefile] > ~/channels.conf
and tune with szap-s2:
hg clone http://mercurial.intuxication.org/hg/szap-s2
cd szap-s2
[check the INCLUDE line in the Makefile points to the s2 directory]
make
./szap-s2 [options] -c ~/channels.conf [channel]

Or install one of the main multimedia applications like [[Kaffeine]] or [[MythTV]].

===Multiproto driver===
A driver using the obsolete [[multiproto]] API may be installed as follows.

Installing on Debian (2.6.18-6-686) etch with Multiproto diver (!!!DVB-S2 Don`t Work. Only DVB-S!!!).
Install new Debian (2.6.18-6-686)

cd /usr/src
apt-get install linux-headers-2.6.18-6-686
apt-get install linux-source-2.6.18
apt-get install mercurial

hg clone http://jusst.de/hg/multiproto [or maybe multiproto-plus]
cd multiproto
make
make install
reboot
dmesg


==External Links==
==External Links==
* [http://www.technotrend.de/2711/TT-budget__S2-3200.html TechnoTrend product page]
* [http://www.tt-pc.de/2764/TT-budget__S2-3200.html TechnoTrend product page]
* A nice detailed explanation on how to use the [http://wilco.bercot.org/debian/s2-3200.html TechnoTrend S2-3200 under Debian]. See also http://www.linuxtv.org/pipermail/linux-dvb/2008-February/023848.html.
* A nice detailed explanation on how to use the [http://wilco.bercot.org/debian/s2-3200.html TechnoTrend S2-3200 under Debian].
* [http://skerit.kipdola.com/?p=5&language=en TechnoTrend S2-3200 (or Technisat Skystar HD) - Multiproto drivers (march 2008) - dvb-utils - Ubuntu Linux]
* [http://www.jonas.io/tt-budget-s2-3200-mythtv/ TechnoTrend TT-budget S2-3200 and mythtv using the S2API]



[[Image:TT-budget-S2-3200.jpg |thumb|TT S2-3200]]
[[Image:TT-budget-S2-3200.jpg |thumb|TT S2-3200]]
[[Category:DVB-S2 PCI Cards]]

Latest revision as of 13:07, 8 January 2018

A DVB-S2 PCI card from TechnoTrend.

This card supported (but not working properly)(???) in the stock kernel as of version 2.6.29 commit.

Overview

This card is apparently also available/rebranded as the TechniSat SkyStar HD.

Components Used

It also supports an add-on CI slot using the budget_ci module.

Identification

Type

lspci -v

You should get lots of output, including a paragraph something like this:

04:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
 Subsystem: Technotrend Systemtechnik GmbH S2-3200
 Flags: bus master, medium devsel, latency 64, IRQ 16
 Memory at febffc00 (32-bit, non-prefetchable) [size=512]

Drivers

This card works like a charm and out of the box like TT-connect S2 3600 USB in Ubuntu. Also works in Arch (4.14.11-1). No firmware installation needed.

This card supported (but not working properly) in the stock kernel as of version 2.6.29 commit so you should start off by trying the standard 2.6.29 (or later) kernel and making sure that the appropriate kernel modules are loaded.

Only start looking at experimental drivers described below if you need more recent changes or fixes.

Card only rarely locks onto any transponder

This is a known issue, and there is a patch available for it. First you have to get v4l-dvb source, instructions to do this can be found at How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers. Next, you need to apply this patch: Patchwork V4L/DVB: faster DVB-S lock for mantis cards using stb0899 demod


I welcome anyone to improve my instructions as they are messy (no time to figure out how to do this properly), but this will work:

  • Go to your media_build/linux directory.
  • Make a new textfile called "stb0899.patch". Copy/paste the contents of the patch into it and save the file.
  • Change a/ and b/ everywhere in the file to ./ so the paths point to your local files.
  • Go to the commandline, cd to your media_build/linux directory.
  • Run "patch -p0 < stb0899.patch". If you get messages about failed hunks, godspeed.
  • Compile and install v4l-dvb. Reboot/reload modules.

Now, DVB-S transponders will lock reliably. I still see DVB-S2 transponders sometimes not locking properly in kaffeine and I will investigate whether this problem is kaffeine-related or if "scan" has the same problem. I've seen enormous data corruption occuring when tuning a DVB-S2 transponder, like there is a thunderstorm, but restarting kaffeine generally solves it. For now, this patch upgrades the S2-3200 from being a paperweight (it's too light for that really, I suggest using it as a bookmark) to a completely capable DVB-S tuner that, with some persuasion, can even be used for DVB-S2.

Status/problems

A problem with locking high symbol rate channels (DVB-S2 30000 3/4 transponders) has been reported a number of times: http://linuxtv.org/pipermail/linux-dvb/2009-January/031673.html, http://linuxtv.org/pipermail/linux-dvb/2009-February/031779.html . it is solved, buffer was too small. Unfortunately there's a tuning bug, but if you use 29998 instead of 30000 everything is working fine now.


Such transponders can be found at Thor 0.8W and Hispasat 30.0W.

A way to use the similar (but USB) TechnoTrend TT-connect S2-3650 CI to help fix problem has been suggested here: http://www.spinics.net/lists/linux-media/msg01169.html .

Another way is to use 29999.999MHz for symbol rate. ( Successfully test with Eutelsat W2 / EuroBird 16E, Madagascar beam with OrangeTV)

Do you have the TT3200 or TT3650 ? Can you help debug the driver?

Also there is an issue with low symbol rates, anything below 5 Msymbols/s 5000.0MHz is not supported by the driver though the card as per vendor information supports as low as 2000MHz. So if you plan to use satelites with many services that has symbol rates below 5, this card will be of no use. [1]

v4l-dvb/S2API driver

Since kernel 2.6.28, DVB-S2 support has been implemented in the Linux kernel by means of a new API, version 5, also known as S2API.

Try the latest linuxtv.org repository, which is known as v4l-dvb. Changes here will go into the next kernel version: How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers.

or alternatively s2-liplianin is usually quite up to date:

hg clone http://mercurial.intuxication.org/hg/s2-liplianin
ln -s s2-liplianin s2  [scan-s2 Makefile expects this]
cd s2-liplianin
make
sudo make install
sudo reboot

Scan for channels with scan-s2:

hg clone http://mercurial.intuxication.org/hg/scan-s2
cd scan-s2
[check the INCLUDE line in the Makefile points to the s2 directory]
make
./scan-s2 [options] -o zap dvb-s/[satellitefile] > ~/channels.conf

and tune with szap-s2:

hg clone http://mercurial.intuxication.org/hg/szap-s2
cd szap-s2
[check the INCLUDE line in the Makefile points to the s2 directory]
make
./szap-s2 [options] -c ~/channels.conf [channel]

Or install one of the main multimedia applications like Kaffeine or MythTV.

Multiproto driver

A driver using the obsolete multiproto API may be installed as follows.

Installing on Debian (2.6.18-6-686) etch with Multiproto diver (!!!DVB-S2 Don`t Work. Only DVB-S!!!). Install new Debian (2.6.18-6-686)

cd /usr/src
apt-get install linux-headers-2.6.18-6-686
apt-get install linux-source-2.6.18
apt-get install mercurial
hg clone http://jusst.de/hg/multiproto   [or maybe multiproto-plus]
cd multiproto
make
make install
reboot
dmesg

External Links


TT S2-3200