Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: TBS DVB-C USB stick  (gelezen 4561 keer)

Offline valk

  • Lid
    • mpvalk
TBS DVB-C USB stick
« Gepost op: 2014/06/25, 11:43:07 »
Ik heb recentelijk een DVB-C stick aangeschaft om in XBMC tv te kunnen kijken. Ik zit namelijk bij UPC en daar worden de digitale tv signalen inmiddels niet meer gecodeerd door gegeven.

In principe zijn er wel Linux drivers voor de stick maar ik begrijp de installatie niet helemaal. Is er iemand die hiermee ervaring heeft en me op weg kan helpen?

Linkje naar de drivers

Offline valk

  • Lid
    • mpvalk
Re: TBS DVB-C USB stick
« Reactie #1 Gepost op: 2014/06/25, 12:50:54 »
In de readme files staat precies hoe je het moet doen.
Het is in het Engels ja, maar dat is altijd zo. Dus ja, met een beetje Engelse kennis moet je daar wel uitkomen.

Hi Femke, bedankt voor de reactie. Mijn Engels is prima, maar de uitleg lijkt me niet specifiek voor mijn stick. Je moet eerst een firmware bestand kopiëren, dat lukt prima. Maar daarna wordt er verwezen naar een ander apparaat en de installatie daarvan? Maar dat lijkt me niet kloppen en ik krijg het ook niet werkend...
« Laatst bewerkt op: 2014/06/25, 13:03:07 door valk »

Offline valk

  • Lid
    • mpvalk
Re: TBS DVB-C USB stick
« Reactie #2 Gepost op: 2014/06/25, 13:01:03 »
In de readme files staat precies hoe je het moet doen.
Het is in het Engels ja, maar dat is altijd zo. Dus ja, met een beetje Engelse kennis moet je daar wel uitkomen.

Deze is eenvoudig:
I.0 install the TBS DVBC USB Stick firmware file "dvb-usb-tbsqbox-dvbc.fw" /lib/firmware/:

mv dvb-usb-tbsqbox-dvbc.fw /lib/firmware/

II. refer to README_TBS5921 for further installation instructions

Maar hier wordt het voor mij lastiger en lijkt me niet specifiek voor mijn stick?

README file for TurboSight TBS 5921 DVB-S/S2 USB box Linux drivers

NOTE: this document assumes that all prerequisite packages like kerner headers
and build tools are already installed in your Linux system.

Most of the steps require root access to and basic knowledge of Linux system.

Create directory, for example /root/tbs and copy the following file to it:

- linux-tbs-drivers.tar.bz2 (S2API Linix driver for TurboSight TBS 5921)
- dvb-usb-tbsqbox-id5921.fw (QBOXS3 USB firmware file)
- 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)
- astra_scan-s2.conf (example configuration file for scan-s2)
- v4l-cx23885-avcore-01.fw (CX23885 AV core firmware, not needed for USB box)

I.0 install the QBOXS3 USB firmware file "dvb-usb-tbsqbox-id5921.fw" /lib/firmware/:

mv dvb-usb-tbsqbox-id5921.fw /lib/firmware/

I.1 extract linux-tbs-drivers.tar.bz2 archive:

# tar xjvf linux-tbs-drivers.tar.bz2

I.2 go to driver package directory:

# cd linux-tbs-drivers

I.3 depending on your kernel version and if the kernel is x86 or
x86_64 (check output of 'uname -a') do:

- for x86 kernel 3.x (x86 32 bit installations of kernel 3.x):

# ./v4l/tbs-x86_r3.sh

- for x86 kernel 2.6.x (x86 32 bit installations of kernel 2.6.x):

# ./v4l/tbs-x86.sh

- for any x86_64 kernel (x86 64 bit installations of Linux):

# ./v4l/tbs-x86_64.sh

I.4 build and install the driver:

# make && make install

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

# shutdown -r now

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

# dmesg | grep QBOXS3

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

dvb-usb: found a 'TBS QBOXS3 DVBS2 USB2.0' in cold state, will try to load a firmware
dvb-usb: found a 'TBS QBOXS3 DVBS2 USB2.0' in warm state.
DVB: registering new adapter (TBS QBOXS3 DVBS2 USB2.0)
QBOXS3: TBS5921FE attached.
dvb-usb: TBS QBOXS3 DVBS2 USB2.0 successfully initialized and connected.

II. some basic instructions how to test locking to transponder with "szap-s2":

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

# tar xjvf szap-s2.tar.bz2

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

# cd szap-s2

II.3 build szap-s2:

# make

II.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 11597 MHz

- 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 is 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

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

II.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

III. some basic instructions how to scan transponder with "scan-s2":

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

# tar xjvf scan-s2.tar.bz2

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

# cd scan-s2

III.3 build scan-s2:

# make

III.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

DVB-S supports only one Roll-off factor (0.35) and only one modulation (QPSK) and so
for DVB-S transponders Roll-off factor is always 35 and modulation is always QPSK in
the configuration file.

