Linux receiver dvb s2

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

A quick example of accessing a SAT-receiver Linux DVB-S2 device

xenpac/Linux-DVB-S2-example

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

This is just a quick example of using the Linux DVB API to access a connected sat-tuner. (sat-receiver, dvb-adapter, dvb-s adapter, dvb-s2 tuner STB . )

It is very basic but shows how to open, tune and get status from your tuner device.

It also shows how to setup a DEMUX filter to finally read filtered data from the tuner device.

Probably a good starting point to get acquainted with the basic Linux Kernel DVB API Framework.(without the LibDVBV5 interface)

There is only one Sourcefile and you can build easy like this:

cc DVBdemo.c -o dvb (or whatever name suits you)

There are no parameters as everything is hardcoded for simplicity.

Читайте также:  Open hardware monitor on linux

It assumes you have your Sat-Tuner connected via LNB to the Astra satellite.

and, of corse, your sat-tuner is connected to linux dvb driver.

If everything runs well, RTL Teletext data is saved in a file named «ttdata.bin» .

About

A quick example of accessing a SAT-receiver Linux DVB-S2 device

Источник

Встречайте! Двухтюнерные UHD Linux ресиверы с супер возможностями — по доступной цене!

Zgemma H9 TWIN — новый, двухтюнерный 4K UltraHD спутниковый ресивер, предназначенный для приема сигнала в стандартах DVB-S/S2/S2X, в форматах MPEG2, MPEG4 и HEVC (H.265) в стандартном (SD), высоком (HD) и ультравысоком (4K/2160p) разрешениях. Для выполнения этих задач в приемнике использован мощный 4-ядерный процессор Hisilicon Hi3798Mv200 с ARM-архитектурой и частотой 1500 МГц, и заложено 1 ГБ оперативной памяти (DDR3) и 8 ГБ флеш памяти (eMMC).

Программное обеспечение построено на операционной системе Enigma2, которая специально разработана для оборудования такого типа на базе открытой ОС Linux.

Ресивер оснащен двумя CI-слотами поддерживающими CI+ необходимым для работы с модулями доступа официальных спутниковых операторов и одним картоприёмником.

В ресивере реализована возможность установки внутрь жесткого диска. Читать дальше

Zgemma H9 COMBO — новый, двухтюнерный, комбинированный 4K UltraHD ресивер, предназначенный для приема сигнала в стандартах DVB-S/S2/S2X и DVB-T/T2/C, в форматах MPEG2, MPEG4 и HEVC (H.265) в стандартном (SD), высоком (HD) и ультравысоком (4K/2160p) разрешениях. Для выполнения этих задач в приемнике использован мощный 4-ядерный процессор Hisilicon Hi3798Mv200 с ARM-архитектурой и частотой 1500 МГц, и заложено 1 ГБ оперативной памяти (DDR3) и 8 ГБ флеш памяти (eMMC).

Программное обеспечение построено на операционной системе Enigma2, которая специально разработана для оборудования такого типа на базе открытой ОС Linux.

Ресивер оснащен одним CI-слотом поддерживающим CI+ необходимым для работы с модулями доступа официальных спутниковых операторов и одним картоприёмником. Читать дальше

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

cheap DVB-S2 Satellite Tuner / Sat-Receiver using CX24116 for Linux DVB

xenpac/Linux-DVB-S2-SatReceiver

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Читайте также:  Astra linux установка 1с сервер

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Linux DVB-S2 NIM Sat-Tuner CX24116

What is this ?

Its a hardware and software project, building a satellite tuner to be used with Linux DVB.

Something like the MiniTiouner.

modul

This Satellite Receiver connects to a linux computer via USB cable.
It will be detected by linux-kernel as a «DVBWorld DW2104 USB2.0» DVB-Tuner-device. Its basicly a clone.

  • Sharp BSBE2-401A NIM Tuner (CX24116/8) from ALI for about 7 $. (Tuner is from 2008, used fe. in dreambox)
  • CY7C68013A FX2LP LCsoft-Board USB controller from ALI for about 3 $
  • salvaged old SatReceiver case with powersupply for free.
  • some additional circuitry for powersupply and LNB supply.
  • connects to a Linux-machine via USB

