Kirjoittaja Aihe: TBS6221 DVB-T2/T/C Tv Tuner PCIe Kortin asentaminen ubuntuun  (Luettu 5179 kertaa)

kpsaari

  • Käyttäjä
  • Viestejä: 150
    • Profiili
Yritän asentaa otsikossa mainittua tv-korttia. Latasin ajurit osoitteesta: http://www.tbsdtv.com/download/ , mutta siihen ne taidot sitten loppu. Osaisiko joku neuvoa, miten tuo asennus onnistuu?

Ei tarvitse huutaa, otsikkoa rauhoitettu -Storck
« Viimeksi muokattu: 29.02.16 - klo:17.03 kirjoittanut Storck »

Tomin

  • Palvelimen ylläpitäjä
  • Käyttäjä / moderaattori+
  • Viestejä: 11442
    • Profiili
    • Tomin kotisivut
TBS6221 DVB-T2/T/C Tv Tuner PCIe Kortin asentaminen ubuntuun
« Vastaus #1 : 29.02.16 - klo:14.07 »
LinuxTV Wiki ei kerro tuosta mallista mitään, mutta ainakin TBS6220 on tuettu ja näkyy tuo olevan mainittuna ajureiden lähdekoodissa. Siellä on ohjeet tuon ajurin asentamiseen:
http://linuxtv.org/wiki/index.php/TBS_driver_installation#Closed-source_drivers
sekä myöskin tekstin mukaan ehkä jopa paremmin toimivan avoimen lähdekoodin ajurin asentamiseen:
http://linuxtv.org/wiki/index.php/TBS_driver_installation#Open-source_drivers
Lainaus
It does not currently support the remote control, but SD and HD reception is working and appears to be stable and quicker to change channels than the official TBS version.
Eli jälkimmäisellä saat nopeamman ja vakaammin toimivan kanavanvaihdon, mutta et kaukosäädintukea.
« Viimeksi muokattu: 29.02.16 - klo:17.03 kirjoittanut Storck »
Automaattinen allekirjoitus:
Lisäisitkö [RATKAISTU] ketjun ensimmäisen viestin aiheeseen ongelman ratkettua, kiitos.

kpsaari

  • Käyttäjä
  • Viestejä: 150
    • Profiili
TBS6221 DVB-T2/T/C Tv Tuner PCIe Kortin asentaminen ubuntuun
« Vastaus #2 : 29.02.16 - klo:15.26 »
Kaffeine ei ainakaan löydä korttia. Miksi asennus on niin monimutkainen? Windowsissa on yksi tuplaklikattava ajuritiedosti ja siinä se. Ja Ubuntua kehutaan helpoksi...
« Viimeksi muokattu: 29.02.16 - klo:17.03 kirjoittanut Storck »

Tomin

  • Palvelimen ylläpitäjä
  • Käyttäjä / moderaattori+
  • Viestejä: 11442
    • Profiili
    • Tomin kotisivut
Kaffeine ei ainakaan löydä korttia. Miksi asennus on niin monimutkainen? Windowsissa on yksi tuplaklikattava ajuritiedosti ja siinä se. Ja Ubuntua kehutaan helpoksi...

Koska nämä ajurit eivät ole osa Ubuntua. Monet DVB-T-virittimet toimivat asentamalla laiteohjelmistopaketin ja kytkemällä tikun kiinni eli mitään ajureita ei tarvitse erikseen asentaa.
Automaattinen allekirjoitus:
Lisäisitkö [RATKAISTU] ketjun ensimmäisen viestin aiheeseen ongelman ratkettua, kiitos.

nm

  • Käyttäjä
  • Viestejä: 16246
    • Profiili
TBS6221 DVB-T2/T/C Tv Tuner PCIe Kortin asentaminen ubuntuun
« Vastaus #4 : 29.02.16 - klo:15.55 »
Kaffeine ei ainakaan löydä korttia. Miksi asennus on niin monimutkainen? Windowsissa on yksi tuplaklikattava ajuritiedosti ja siinä se. Ja Ubuntua kehutaan helpoksi...