DVB-S2 supports several modulation like QPSK and 8PSK and 3 Roll-off factors: 0.20, 0.25, 0.35
(respectively 20, 25, 35 in the configuration file). TBS 5921 should be able to work even if
AUTO is specified for Roll-off factor, but that will result in slower lock. it's always
recommended to use the correct Roll-off value if you know it.

III.5 write your scan-s2 configuration files

III.6 use scan-s2 to scan a tranposnder

IV. some general notes about using TBS 5921 USB box in Linux:

IV.1 TBS 5921 is single DVB-S/S2 tuner and there is no need to specify which frontend to use:

- use frontend 0:
# szap-s2 -a 0 -c astra_szap-s2.conf -p -r -S 0 "BBC"
# scan-s2 -a 0 astra_scan-s2.conf

IV.2 TBS 5921 frontend is initialized only when it's necessary - this is done for maximum
performance. after power-on of the computer, frontend is in uninitialize state and that's
why after power-on of the computer first lock will be a little slower than ussual, all
subsequent locks are faster. after the frontend is initialized just restarting the
computer should keep it in initialize state.

IV. TBS 5921 frontend driver provides several options:

- reporting signal in dBm instead of percents
- reporting SNR in EsNo instead of percents

for more information you can check the output of 'modinfo tbsfe.ko'

for enable/disable these options you need to create file called for example "tbsfe.conf"
in "/etc/modprobe.d" directory with content similar to:

# cat /etc/modprobe.d/tbsfe.conf
options tbsfe dbm=1
options tbsfe esno=1

respectively "1" means enabled and "0" means disabled. please, note that the new value will
take effect after reload of the kernel module - either with using 'rmmod' and 'modprobe' or
after restart of the computer.


Re: TBS DVB-C USB stick
« Reactie #3 Gepost op: 2014/06/25, 13:01:55 »
gewoon de stappen volgen dan moet het werken


Create directory, for example /root/tbs and copy the following file to it:

- linux-tbs-drivers.tar.bz2 (S2API Linix driver for TurboSight TBS 5921)
- dvb-usb-tbsqbox-id5921.fw (QBOXS3 USB firmware file)
- 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)
- astra_scan-s2.conf (example configuration file for scan-s2)
- v4l-cx23885-avcore-01.fw (CX23885 AV core firmware, not needed for USB box)

I.0 install the QBOXS3 USB firmware file "dvb-usb-tbsqbox-id5921.fw" /lib/firmware/:

mv dvb-usb-tbsqbox-id5921.fw /lib/firmware/

I.1 extract linux-tbs-drivers.tar.bz2 archive:

# tar xjvf linux-tbs-drivers.tar.bz2

I.2 go to driver package directory:

# cd linux-tbs-drivers

I.3 depending on your kernel version and if the kernel is x86 or
x86_64 (check output of 'uname -a') do:

- for x86 kernel 3.x (x86 32 bit installations of kernel 3.x):

# ./v4l/tbs-x86_r3.sh

- for x86 kernel 2.6.x (x86 32 bit installations of kernel 2.6.x):

# ./v4l/tbs-x86.sh

- for any x86_64 kernel (x86 64 bit installations of Linux):

# ./v4l/tbs-x86_64.sh

I.4 build and install the driver:

# make && make install

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

# shutdown -r now

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

# dmesg | grep QBOXS3

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

dvb-usb: found a 'TBS QBOXS3 DVBS2 USB2.0' in cold state, will try to load a firmware
dvb-usb: found a 'TBS QBOXS3 DVBS2 USB2.0' in warm state.
DVB: registering new adapter (TBS QBOXS3 DVBS2 USB2.0)
QBOXS3: TBS5921FE attached.
dvb-usb: TBS QBOXS3 DVBS2 USB2.0 successfully initialized and connected.

« Laatst bewerkt op: 2014/06/25, 13:08:09 door Sjengstah »

Re: TBS DVB-C USB stick
« Reactie #4 Gepost op: 2014/06/25, 13:16:45 »
ik heb de procedure wat er instaat even ingekort uitgaande dat je 64bit draait van ubuntu
wordt wel bij gezegd dat je root rechten moet hebben voor de meeste dingen dus ovreal even sudo voor plakken en de # teken weg laten. navigeer naar de directory waar je de files heb staan en dan gewoon de comandoś 1 voor 1 in de terminal plakken .


 Create directory, for example /root/tbs and copy the following file to it:

- linux-tbs-drivers.tar.bz2 (S2API Linix driver for TurboSight TBS 5921)
- dvb-usb-tbsqbox-id5921.fw (QBOXS3 USB firmware file)
- 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)
- astra_scan-s2.conf (example configuration file for scan-s2)
- v4l-cx23885-avcore-01.fw (CX23885 AV core firmware, not needed for USB box)



# mv dvb-usb-tbsqbox-id5921.fw /lib/firmware/