The Linux DVB framework dates back to around 2009 with not much improvement ever since.
At that time a couble of Sat-Tuners came on the market and Linux implemented support for them.

Using the Linux DVB framework has the advantage that you do not need to write one line of code.
Its all there. Use Kaffeine, TvHeadEnd or VLC to watch television.

I was especially looking for a Tuner whos chipset was supported by the Linux Kernel.
Eh Viola inexpensive Sharp Tuner turned up having the CX24116/8 chipset.

It is a NIM(Network Interface Module) Tuner, meaning it has a Tuner(cx24118) and a Demodulator Chip(cx24116) in it.
So it outputs the MPEG TS stream from the tuned transponder.

Now i had to look into the list of supported devices for Linux DVB-S2 USB:

Ok, now i had to design my circuit such that the resulting device immitates a «DVBWorld DW2104 USB2.0» product,
so the Kernel will accepts it.

The Linux kernel needs two firmware files for this SatReceiver:

  • dvb-fe-cx24116.fw = code for the cx24116 internal processor V1.26.90.0 , to do automated tuning etc.
  • dvb-usb-dw2104.fw = code for the fx2lp Cypress chip, custom version, USB interface to support streaming and i2c transfer to/from cx24116.

These two files reside in Linux under /lib/firmware and are downloaded on USB connect by the kernel.

Читайте также:  Linux создать таблицу разделов флешки

DISH—LNB—COAX-CABLE—[NIM-TUNER—USB-INTERFACE]—USB-CABLE—LINUX-MACHINE

The original DVBWORLD device also uses the Cypress FX2LP Chip, so the LCsoft-board will do the USB interface job.

The original firmware «dvb-usb-dw2104.fw» cannot be used, as my HW-design is different.
(at least i could not find a schematic for the DVBWORLD device to do an exact copy.)

So the only software that needs to be developed was the one for the FX2LP Chip, replacing the «dvb-usb-dw2104.fw».

All i2c-control transfer is done via USB Endpoint 0 and it is very important to get this right,
otherwise you wonder why things not working.

There is a pdf with the schematic.

Powersupply for the Tuner and LNB

The salvaged receiver case provided already a switching power supply with 5V and 23V, how handy 😉

The cx24116 is taking 1.2V and approx. 500mA. from 5V
The LNB needs 13 or 18V at around 100mA. from 23V
For the 3.3V i took a standard LM1117 LDO regulator. from 5V.

For the 1.2V i took an SMPS i had available, but also a LM317 can be used as 1.2V is the minimum voltage it can deliver.
For the LNB the LM317 is ideal as the voltage switching is easy to implement.
LM317 need heatsink.
As for the FX2LP LCsoft-board, i disconnected the USB-side 5V supply and hooked the board up to the internal 5V supply.
(may not be necessary)

I wrote a custom version of the «dvb-usb-dw2104.fw» firmware for the fx2lp controller.

To get Linux-DVB to operate this device, you need to install the following 2 files:

Also you need to flash the fx2lp chip once:

The custom firmware «dvb-usb-dw2104.fw» features the two onboard Leds to indicate:

  • Led1 : blinking = streaming is on; constantly on = no data from tuner, constantly off = host not reading
  • Led2 : on = Host not reading USB stream, ie. change channels; off = all ok.

I havent included the «dvb-usb-dw2104.fw» firmware sourcecode, but can do on request.

As DVB-S2X seems to be dead, this DVB-S2 receiver would serve as a nice Sat-Frontend for the raspberry pi/tvheadend.

I was reading about the MiniTiouner project on amsat-dl.org forum, hmm, maybe there is a usecase for this too,
for the amateur TV hobbyist.
Might require to write a special kernel-driver which has the benefit of speed and Demux-filters readily available.
Also might need a special firmware written for the cx24116 instead of the standard «dvb-fe-cx24116.fw».

Add issues/suggestions in the «issue-sction».

About

cheap DVB-S2 Satellite Tuner / Sat-Receiver using CX24116 for Linux DVB

Источник

Оцените статью
Adblock
detector