X9S Porting USB DVB dongle on X9S

Discussion in 'ZIDOO X9S' started by spring, Nov 8, 2016.

  1. spring

    spring Guest

    We holp X9S can support USB DVB dongle, and we started this work for some time.
    And now, it can work, let's record those work, maybe someone will interest it.

    Hardware environment.
    1, X9S board
    2, DekTec DTU-215, USB-2 VHF/UHF modulator
    3, RTL2838 820T2 & SDR
    4, mygica T230

    Software environment.
    1, linux pc
    2. ZDMC(base on kodi)
    IMG_0664.JPG IMG_0665.JPG


    STEP 1.
    build tvheadend for X9S, must build android version.

    STEP 2.
    build RTL2838 and SI2168 driver, insmod those drivers.

    STEP 3.
    setup the tvheadend.

    1)insert the USB DVB dongle

    2)open your tvheadend webpage, get your X9S IP, and then input "192.168.xx.xxx:9981".
    QQ图片20161108152702.jpg

    3)enter "Configuration"==>"DVB Inputs", and you will find the recognized usb dongle.

    4)add a service for your dvb device, you can input your service name, such as "dvb_t"
    QQ图片20161108152753.png

    5)add a new "Mux", choice the "dvb_t". then you can enter "TV adapters" to enable your adapters.
    QQ图片20161108152825.png

    6)scan your channels, and it will display in the "Services". map you tv channels.
    QQ图片20161108152846.png

    and now, your tvheadend has been setuped.

    STEP 4.
    setup the ZDMC.
    1)open the ZDMC, goto the setting, enter "TV-settings", enable it.
    Screenshot_20161108-152143.png

    2)config your tvheadend addons, you must input the IP "192.168.xx.xxx"(your X9S ip).
    Screenshot_20161108-152209.png

    3)and you will find a "TV" menu in your main menu.
    Screenshot_20161108-152221.png

    4)enjoy your TV now.
    Screenshot_20161108-152053.png Screenshot_20161108-152119.png Screenshot_20161108-152246.png
     

    Attached Files:

  2. Nice Monkey

    Nice Monkey Well-Known Member Beta test group

    Can you explain where all these modules are needed for individually?
    I see a T2 tuner but also a combined T/DAB/FM tuner and the need for an analog UHF/VHF modulator puzzles me.
     
  3. DaMacFunkin

    DaMacFunkin Active Member

    They are just working devices from different vendors, you are over thinking it.
     
  4. DaMacFunkin

    DaMacFunkin Active Member

    Is there any support for DVB-S2 tuners?
    Thank You.
     
  5. spring

    spring Guest

    we have no dvb signal, so we use the modulator create a dvb signal.
    those module depend on the RTL1295 soc, we may provide special firmware.
     
  6. spring

    spring Guest

    we have not porting DVB-S dirver yet.
     
  7. Nice Monkey

    Nice Monkey Well-Known Member Beta test group

    Good to see this work being done. Support for external tuners will be appreciated a lot by many. :)

    There are Android based media players with support for Internal T2 and even T2+S2 tuners like the Xtreamer MXV family for example. Maybe you can learn something from those FW images?
     
  8. spawn_lmg

    spawn_lmg Active Member Beta test group

  9. Nice Monkey

    Nice Monkey Well-Known Member Beta test group

    Hhhmm the Silicon Labs SI2168 demonstrated here in fact is a combined DVB-T and DVB-C tuner. I don't know if both drivers were made to work.
    In the pictures you can see both as separate items. So there may be hope for you?
     
  10. realmadridcn

    realmadridcn New Member

    给管理推荐用perfectplayer 播放器吧 串流的话更好 界面操作方面 自定义方面 界面更好看 现在他们玩卫星的用海美迪的串流的多 我看x9s也支持avs+ 如果你固件能支持hw+模式能切换字幕和声道的话 可以吸引一部分玩卫星串流的玩家
     
  11. nemeth

    nemeth New Member

    Great news, thanks. Could you please write how to build these drivers for X9S kernel?
     
  12. looun

    looun Member

    when it will available?
     
  13. Wang

    Wang Member

    Would it be software or hardware decode ?
     
  14. Arci

    Arci New Member

    Hi to All

    From EU - PL company another example of USB device DVB-S2/T2 + tvheadend native integration on Android 6.0.1 . :)

    Code:
    https://reevolved.pl/category/aktualnosci/
    
    Cheers ...
     
  15. linch

    linch New Member

    Hi to all,
    i like update this thread.
    Past days i see about a right cross compiler for zidoo x9s openwrt applications and find one that work well.
    For test the cross compiler i build a binary with static libusb and try it with x9s.
    The bin work ok and the compiler (gcc 4.8.4) work so.
    I know the zidoo openwrt kernel source (4.1.17-g271f84c-dirty) is closed and i try to build all media usb drivers from standard kernel source (4.1.17)
    changing the symvers to the same of zidoo and build media/drivers with cross compiler.
    This is the results
    [​IMG]

    Now when i try to load the modules inside zidoo someone is ok and someone not.

    @spring
    please is possible know your approach to build the modules ??
    i see you are an active forum member and you can help us to the right direction ??
    dvb-usb support will be appreciated from many zidoo users.
    Regards
     
    Arci likes this.
  16. B.A. Derks

    B.A. Derks New Member

    @spring Interesting project. Would it be possible to create a How To to setup a toolchain/compile environment for making X9S executables for software like tvheadend42?
     
  17. Davicom

    Davicom Member

    Thank you @HaoSs to redirect me to this thread. At home i'm going to read all post. I ve good skill and good prevoius experience with tvheadend on linux server base.
     
    HaoSs likes this.
  18. Davicom

    Davicom Member

    Maybe my comment will be irrilevant.
    But at this point i think it's very much simpler install Libreelec or Openelec on another device (cheaper) and so use dvb-t/s
     
  19. HaoSs

    HaoSs Well-Known Member

    Probably it is .
     
  20. adiz

    adiz New Member

    Last edited: Nov 20, 2017
    Davicom and HaoSs like this.

Share This Page