On täysin mahdollista tarjota suljettuja ajureita Ubuntulle helposti asennettavissa deb-paketeissa tai PPA-repositorioiden kautta. Valitettavasti kattavan jakelukohtaisen tuen tarjoaminen on harvoin taloudellisesti kannattavaa valmistajan näkökulmasta. Kannattaa kuitenkin aina lähettää valmistajalle palautetta, jos tällaista tukea kaipaa.

Paras tapa varmistaa Linux-tuki olisi kehittää ja ylläpitää avoimia ajureita suoraan kernelissä, mutta yksittäisellä laitevalmistajalla ei välttämättä ole siihen valtuuksia, koska piirisarjoissa on omat rajoittavat lisenssinsä. En sitten tiedä, mikä tässä tapauksessa on esteenä nykyisten avointen ajurien sisällyttämisessä kerneliin. Yleensä este on laillinen tai tekninen (eli ajuri vaatisi suurempia muutoksia, jotta se hyväksyttäisiin mukaan).
« Viimeksi muokattu: 29.02.16 - klo:17.04 kirjoittanut Storck »

Thinkit

  • Käyttäjä
  • Viestejä: 912
  • Kysyvä ei tieltä eksy, eikä eksyvä tietä kysy.
    • Profiili
Tässä tuo ohje, melko pitkähän tuo on mutta yrittämällä siitä selviää.  :)

Lainaus
Basic knowledge of Linux system. Create directory, for example /root/tbs and copy the following file to it:

- dvb-fe-cx24116.fw (CX24116 DVB-S2 Demodulator firmware)
- linux-tbs-sources.tar.bz2 (source code of S2API Linix drivers for TBS products)
- szap-s2.tar.bz2 (szap tool compatible with new DVB-S2 aware S2 API for Linux)
- scan-s2.tar.bz2 (scan tool compatible with new DVB-S2 aware S2 API for Linux)
- astra_szap-s2.conf (example configuration file for szap-s2 with only few transponders from Astra 19.2E satellite)
- astra_scan-s2.conf (example configuration file for scan-s2 with only few transponders from Astra 19.2E satellite)
- v4l-cx23885-avcore-01.fw (CX23885 AV core firmware, optional)

from now on all step are executed in /root/tbs, i.e. "cd /root/tbs" unless it's stated otherwise.

I. install the CX24116 firmware file "dvb-fe-cx24116.fw" to /lib/firmware/:

mv dvb-fe-cx24116.fw /lib/firmware/

II. build, install and load S2API Linix drivers for TBS6920 and TBS8920 cards

