TechnoTrend TT-budget S2-3200: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(62 intermediate revisions by 19 users not shown)
Line 1: Line 1:
A [[DVB-S2]] [[DVB-S2 PCI Cards|PCI card]] from [[TechnoTrend]].
<p class="style9">DEVELOPING TechnoTrend TT 3200 DVB-S2<br>

<br>
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].
<br>

Has anyone get the TT 3200 DVB-S2 make work ?<br>
==Overview==
<br>
This card is apparently also available/rebranded as the [[TechniSat SkyStar HD]].
<br>

Magnus wrote :<br>
===Components Used===
<br>
* [[Philips_SAA7146 | NXP/Philips SAA7146]] (PCI bridge)
<br>
* [[STMicroelectronics]] [[STMicroelectronics STB0899|STB0899]] (demodulator)
&nbsp;i have a TT-3200 card and trying to get it work in Linux<br>
* [[STMicroelectronics]] [[STMicroelectronics STB6100|STB6100]] (tuner)
With some search around I found that Manu has a stb0899<br>
* [[STMicroelectronics]] [[STMicroelectronics LNBP21|LNBP21]] (LNB supply and control IC)
drivers that should do the job. I suceeded to compiled it and are <br>
It also supports an add-on [[CI]] slot using the '''budget_ci''' module.
able to load the drivers (and it found the card).<br>

But when running scan it found nothing, and are throw alot of errors in dmesg
===Identification===
(se below).<br>
Type
Im are running 2.6.16.13 and stb0899-c5<br>
lspci -v
<br>
You should get lots of output, including a paragraph something like this:
</p>
04:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
<p><span class="style8"><span class="style1"><span class="style2">
Subsystem: Technotrend Systemtechnik GmbH S2-3200
<span class="style6">dmesg<span class="style4"><span class="style7"><br>
Flags: bus master, medium devsel, latency 64, IRQ 16
</span></span><em>....</em><span class="style4"><span class="style7"><em><br>
Memory at febffc00 (32-bit, non-prefetchable) [size=512]
</em></span></span><span class="style7"><em>stb0899_write_regs [0xf1c2]: 20</em></span><span class="style4"><span class="style7"><em><br>

</em></span></span><span class="style7"><em>stb0899_write_regs: </em></span>
==Drivers==
<span class="style4"><span class="style7"><em>Reg=[0xf1c2], Data=[0x20 ...],

Count=1, Status=-121<br>
This card works like a charm and out of the box like TT-connect S2 3600 USB in Ubuntu.
stb0899_write_regs [0xf1c3]: 00<br>
Also works in Arch (4.14.11-1).
stb0899_write_regs: Reg=[0xf1c3], Data=[0x00 ...], Count=1, Status=-121<br>
No firmware installation needed.
stb0899_write_regs [0xf200]: 00<br>

stb0899_read_reg: Read error, Reg=[0xf2ff], Status=-121<br>
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
stb0899_write_regs: Reg=[0xf200], Data=[0x00 ...], Count=1, Status=-121<br>
and making sure that the appropriate kernel modules are loaded.
stb0899_write_regs [0xf201]: 0a<br>

stb0899_read_reg: Read error, Reg=[0xf2ff], Status=-121<br>
Only start looking at experimental drivers described below if you need more recent changes or fixes.
stb0899_write_regs: Reg=[0xf201], Data=[0x0a ...], Count=1, Status=-121<br>

stb0899_init: init S2 demod<br>
===Card only rarely locks onto any transponder===
stb0899_write_s2reg Device=[0xf3fc], Base Address=[0x00000000], Offset=[0xf300],

Data=[0x00000103]<br>
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]
stb0899_write_s2reg ERR (1), Device=[0xf3fc], Base Address=[0x00000000],

Offset=[0xf300], Data=[0x00000103], status=-121<br>

stb0899_write_s2reg Device=[0xf3fc], Base Address=[0x00000000], Offset=[0xf304],
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:
Data=[0x3ed1da56]<br>

stb0899_write_s2reg ERR (1), Device=[0xf3fc], Base Address=[0x00000000],
* Go to your media_build/linux directory.
Offset=[0xf304], Data=[0x3ed1da56], status=-121<br>
* Make a new textfile called "stb0899.patch". Copy/paste the contents of the patch into it and save the file.
stb0899_write_s2reg Device=[0xf3fc], Base Address=[0x00000000], Offset=[0xf308],
* Change a/ and b/ everywhere in the file to ./ so the paths point to your local files.
Data=[0x00004000]<br>
* Go to the commandline, cd to your media_build/linux directory.
stb0899_write_s2reg ERR (1), Device=[0xf3fc], Base Address=[0x00000000],
* Run "patch -p0 < stb0899.patch". If you get messages about failed hunks, godspeed.
Offset=[0xf308], Data=[0x00004000], status=-121<br>
* Compile and install v4l-dvb. Reboot/reload modules.
stb0899_write_s2reg Device=[0xf3fc], Base Address=[0x00000000], Offset=[0xf30c],

Data=[0x00002ade]<br>
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.
stb0899_write_s2reg ERR (1), Device=[0xf3fc], Base Address=[0x00000000],

Offset=[0xf30c], Data=[0x00002ade], status=-121<br>
===Status/problems===
stb0899_write_s2reg Device=[0xf3fc], Base Address=[0x00000000], Offset=[0xf310],

Data=[0x000001bc]<br>
A problem with locking high symbol rate channels (DVB-S2 30000 3/4 transponders) has been reported a number
stb0899_write_s2reg ERR (1), Device=[0xf3fc], Base Address=[0x00000000],
of times:
Offset=[0xf310], Data=[0x000001bc], status=-121<br>
http://linuxtv.org/pipermail/linux-dvb/2009-January/031673.html,
stb0899_write_s2reg Device=[0xf3fc], Base Address=[0x00000000], Offset=[0xf314],
http://linuxtv.org/pipermail/linux-dvb/2009-February/031779.html .
Data=[0x00000200]<br>
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.
stb0899_write_s2reg ERR (1), Device=[0xf3fc], Base Address=[0x00000000],

Offset=[0xf314], Data=[0x00000200], status=-121<br>

stb0899_write_s2reg Device=[0xf3fc], Base Address=[0x00000000], Offset=[0xf31c],
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].
Data=[0x0000000f]<br>

stb0899_write_s2reg ERR (1), Device=[0xf3fc], Base Address=[0x00000000],
A way to use the similar (but USB) [[TechnoTrend TT-connect S2-3650 CI]] to help fix problem has been suggested here:
Offset=[0xf31c], Data=[0x0000000f], status=-121<br>
http://www.spinics.net/lists/linux-media/msg01169.html .
stb0899_write_s2reg Device=[0xf3fc], Base Address=[0x00000000], Offset=[0xf320],

Data=[0x03fb4a20]<br>
Another way is to use 29999.999MHz for symbol rate. ( Successfully test with Eutelsat W2 / EuroBird 16E, Madagascar beam with OrangeTV)
stb0899_write_s2reg ERR (1), Device=[0xf3fc], Base Address=[0x00000000],

Offset=[0xf320], Data=[0x03fb4a20], status=-121<br>
Do you have the TT3200 or TT3650 ? Can you help debug the driver?
stb0899_write_s2reg Device=[0xf3fc], Base Address=[0x00000000], Offset=[0xf324],

Data=[0x00200c97 </em></span></span></span></span></span></span>
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]
<span class="style5"><em><br>

</em></span></p>
===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==
* [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].
* [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]]
[[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