# tar xjvf linux-tbs-drivers.tar.bz2
# cd linux-tbs-drivers
# ./v4l/tbs-x86_64.sh
# make && make install

# shutdown -r now

# dmesg | grep QBOXS3

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

dvb-usb: found a 'TBS QBOXS3 DVBS2 USB2.0' in cold state, will try to load a firmware
dvb-usb: found a 'TBS QBOXS3 DVBS2 USB2.0' in warm state.
DVB: registering new adapter (TBS QBOXS3 DVBS2 USB2.0)
QBOXS3: TBS5921FE attached.
dvb-usb: TBS QBOXS3 DVBS2 USB2.0 successfully initialized and connected.

Offline valk

  • Lid
    • mpvalk
Re: TBS DVB-C USB stick
« Reactie #5 Gepost op: 2014/06/25, 13:26:48 »
ik heb de procedure wat er instaat even ingekort uitgaande dat je 64bit draait van ubuntu
wordt wel bij gezegd dat je root rechten moet hebben voor de meeste dingen dus ovreal even sudo voor plakken en de # teken weg laten. navigeer naar de directory waar je de files heb staan en dan gewoon de comandoś 1 voor 1 in de terminal plakken .

OK bedankt, ik draai 64bit inderdaad, ik zal het eens opnieuw proberen!

Offline valk

  • Lid
    • mpvalk
Re: TBS DVB-C USB stick
« Reactie #6 Gepost op: 2014/06/25, 14:06:16 »
ik heb de procedure wat er instaat even ingekort uitgaande dat je 64bit draait van ubuntu
wordt wel bij gezegd dat je root rechten moet hebben voor de meeste dingen dus ovreal even sudo voor plakken en de # teken weg laten. navigeer naar de directory waar je de files heb staan en dan gewoon de comandoś 1 voor 1 in de terminal plakken .

OK bedankt, ik draai 64bit inderdaad, ik zal het eens opnieuw proberen!

hmmm, net eens opnieuw geprobeerd, maar ik krijg niet de juiste output met # dmesg | grep QBOXS3

Zou het kunnen dat het een rechten probleem is? Ik dat dat je ./xxxx.sh en make & make install altijd als gewone user moest doen? Maar nu dus als root gedaan, omdat het anders niet werkt...

Re: TBS DVB-C USB stick
« Reactie #7 Gepost op: 2014/06/25, 14:11:59 »
eruit gaande van wat de readme zegt is dat je voor veel stappen  root voor nodig hebt, het kan inderdaad goed zijn dan niet overal voor nodig is dat laat hun eigen handleiding achterwegen. dus waar en wel specifiek voor nodig is kan ik je zo niet zeggen.  probeer het eens zonder. misschien dat het nu alleen werkt onder root.

Offline valk

  • Lid
    • mpvalk
Re: TBS DVB-C USB stick
« Reactie #8 Gepost op: 2014/06/25, 14:39:52 »
eruit gaande van wat de readme zegt is dat je voor veel stappen  root voor nodig hebt, het kan inderdaad goed zijn dan niet overal voor nodig is dat laat hun eigen handleiding achterwegen. dus waar en wel specifiek voor nodig is kan ik je zo niet zeggen.  probeer het eens zonder. misschien dat het nu alleen werkt onder root.

Ik krijg het helaas niet voor elkaar, ook niet als root... Alhoewel de installatie dmv de commando's met daarvoor sudo wel leek te lukken.
iemand nog suggesties?

Offline valk

  • Lid
    • mpvalk
Re: TBS DVB-C USB stick
« Reactie #9 Gepost op: 2014/06/25, 14:58:40 »
Hmmm. toch iets gevonden http://linuxtv.org/wiki/index.php/TBS6280

er lijkt nu iets te gebeuren als ik de commando's bij punt 4 uitvoer net voor de stap # cd linux-tbs-drivers.... Nu krijg ik in ieder geen rechten foutmeldingen.

Offline valk

  • Lid
    • mpvalk
Re: TBS DVB-C USB stick
« Reactie #10 Gepost op: 2014/06/25, 15:13:26 »
Hmmm. toch iets gevonden http://linuxtv.org/wiki/index.php/TBS6280

er lijkt nu iets te gebeuren als ik de commando's bij punt 4 uitvoer net voor de stap # cd linux-tbs-drivers.... Nu krijg ik in ieder geen rechten foutmeldingen.

Helaas, nog altijd niets. Ik krijg geen terugmelding met dmesg. Ik weet even niet hoe nu verder

Offline valk

  • Lid
    • mpvalk
Re: TBS DVB-C USB stick
« Reactie #11 Gepost op: 2014/06/26, 15:28:07 »
Korte update, het is uiteindelijk gelukt! Ik heb echter zo vaak gecompiled en firmware bestanden gekopieerd dat ik nu niet meer echt goed weet wat de oplossing was... :rolleyes:

Maar goed, het werkt!