II.0 (optional in case packages aren't already installed) install prerequisite packages using Ubuntu package manager:

apt-get update
apt-get install linux-headers-`uname -r`
apt-get install linux-kernel-devel

II.1 extract linux-tbs-sources.tar.bz2 archive:

tar xjvf linux-tbs-sources.tar.bz2

II.2 go to driver source code directory:

cd linux-tbs-sources/

II.3 build and install the driver:
II.4 make && make install

II.5 reboot in order to load the newly installed driver:

shutdown -r now

II.6 after reboot check that the newly installed driver is loaded correctly:

(for TBS 6920 only)

dmesg | grep cx23885

if everything is OK, the output from the above command should be similar to:

cx23885 driver version 0.0.1 loaded
cx23885 0000:04:00.0: PCI INT A -> GSI 32 (level, low) -> IRQ 32
CORE cx23885[0]: subsystem: 6920:8888, board: TurboSight TBS 6920 [card=14,autodetected]
cx23885_dvb_register() allocating 1 frontend(s)
cx23885[0]: cx23885 based dvb card
DVB: registering new adapter (cx23885[0])
cx23885_dev_checkrevision() Hardware revision = 0xb0
cx23885[0]/0: found at 0000:04:00.0, rev: 2, irq: 32, latency: 0, mmio: 0xdc000000
cx23885 0000:04:00.0: setting latency timer to 64

(for TBS 8920 only)

dmesg | grep cx88

III. here are some basic instructions how to test locking to transponder with "szap-s2":

III.1 extract "szap-s2.tar.bz2" archive:

# tar xjvf szap-s2.tar.bz2

III.2 go to szap-s2 source code directory:

# cd szap-s2

III.3 build szap-s2:

# make

III.4 szap-s2 uses configuration files (see configuration file "astra_szap-s2.conf" for example) - they are simple text files and each line of them contains information about a channel, for example:

BBC:11597:v:0:22000:163:92:10050

this means:

- channel name is BBC, you can choose whatever you want for channel name, it's just a text string

- channel frequency is 11597MHz

- transponder polarization is V(ertical)

- 0: use first LNB (if you have only one LNB, it's always 0, if you have DiSEqC switch and several LNBs connected to that switch it could be number greater than 0 and showing which LNB to use, i.e. to which DiSEqC switch port desired LNB is connected)

- 22000: symbol rate

- 163: Video PID (VPID)

- 92: Audio PID

- 10050: Service ID (SID)

the example is for "BBC World" channel on Astra 19.2E satellite. you can find all those numbers for example here:

http://www.lyngsat.com/astra19.html

III.5 write your szap-s2 configuration files (or create one using S2API compatible version of the "scan" tool)

III.6 use szap-s2 examples:

- to lock to DVB-S transponder: ./szap-s2 -c astra_szap-s2.conf -p -r -S 0 "BBC"

- to lock to DVB-S2: ./szap-s2 -c sample.conf -p -r -S 1 -M 5 -C 23 "CHAN_NAME"

where "-S 1" is DVB-S2, "-M 5" is 8PSK modulation, "-C 23" is FEC 2/3

IV. here are some basic instructions how to scan transponder with "scan-s2":

IV.1 extract "scan-s2.tar.bz2" archive:

# tar xjvf scan-s2.tar.bz2

IV.2 go to scan-s2 source code directory:

# cd scan-s2

IV.3 build scan-s2:

# make

IV.4 scan-s2 uses configuration files (see configuration file "astra_scan-s2.conf" for example) - they are simple text files and each line of them contains information about a transponder, for example:

S1 11778000 V 27500000 3/4 35 QPSK
S2 11362000 H 22000000 2/3 35 8PSK

where:

- "S1" or "S2" indicates the delivery system, i.e. either DVB-S or DVB-S2
- second parameter is the frequency, in our example respectively 11778000 kHz or 11362000 kHz
- "V" or "H" indicates that the polarization: V(ertical) or H(orizontal)
- 5th parameter is the FEC value, in our example respectively 3/4 or 2/3
- the next parameter is the Roll-off factor, "35" in our example
- and the last parameter is the modulation, in our example respectively QPSK or 8PSK

the Roll-off factor and the modulation are mandatory for DVB-S2 cards and without them the result is just unpredictable, most probably - no lock. the reason for that is that DVB-S2 supports several modulation like QPSK, 8PSK, etc and 3 Roll-off factors : 0.20, 0.25, 0.35 (respectively 20, 25, 35 in the configuration file). DVB-S supports only one Roll-off factor - 0.35 and so for DVB-S transponders Roll-off factor is always 35 in the configuration file

IV.5 write your scan-s2 configuration files

IV.6 use scan-s2 to scan a tranposnder

thinkit
Lenovo Thinkpad e520
Kde Neon 5.22.3
Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
Amd Radeon HD 6630m
Intel HD 3000 integroitu
Samsung Evo 120G kovo ja 8G muistia
Sony Xperia 5 mk2 ja android 11

nm

  • Käyttäjä
  • Viestejä: 16246
    • Profiili
Tässä tuo ohje, melko pitkähän tuo on mutta yrittämällä siitä selviää.  :)

Tuo ohje on satelliittikorteille (DVB-S2). Tomin linkittämät linuxtv.org:n ohjeet yleistyvät paremmin DVB-T2-korteille.