Difference between revisions of "TechnoTrend TT-connect S2-3650 CI"

From LinuxTVWiki
Jump to: navigation, search
(New page: A DVB-S2 USB 2.0 Device from TechnoTrend. It is currently unsupported, but experimental support has been attempted. ==Overview/Features== This is a USB 2.0...)
 
(Driver Status)
 
(29 intermediate revisions by 7 users not shown)
Line 1: Line 1:
A [[DVB-S2]] [[DVB-S2 USB Devices|USB 2.0 Device]] from [[TechnoTrend]].
+
A [[DVB-S2]] [[DVB-S2 USB Devices|USB 2.0 Device]] from [[TechnoTrend]]. Identical to the [http://www.linuxtv.org/wiki/index.php/TechnoTrend_TT-connect_S2-3600 TechnoTrend TT-connect S2-3600], but bundled with a CI interface.
   
 
It is currently unsupported, but experimental support has been attempted.
 
It is currently unsupported, but experimental support has been attempted.
Line 11: Line 11:
 
===Components Used===
 
===Components Used===
   
  +
* Cypress CY7C68013A USB controller [http://app.cypress.com/portal/server.pt?space=CommunityPage&control=SetCommunity&CommunityID=209&PageID=259&fid=14&rpn=CY7C68013A]
* Cyrix CY7C68013A USB controller
 
  +
* STM STB0899 (demodulator) [http://www.st.com/stonline/products/literature/bd/11107.pdf]
* STB0899 demod
 
  +
* STM STB6100 (tuner) [http://www.st.com/stonline/products/literature/bd/10839.pdf]
* STB6100 tuner
 
  +
* STM LNBP22 (LNB voltage regulator) [http://www.st.com/stonline/products/literature/ds/5816/lnbp20.pdf]
  +
* STM M24C64 (EEPROM containing USB controller firmware, MAC address) [http://www.st.com/stonline/products/literature/ds/4578.pdf]
   
 
===Identification===
 
===Identification===
Line 32: Line 34:
 
- stb6100.ko
 
- stb6100.ko
 
- lnbp22.ko
 
- lnbp22.ko
  +
- ttpci-eeprom.ko
 
- dvb-usb.ko
 
- dvb-usb.ko
 
- dvb-usb-pctv452e.ko
 
- dvb-usb-pctv452e.ko
   
To use this device you have to have a tuning application that uses the new [[multiproto]] DVB api.
+
To use this device you have to have a tuning application that uses the new [[S2API]] or [[multiproto]] DVB api.
there's a patched version of szap available (search mailing list).
+
There's a patched version of szap available (search mailing list).
   
 
Make sure you haven't loaded any old dvb drivers.
 
Make sure you haven't loaded any old dvb drivers.
 
Here's a step by step howto:
 
Here's a step by step howto:
  +
  +
  +
===S2API===
  +
(at least for S2API there is no patch required anymore (july 2009), not tested: HDTV and Remote Control, tested and running: SDTV, CI with Alphacrypt CAM)
  +
  +
mkdir 3650
  +
cd 3650
  +
hg clone http://mercurial.intuxication.org/hg/s2-liplianin
  +
cd s2-liplianin
  +
make ; # there might be a few warnings.
  +
cd v4l
  +
insmod dvb-core.ko
  +
insmod stb6100.ko verbose=0
  +
insmod stb0899.ko verbose=0
  +
insmod lnbp22.ko
  +
insmod ttpci-eeprom.ko
  +
insmod dvb-usb.ko
  +
insmod dvb-usb-pctv452e.ko
  +
  +
===Multiproto===
   
 
mkdir 3650
 
mkdir 3650
 
cd 3650
 
cd 3650
hg clone http://jusst.de/hg/multiproto
+
hg clone -r 9036 http://jusst.de/hg/multiproto
  +
# Note these are patches against multiproto changeset 9036
wget http://hem.passagen.se/faruks/3650/pctv452e.patch
 
  +
wget http://hem.passagen.se/faruks/3650/pctv452e.txt
patch -p0 < pctv452e.patch
 
  +
patch -p0 < pctv452e.txt
  +
# Support for Common Interface, MAC address readout
  +
wget http://zapping.sf.net/pctv452e-ci-mac.patch
  +
patch -p0 < pctv452e-ci-mac.patch
 
cd multiproto
 
cd multiproto
 
make ; # there might be a few warnings.
 
make ; # there might be a few warnings.
 
cd v4l
 
cd v4l
 
insmod dvb-core.ko
 
insmod dvb-core.ko
insmod dvb-pll.ko
 
 
insmod stb6100.ko verbose=0
 
insmod stb6100.ko verbose=0
 
insmod stb0899.ko verbose=0
 
insmod stb0899.ko verbose=0
 
insmod lnbp22.ko
 
insmod lnbp22.ko
  +
insmod ttpci-eeprom.ko
 
insmod dvb-usb.ko
 
insmod dvb-usb.ko
 
insmod dvb-usb-pctv452e.ko
 
insmod dvb-usb-pctv452e.ko
 
# If you use 32-bit system and insmod complains about: error inserting 'stb0899.ko': -1 Unknown symbol in module.
 
# If you use 32-bit system and insmod complains about: error inserting 'stb0899.ko': -1 Unknown symbol in module.
  +
Edit this file: multiproto/linux/drivers/media/dvb/frontends/stb0899_algo.c
Use this this driver instead:
 
  +
change line 1547 from:
wget http://hem.passagen.se/faruks/3650/pctv452e-32-bit.patch
 
  +
<span style="color:#ff0000;">offsetfreq = (s32)((s64)offsetfreq *
  +
((s64)internal->master_clk / (s64)1000000) /
  +
((s64)((1 << 30) / (s64)1000)));</span>
  +
To:
  +
<span style="color:#347235;">offsetfreq = ((((offsetfreq / 1024) * 1000) / (1<<7)) * (s32)(internal->master_clk/1000000)) / (s32)(1<<13);</span>
   
   
  +
====Sample kernel output====
 
  +
===Sample kernel output===
Linux 2.6.25.4.
 
  +
Linux 2.6.25.4 (multiproto)
   
 
dvb-usb: found a 'Technotrend TT Connect S2-3650-CI' in warm state.
 
dvb-usb: found a 'Technotrend TT Connect S2-3650-CI' in warm state.
 
pctv452e_power_ctrl: 1
 
pctv452e_power_ctrl: 1
dvb-usb: recv bulk message failed: -110
 
 
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
 
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
 
DVB: registering new adapter (Technotrend TT Connect S2-3650-CI)
 
DVB: registering new adapter (Technotrend TT Connect S2-3650-CI)
Line 78: Line 110:
 
stb6100_attach: Attaching STB6100
 
stb6100_attach: Attaching STB6100
 
pctv452e_tuner_attach Leave
 
pctv452e_tuner_attach Leave
input: IR-receiver inside an USB DVB receiver as /class/input/input7
+
input: IR-receiver inside an USB DVB receiver as /class/input/input5
 
dvb-usb: schedule remote query interval to 500 msecs.
 
dvb-usb: schedule remote query interval to 500 msecs.
 
pctv452e_power_ctrl: 0
 
pctv452e_power_ctrl: 0
Line 84: Line 116:
 
usbcore: registered new interface driver pctv452e
 
usbcore: registered new interface driver pctv452e
 
usbcore: registered new interface driver dvb-usb-tt-connect-s2-3600-01.fw
 
usbcore: registered new interface driver dvb-usb-tt-connect-s2-3600-01.fw
  +
====Driver Status====
 
  +
Linux 2.6.27.2 (S2API)
  +
  +
dvb-usb: found a 'Technotrend TT Connect S2-3650-CI' in warm state.
  +
pctv452e_power_ctrl: 1
  +
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
  +
DVB: registering new adapter (Technotrend TT Connect S2-3650-CI)
  +
pctv452e: I2C error -121; AA 02 A0 01 14 -> 55 02 A0 00 00.
  +
dvb-usb: MAC address reading failed.
  +
pctv452e_frontend_attach Enter
  +
stb0899_attach: Attaching STB0899
  +
pctv452e: CI initialized.
  +
pctv452e_frontend_attach Leave Ok
  +
DVB: registering adapter 0 frontend 0 (STB0899 Multistandard)...
  +
pctv452e_tuner_attach Enter
  +
stb6100_attach: Attaching STB6100
  +
pctv452e_tuner_attach Leave
  +
input: IR-receiver inside an USB DVB receiver as /class/input/input8
  +
dvb-usb: schedule remote query interval to 500 msecs.
  +
pctv452e_power_ctrl: 0
  +
dvb-usb: Technotrend TT Connect S2-3650-CI successfully initialized and connected.
  +
usbcore: registered new interface driver pctv452e
  +
usbcore: registered new interface driver dvb-usb-tt-connect-s2-3600-01.fw
  +
  +
===Driver Status===
 
Working:
 
Working:
 
- Remote Control
 
- Remote Control
Line 92: Line 148:
 
- DVB-S
 
- DVB-S
 
- DVB-S2
 
- DVB-S2
  +
- Common Interface
  +
  +
  +
A problem with locking high symbol rate channels (DVB-S2 30000 3/4 transponders) has been reported a number
  +
of times for the similar (but PCI not USB) [[TechnoTrend TT-budget S2-3200]], but has not been solved.
  +
http://linuxtv.org/pipermail/linux-dvb/2009-January/031673.html,
  +
http://linuxtv.org/pipermail/linux-dvb/2009-February/031779.html .
  +
  +
This problem also exists for the TT S2-3650 CI USB.
  +
  +
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 .
  +
  +
Do you have the TT S2-3200 or TT S2-3650 ? Can you help debug the driver?
   
<span style="color:#ff0000;">'''Not working:'''</span>
 
<span style="color:#ff0000;">'''- [[Common Interface]]'''</span>
 
 
==External Links==
 
==External Links==
 
* [http://www.technotrend.com/2780/TT-connect__S2-3650_CI.html TechnoTrend TT-connect S2-3650 CI product page]
 
* [http://www.technotrend.com/2780/TT-connect__S2-3650_CI.html TechnoTrend TT-connect S2-3650 CI product page]
  +
[[Category:DVB-S2 USB Devices]]

Latest revision as of 12:26, 27 March 2011

A DVB-S2 USB 2.0 Device from TechnoTrend. Identical to the TechnoTrend TT-connect S2-3600, but bundled with a CI interface.

It is currently unsupported, but experimental support has been attempted.

Overview/Features

This is a USB 2.0 device capable of receiving DVB-S and DVB-S2 tranponders.
Upon connection to the USB port, the devices' LED is orange and turns green upon module load.
The USB receiver comes with a black RC5 remote control. IR events can be read from /dev/input/eventX


Components Used

  • Cypress CY7C68013A USB controller [1]
  • STM STB0899 (demodulator) [2]
  • STM STB6100 (tuner) [3]
  • STM LNBP22 (LNB voltage regulator) [4]
  • STM M24C64 (EEPROM containing USB controller firmware, MAC address) [5]

Identification

Vendor ID: 0B48
Product ID: 300A

Making it Work

What we know:

  • it uses parts/all of the ttusb-USB-protocol
  • isochronous Data transfer (whole TS only)
  • no firmware is needed (budget device)

Drivers

The following drivers are needed for these devices:

 - stb0899.ko
 - stb6100.ko
 - lnbp22.ko
 - ttpci-eeprom.ko
 - dvb-usb.ko
 - dvb-usb-pctv452e.ko

To use this device you have to have a tuning application that uses the new S2API or multiproto DVB api. There's a patched version of szap available (search mailing list).

Make sure you haven't loaded any old dvb drivers. Here's a step by step howto:


S2API

(at least for S2API there is no patch required anymore (july 2009), not tested: HDTV and Remote Control, tested and running: SDTV, CI with Alphacrypt CAM)

mkdir 3650
cd 3650
hg clone http://mercurial.intuxication.org/hg/s2-liplianin
cd s2-liplianin
make ; # there might be a few warnings.
cd v4l
insmod dvb-core.ko
insmod stb6100.ko verbose=0
insmod stb0899.ko verbose=0
insmod lnbp22.ko
insmod ttpci-eeprom.ko
insmod dvb-usb.ko
insmod dvb-usb-pctv452e.ko

Multiproto

mkdir 3650
cd 3650
hg clone -r 9036 http://jusst.de/hg/multiproto
# Note these are patches against multiproto changeset 9036
wget http://hem.passagen.se/faruks/3650/pctv452e.txt
patch -p0 < pctv452e.txt
# Support for Common Interface, MAC address readout
wget http://zapping.sf.net/pctv452e-ci-mac.patch
patch -p0 < pctv452e-ci-mac.patch
cd multiproto
make ; # there might be a few warnings.
cd v4l
insmod dvb-core.ko
insmod stb6100.ko verbose=0
insmod stb0899.ko verbose=0
insmod lnbp22.ko
insmod ttpci-eeprom.ko
insmod dvb-usb.ko
insmod dvb-usb-pctv452e.ko
# If you use 32-bit system and insmod complains about: error inserting 'stb0899.ko': -1 Unknown symbol in module.
Edit this file: multiproto/linux/drivers/media/dvb/frontends/stb0899_algo.c
change line 1547 from:
offsetfreq = (s32)((s64)offsetfreq *
                                ((s64)internal->master_clk / (s64)1000000) /
                                ((s64)((1 << 30) / (s64)1000)));
To:
offsetfreq = ((((offsetfreq / 1024) * 1000) / (1<<7)) * (s32)(internal->master_clk/1000000)) / (s32)(1<<13);


Sample kernel output

Linux 2.6.25.4 (multiproto)

dvb-usb: found a 'Technotrend TT Connect S2-3650-CI' in warm state.
pctv452e_power_ctrl: 1
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Technotrend TT Connect S2-3650-CI)
pctv452e_frontend_attach Enter
stb0899_attach: Attaching STB0899
lnbp22_set_voltage: 2 (18V=1 13V=0)
lnbp22_set_voltage: 0x60)
pctv452e_frontend_attach Leave Ok
DVB: registering frontend 0 (STB0899 Multistandard)...
pctv452e_tuner_attach Enter
stb6100_attach: Attaching STB6100
pctv452e_tuner_attach Leave
input: IR-receiver inside an USB DVB receiver as /class/input/input5
dvb-usb: schedule remote query interval to 500 msecs.
pctv452e_power_ctrl: 0
dvb-usb: Technotrend TT Connect S2-3650-CI successfully initialized and connected.
usbcore: registered new interface driver pctv452e
usbcore: registered new interface driver dvb-usb-tt-connect-s2-3600-01.fw

Linux 2.6.27.2 (S2API)

dvb-usb: found a 'Technotrend TT Connect S2-3650-CI' in warm state.
pctv452e_power_ctrl: 1
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Technotrend TT Connect S2-3650-CI)
pctv452e: I2C error -121; AA 02  A0 01 14 -> 55 02  A0 00 00.
dvb-usb: MAC address reading failed.
pctv452e_frontend_attach Enter
stb0899_attach: Attaching STB0899 
pctv452e: CI initialized.
pctv452e_frontend_attach Leave Ok
DVB: registering adapter 0 frontend 0 (STB0899 Multistandard)...
pctv452e_tuner_attach Enter
stb6100_attach: Attaching STB6100 
pctv452e_tuner_attach Leave
input: IR-receiver inside an USB DVB receiver as /class/input/input8
dvb-usb: schedule remote query interval to 500 msecs.
pctv452e_power_ctrl: 0
dvb-usb: Technotrend TT Connect S2-3650-CI successfully initialized and connected.
usbcore: registered new interface driver pctv452e
usbcore: registered new interface driver dvb-usb-tt-connect-s2-3600-01.fw

Driver Status

Working:

- Remote Control
- LNB Power (13/18V)
- 22kHz
- DiSEqC
- DVB-S
- DVB-S2
- Common Interface


A problem with locking high symbol rate channels (DVB-S2 30000 3/4 transponders) has been reported a number of times for the similar (but PCI not USB) TechnoTrend TT-budget S2-3200, but has not been solved. http://linuxtv.org/pipermail/linux-dvb/2009-January/031673.html, http://linuxtv.org/pipermail/linux-dvb/2009-February/031779.html .

This problem also exists for the TT S2-3650 CI USB.

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 .

Do you have the TT S2-3200 or TT S2-3650 ? Can you help debug the driver?

External Links