Announcement

Collapse
No announcement yet.

Tvheaden, VDR, enigma2 pc port for rk3288 Android

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tvheaden, VDR, enigma2 pc port for rk3288 Android

    1-TVHEADEN SERVER OF RK3288
    ndk r9c
    platform 17
    openssl 1.0.2 beta
    libiconv 1.1.4
    ffmpeg 2.3
    #define DVB_API_VERSION 5
    #define DVB_API_VERSION_MINOR 10
    support transcode stream (may be work with vpu of rk3288)

    your device must be root

    copy data to data
    copy sytem to system
    if you have your rom support init.d. reboot your device
    or
    open terminal
    write
    su
    mkdir /dev/dvb
    mkdir /data/data/.hts
    mkdir /data/data/.hts/imagecache
    mkdir /dev/dvb/adapter0
    ln -s /dev/dvb0.frontend0 /dev/dvb/adapter0/frontend0
    ln -s /dev/dvb0.demux0 /dev/dvb/adapter0/demux0
    ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0
    ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0.ts
    ln -s /dev/dvb0/ca0 /dev/dvb/adapter0/ca0
    mkdir /dev/dvb/adapter1
    ln -s /dev/dvb1.frontend0 /dev/dvb/adapter1/frontend0
    ln -s /dev/dvb1.demux0 /dev/dvb/adapter1/demux0
    ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0
    ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0.ts
    ln -s /dev/dvb1/ca0 /dev/dvb/adapter1/ca0
    chmod 777 /data/data/.hts
    chmod 777 /data/data/.hts/imagecache
    chmod 777 /data/dvb*
    chmod 777 /data/dvb/tvheadend
    ./data/dvb/tvheadend -C -c /data/data/.hts

    later open browser write url
    127.0.0.1:9981

    if you look setup screen that is work

    other hand if you have dvb-t-s stick need driver modules. modified init.d script line 7-12 (may be add new line needed modules)
    for example
    insmod /system/lib/modules/xxxxxxx.ko
    insmod /system/lib/modules/xxxxxxxxx.ko
    insmod /system/lib/modules/xxxxxxxxx.ko
    insmod /system/lib/modules/xxxxxx.ko
    insmod /system/lib/modules/xxxxxxx.ko
    insmod /system/lib/modules/xxxxxxxxxx.ko
    if I learn to compilie kernel of rk3288. I make

    Files

    http://www25.zippyshare.com/v/20166460/file.html

  • #2
    Taki, I am trying to install this on my R89, but I can get everything, except for these commands..

    ln -s /dev/dvb0.frontend0 /dev/dvb/adapter0/frontend0
    ln -s /dev/dvb0.demux0 /dev/dvb/adapter0/demux0
    ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0
    ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0.ts
    ln -s /dev/dvb0/ca0 /dev/dvb/adapter0/ca0

    I have been searching the internet, but can't find any reference to this "1n -s"

    thanks.
    MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

    Comment


    • #3
      Originally posted by clarkss12 View Post
      Taki, I am trying to install this on my R89, but I can get everything, except for these commands..

      ln -s /dev/dvb0.frontend0 /dev/dvb/adapter0/frontend0
      ln -s /dev/dvb0.demux0 /dev/dvb/adapter0/demux0
      ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0
      ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0.ts
      ln -s /dev/dvb0/ca0 /dev/dvb/adapter0/ca0

      I have been searching the internet, but can't find any reference to this "1n -s"

      thanks.
      ln -s sysmbolik link (not "1n -s")

      ifference between hard link and soft link
      Hard links share the same inode. Soft links do not.
      Hard links can’t cross file systems. Soft links do

      In Linux, as in commercial Unix systems, the ‘ln’ command is used to create a symbolic link in file systems. A ‘hard link’ is a link pointing directly to a specific inode on the same file system.

      do you have your stick .ko modules. How compiled for rk3288.


      your rom have init.d. no need terminal command. that auto start.

      Comment


      • #4
        Originally posted by taki View Post
        ln -s sysmbolik link (not "1n -s")

        ifference between hard link and soft link
        Hard links share the same inode. Soft links do not.
        Hard links can’t cross file systems. Soft links do

        In Linux, as in commercial Unix systems, the ‘ln’ command is used to create a symbolic link in file systems. A ‘hard link’ is a link pointing directly to a specific inode on the same file system.

        do you have your stick .ko modules. How compiled for rk3288.


        your rom have init.d. no need terminal command. that auto start.
        Thanks for taking time to answer my questions. I have never used Linux, so I am having a hard time with this. What you just said went right over my head. I do remember some of the old DOS commands but that is all. I will try again tomorrow and research what you just tried to explain to me.

        Thanks again.
        MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

        Comment


        • #5
          Originally posted by clarkss12 View Post
          Thanks for taking time to answer my questions. I have never used Linux, so I am having a hard time with this. What you just said went right over my head. I do remember some of the old DOS commands but that is all. I will try again tomorrow and research what you just tried to explain to me.

          Thanks again.
          Also, I have a HDHomeRun ATSC tuner. They do have Linux drivers.
          MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

          Comment


          • #6
            folder disappeared after reboot

            I create a /dev/dvb folder and it disappears after reboot. I have created it with terminal emulator and ES file explorer several times. It shows up when I create it, but disappears after reboot.

            Any ideas?
            MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

            Comment


            • #7
              no create dev/dvb with Esexplorer. You must be add your rom init.d after copy script you system/etc/init.d folder. later start auto and create dev/dvb and etc.

              Uni-init v1.0.apk add your rom init.d (must be rooted rom)
              init.d script
              01dvbs.zip unzip
              copy script to system/etc/init.d

              alternate method
              open terminal
              write
              su

              copy below and patse terminal.

              mkdir /dev/dvb
              mkdir /data/data/.hts
              mkdir /data/data/.hts/imagecache
              mkdir /dev/dvb/adapter0
              ln -s /dev/dvb0.frontend0 /dev/dvb/adapter0/frontend0
              ln -s /dev/dvb0.demux0 /dev/dvb/adapter0/demux0
              ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0
              ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0.ts
              ln -s /dev/dvb0/ca0 /dev/dvb/adapter0/ca0
              mkdir /dev/dvb/adapter1
              ln -s /dev/dvb1.frontend0 /dev/dvb/adapter1/frontend0
              ln -s /dev/dvb1.demux0 /dev/dvb/adapter1/demux0
              ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0
              ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0.ts
              ln -s /dev/dvb1/ca0 /dev/dvb/adapter1/ca0
              chmod 777 /data/data/.hts
              chmod 777 /data/data/.hts/imagecache
              chmod 777 /data/dvb*
              chmod 777 /data/dvb/tvheadend
              ./data/dvb/tvheadend -C -c /data/data/.hts
              Attached Files

              Comment


              • #8
                Originally posted by taki View Post
                no create dev/dvb with Esexplorer. You must be add your rom init.d after copy script you system/etc/init.d folder. later start auto and create dev/dvb and etc.

                Uni-init v1.0.apk add your rom init.d (must be rooted rom)
                init.d script
                01dvbs.zip unzip
                copy script to system/etc/init.d

                alternate method
                open terminal
                write
                su

                copy below and patse terminal.

                mkdir /dev/dvb
                mkdir /data/data/.hts
                mkdir /data/data/.hts/imagecache
                mkdir /dev/dvb/adapter0
                ln -s /dev/dvb0.frontend0 /dev/dvb/adapter0/frontend0
                ln -s /dev/dvb0.demux0 /dev/dvb/adapter0/demux0
                ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0
                ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0.ts
                ln -s /dev/dvb0/ca0 /dev/dvb/adapter0/ca0
                mkdir /dev/dvb/adapter1
                ln -s /dev/dvb1.frontend0 /dev/dvb/adapter1/frontend0
                ln -s /dev/dvb1.demux0 /dev/dvb/adapter1/demux0
                ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0
                ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0.ts
                ln -s /dev/dvb1/ca0 /dev/dvb/adapter1/ca0
                chmod 777 /data/data/.hts
                chmod 777 /data/data/.hts/imagecache
                chmod 777 /data/dvb*
                chmod 777 /data/dvb/tvheadend
                ./data/dvb/tvheadend -C -c /data/data/.hts
                Thanks again, will try tomorrow.
                MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

                Comment


                • #9
                  Originally posted by taki View Post
                  no create dev/dvb with Esexplorer. You must be add your rom init.d after copy script you system/etc/init.d folder. later start auto and create dev/dvb and etc.

                  Uni-init v1.0.apk add your rom init.d (must be rooted rom)
                  init.d script
                  01dvbs.zip unzip
                  copy script to system/etc/init.d

                  alternate method
                  open terminal
                  write
                  su

                  copy below and patse terminal.

                  mkdir /dev/dvb
                  mkdir /data/data/.hts
                  mkdir /data/data/.hts/imagecache
                  mkdir /dev/dvb/adapter0
                  ln -s /dev/dvb0.frontend0 /dev/dvb/adapter0/frontend0
                  ln -s /dev/dvb0.demux0 /dev/dvb/adapter0/demux0
                  ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0
                  ln -s /dev/dvb0.dvr0 /dev/dvb/adapter0/dvr0.ts
                  ln -s /dev/dvb0/ca0 /dev/dvb/adapter0/ca0
                  mkdir /dev/dvb/adapter1
                  ln -s /dev/dvb1.frontend0 /dev/dvb/adapter1/frontend0
                  ln -s /dev/dvb1.demux0 /dev/dvb/adapter1/demux0
                  ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0
                  ln -s /dev/dvb1.dvr0 /dev/dvb/adapter1/dvr0.ts
                  ln -s /dev/dvb1/ca0 /dev/dvb/adapter1/ca0
                  chmod 777 /data/data/.hts
                  chmod 777 /data/data/.hts/imagecache
                  chmod 777 /data/dvb*
                  chmod 777 /data/dvb/tvheadend
                  ./data/dvb/tvheadend -C -c /data/data/.hts
                  Thanks again Taki, we are making progress. Your script worked very well, it created the files and folders needed.
                  However, I still can't get my browser to show the tvheadend screen. I just says "web page not available", I am using the stock android browser, when I type in 127.0.0.1:9981
                  MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

                  Comment


                  • #10
                    ./data/dvb/tvheadend -C -c /data/data/.hts

                    pls open terminsl and copy

                    pls send terminal output. may be have another error. you must look tvheadend web page because dont related dvb device.

                    Comment


                    • #11
                      Originally posted by taki View Post
                      ./data/dvb/tvheadend -C -c /data/data/.hts

                      pls open terminsl and copy

                      pls send terminal output. may be have another error. you must look tvheadend web page because dont related dvb device.
                      This is what I get from the terminal.
                      [email protected]:/ $ su
                      [email protected]:/ # ./data/dvb/tvheadend -C -c /data/data/.hts
                      WARNING: linker: libx264.so.138 has text relocations. This is wasting memory and is a security risk. Please fix.
                      2014-12-06 20:28:59.389 [ INFO] main: Log started
                      [email protected]:/ #
                      MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

                      Comment


                      • #12
                        Tvheadend work I dont know Why you dont look tvh webpage (127.0.0.1:9981). stock browser work with tv web page

                        Comment


                        • #13
                          so sory I forget this. new tvheadend no create related fıles for .hts folder. thus we need copy old .hts folder to /data/data/.hts
                          I send to .hts folder. cpoy to /data/data/.hts
                          later try
                          ./data/dvb/tvheadend -C -c /data/data/.hts
                          you can access web interface
                          user=admin
                          pass=admin
                          Attached Files

                          Comment


                          • #14
                            Hi taki,

                            thanks for your work so far, I got TVHeadend running, but my TechniSat SkyStar USB HD (DVB-S2) is not being listed under DVB Inputs.
                            Have you made any progress getting your tuner recognized?

                            Comment


                            • #15
                              Originally posted by coma View Post
                              Hi taki,

                              thanks for your work so far, I got TVHeadend running, but my TechniSat SkyStar USB HD is not being listed under DVB Inputs.
                              Have you made any progress getting your tuner recognized?
                              Good news coma. Need only you skystarhd tuner driver modules for your kernel. I dont compile rk3288 modules but I try for skystar hd. Pls that you know whic modules uses your tuner under ubuntu. If we compile your tuner modules for rk3288. Tvheadend exactly will be find your tuner. May be some test pvr backend for us with rk3288.
                              which you have rk3288 device
                              Second your device kernel version (3.10.0 or ?)

                              Comment

                              Working...
                              X