TechnoTrend TT-connect S2-3650 CI

From LinuxTVWiki
Jump to navigation Jump to search

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