Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Tvheaden, VDR, enigma2 pc port for rk3288 Android

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

    #16
    I compiled all dvb driver for kernel 3.10.0 of rk3288. I share later. I found to rockchip DTV driver for rk3288. rockchip support onboard dvb-t/t2/s/s2 tuner. any producer produce it. but kernel has this driver. I think that rk3288 support dvb perfecly than rk3188


    lsmod | grep -i dvbdvb_usb_technisat_usb2 17976 0
    stv090x 62331 1 dvb_usb_technisat_usb2
    dvb_usb 32408 1 dvb_usb_technisat_usb2
    dvb_core 105916 2 dvb_usb_technisat_usb2,dvb_usb
    rc_core 22172 13 dvb_usb_technisat_usb2,dvb_usb,ir_lirc_codec,ir_mc e_kbd_decoder,ir_sanyo_decoder,ir_sony_decoder,ir_ jvc_decoder,ir_rc5_decoder,ir_rc6_decoder,ir_nec_d ecoder,rc_rc6_mce,mceusb

    Comment


      #17
      YOU COPY
      skystar HD (no HD2)

      http://kernellabs.com/firmware/techn..._v17_63.HEX.fw copy to system/etc/firmware

      folder to folder
      if your box activate init.d auto stat or you can open terminal
      write su
      copy and paste terminal
      insmod /system/lib/modules/dvb-core.ko
      insmod /system/lib/modules/dvb-pll.ko
      insmod /system/lib/modules/dvb-usb.ko force_pid_filter_usage=1
      insmod /system/lib/modules/stv0900.ko
      insmod /system/lib/modules/stv090x.ko
      insmod /system/lib/modules/stv6110.ko
      insmod /system/lib/modules/stv6110x.ko
      insmod /system/lib/modules/rc-core.ko
      insmod /system/lib/modules/dvb-usb-ttusb2.ko
      insmod /system/lib/modules/dvb-usb-technisat-usb2.ko
      sleep 1
      mkdir /dev/dvb
      mkdir /data/dvb/.hts
      mkdir /data/dvb/.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
      mkdir /tmp/virtual_adapter
      ln -s /dev/dvb0.demux0 /tmp/virtual_adapter/demux0
      touch /tmp/camd.socket
      mkdir /tmp/.oscam
      chmod 777 /tmp/.oscam
      chmod 777 /tmp/virtual_adapter/
      chmod 777 /tmp/virtual_adapter/demux0
      chmod 777 /tmp/camd.socket
      chmod 777 /data/dvb/.hts
      chmod 777 /data/dvb/.hts/imagecache
      chmod 777 /data/dvb*
      chmod 777 /data/dvb/tvheadend
      ./data/dvb/tvheadend -C -c /data/dvb/.hts

      Comment


        #18
        SKYSTAR HD media_build driver

        copy and paste (if your rom support init.d that can autostart)

        dont work media build try s2liblanian driver
        SKYTAR HD s2liplianin-v39


        not: pls send lsmod and dmesg terminal log

        the drivers work that you can be look dmesg | grep -i dvb

        not2: may be need other related modules .ko. your tuner.
        according to dmesg log we can add
        Attached Files

        Comment


          #19
          (I dont test modules because I dont have rk3288 device)
          only need to find your tuner modules. All fw (system/etc/firmware) files http://www.linuxtv.org/downloads/firmware/

          all dvb-t/t2-s/s2-c dvb modules (v4l media) for kernel 3.10.0 based rk3288 (include dvbsky960 )



          all dvb-t/t2-s/s2-c dvb modules (s2liplanian) for kernel 3.10.0 based rk3288


          Comment


            #20
            Awesome, thanks!

            I'll try when I get home and let you know.

            Bye

            Comment


              #21
              Originally posted by taki View Post
              YOU COPY
              skystar HD (no HD2)

              http://kernellabs.com/firmware/techn..._v17_63.HEX.fw copy to system/etc/firmware

              folder to folder
              if your box activate init.d auto stat or you can open terminal
              write su
              copy and paste terminal
              insmod /system/lib/modules/dvb-core.ko
              insmod /system/lib/modules/dvb-pll.ko
              insmod /system/lib/modules/dvb-usb.ko force_pid_filter_usage=1
              insmod /system/lib/modules/stv0900.ko
              insmod /system/lib/modules/stv090x.ko
              insmod /system/lib/modules/stv6110.ko
              insmod /system/lib/modules/stv6110x.ko
              insmod /system/lib/modules/rc-core.ko
              insmod /system/lib/modules/dvb-usb-ttusb2.ko
              insmod /system/lib/modules/dvb-usb-technisat-usb2.ko
              sleep 1
              mkdir /dev/dvb
              mkdir /data/dvb/.hts
              mkdir /data/dvb/.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
              mkdir /tmp/virtual_adapter
              ln -s /dev/dvb0.demux0 /tmp/virtual_adapter/demux0
              touch /tmp/camd.socket
              mkdir /tmp/.oscam
              chmod 777 /tmp/.oscam
              chmod 777 /tmp/virtual_adapter/
              chmod 777 /tmp/virtual_adapter/demux0
              chmod 777 /tmp/camd.socket
              chmod 777 /data/dvb/.hts
              chmod 777 /data/dvb/.hts/imagecache
              chmod 777 /data/dvb*
              chmod 777 /data/dvb/tvheadend
              ./data/dvb/tvheadend -C -c /data/dvb/.hts
              Thank you for your info here Taki.

              I'm currently trying to get this working, but can't create the /tmp/virtual_adapter directory (can you even create a /tmp directory in android?).

              Is there another workaround for this?

              Comment


                #22
                no need these line.

                use below this

                insmod /system/lib/modules/dvb-core.ko
                insmod /system/lib/modules/dvb-pll.ko
                insmod /system/lib/modules/dvb-usb.ko force_pid_filter_usage=1
                insmod /system/lib/modules/stv0900.ko
                insmod /system/lib/modules/stv090x.ko
                insmod /system/lib/modules/stv6110.ko
                insmod /system/lib/modules/stv6110x.ko
                insmod /system/lib/modules/rc-core.ko
                insmod /system/lib/modules/dvb-usb-ttusb2.ko
                insmod /system/lib/modules/dvb-usb-technisat-usb2.ko
                sleep 1
                mkdir /dev/dvb
                mkdir /data/data/.hts
                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
                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
                chmod 777 /data/data/.hts
                chmod 777 /dev/dvb*
                chmod 777 /data/dvb*
                /data/dvb/tvheadend -C -c /data/data/.hts
                # done

                I send init.d script. unzip and copy to system/etc/init.d and no more need termial start. after reboot auto load modules and start tvheadend.

                pls send this command (dmesg, lsmod and dmesg | grep -i dvb) print out

                01dvbs.zip

                Comment


                  #23
                  Originally posted by taki View Post
                  no need these line.

                  use below this

                  I send init.d script. unzip and copy to system/etc/init.d and no more need termial start. after reboot auto load modules and start tvheadend.

                  pls send this command (dmesg, lsmod and dmesg | grep -i dvb) print out

                  [ATTACH]9688[/ATTACH]
                  Thanks taki

                  I modified your script to (I use DVB-T and an it913x tuner):

                  insmod /system/lib/modules/dvb-core.ko
                  insmod /system/lib/modules/dvb-pll.ko
                  insmod /system/lib/modules/dvb-usb.ko force_pid_filter_usage=1
                  insmod /system/lib/modules/rc-it913x-v1.ko
                  insmod /system/lib/modules/rc-it913x-v2.ko
                  insmod /system/lib/modules/it913x.ko
                  insmod /system/lib/modules/it913x-fe.ko
                  insmod /system/lib/modules/rc-core.ko
                  sleep 1
                  mkdir /dev/dvb
                  mkdir /data/data/.hts
                  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
                  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
                  chmod 777 /data/data/.hts
                  chmod 777 /dev/dvb*
                  chmod 777 /data/dvb*
                  /data/dvb/tvheadend -C -c /data/data/.hts

                  The modules are your RK3288 compiled ones from http://www.freaktab.com/showthread.p...l=1#post262657

                  I put dvb-usb-it9135-01.fw and dvb-usb-it9135-02.fw in /system/etc/firmware.

                  The script did not startup from boot after being put in init.d, so I started it manually by:
                  sh /system/etc/init.d/01dvbs

                  Unfortunately I get:

                  "insmod: init_module '/system/lib/modules/rc-core.ko' failed (Exec format error)"

                  and

                  "insmod: init_module '/system/lib/modules/it913x.ko' failed (No such file or directory)" ......even though that module is definitely in /system/lib/modules.

                  The very good news is that TVHeadend starts and I can access the GUI by going to 127.0.0.1:9981
                  The bad news is that the tuner is not listed there.

                  dmesg | grep -i dvb

                  init: cannot find '/system/bin/bindvbplayservice', disabling 'dvbdataservice'
                  it913x: Unknown symbol dvb_usbv2_suspend (err 0)
                  it913x: Unknown symbol dvb_usbv2_disconnect (err 0)
                  it913x: Unknown symbol dvb_usbv2_probe (err 0)
                  it913x: Unknown symbol dvb_usbv2_resume (err 0)
                  it913x: Unknown symbol dvb_usbv2_generic_rw (err 0)

                  lsmod

                  it913x_fe 30463 0 - Live 0x00000000 (O)
                  rc_it913x_v2 1160 0 - Live 0x00000000 (O)
                  rc_it913x_v1 1200 0 - Live 0x00000000 (O)
                  dvb_usb 21123 0 - Live 0x00000000 (O)
                  dvb_pll 9963 0 - Live 0x00000000 (O)
                  dvb_core 89422 1 dvb_usb, Live 0x00000000 (O)
                  mali_kbase 159689 24 [permanent], Live 0x00000000 (O)
                  drmboot 4019 0 - Live 0x00000000 (PO)

                  I should be able to get the script to run from boot ok, but am not sure if the modules are ok.
                  Maybe I should try a few different ones.

                  The rc-core.ko module might need to be re-compiled.

                  What are your thoughts?
                  Last edited by Dez; 01-09-2015, 10:27.

                  Comment


                    #24
                    Which modules tryed.?
                    all dvb-t/t2-s/s2-c dvb modules (v4l media) for kernel 3.10.0 based rk3288 (include dvbsky960 )



                    all dvb-t/t2-s/s2-c dvb modules (s2liplanian) for kernel 3.10.0 based rk3288




                    that we know compiler work and compiled truely modules. which you tryed v4l or s2liblanian driver.
                    and which you have stick.
                    that I think you have dvb-t stick. thus you need dvb_usb_v2.ko
                    add your script
                    insmod /system/lib/modules/dvb_usb_v2.ko
                    and copy dvb_usb_v2.ko to system/lib/modules
                    must be work. some dvb (t/c/s/2) no use dvb-usb.ko that work with dvb_usb_v2.ko

                    Comment


                      #25
                      init: cannot find '/system/bin/bindvbplayservice', disabling 'dvbdataservice'

                      good news we have dvbplayservice.bin. I looked r89 sdk. and found RkDTVPlayer.apk
                      indeed rockchip r89 have dvbplayer.apk for rk3288 but any rockchip producer produce on board dvb tvbox. I dont know compile apk. (may be somebody make it) but we have uncompiled files. only download later unzip files and copy

                      RkDTVPlayer\libs\bin\bindvbplayservice copy to system/bin
                      RkDTVPlayer\libs\etc\dtv\ROCKCHIP.TV for
                      mkdir system/etc/dtv
                      later
                      RkDTVPlayer\libs\etc\dtv\ROCKCHIP.TV for system/etc/dtv
                      RkDTVPlayer\libs\lib\libdvbstream.so copy to system/lib
                      RkDTVPlayer\libs\lib\librockchip_dvb_jni.so copy to system/lib

                      may be use for esexplorer that very easy

                      may be some body recompile this apk I send.
                      RkDTVPlayer.zip
                      I think that rk3288 hevc 50fps h265 ts tvchannel easy playing

                      I wait your report. mpeg2 and mpeg4 h264 avc and hevc

                      Comment


                        #26
                        Originally posted by taki View Post
                        Which modules tryed.?
                        all dvb-t/t2-s/s2-c dvb modules (v4l media) for kernel 3.10.0 based rk3288 (include dvbsky960 )



                        all dvb-t/t2-s/s2-c dvb modules (s2liplanian) for kernel 3.10.0 based rk3288




                        that we know compiler work and compiled truely modules. which you tryed v4l or s2liblanian driver.
                        and which you have stick.
                        that I think you have dvb-t stick. thus you need dvb_usb_v2.ko
                        add your script
                        insmod /system/lib/modules/dvb_usb_v2.ko
                        and copy dvb_usb_v2.ko to system/lib/modules
                        must be work. some dvb (t/c/s/2) no use dvb-usb.ko that work with dvb_usb_v2.ko
                        I tried both rc-core.ko from v4l media and s2liplanian. Both have the same problem.

                        Unfortunately dvb_usb_v2.ko makes the box reboot as soon as I run 01dvbs.

                        I will try a few other things as well.

                        good news we have dvbplayservice.bin. I looked r89 sdk. and found RkDTVPlayer.apk
                        indeed rockchip r89 have dvbplayer.apk for rk3288 but any rockchip producer produce on board dvb tvbox. I dont know compile apk. (may be somebody make it) but we have uncompiled files. only download later unzip files and copy

                        RkDTVPlayer\libs\bin\bindvbplayservice copy to system/bin
                        RkDTVPlayer\libs\etc\dtv\ROCKCHIP.TV for
                        mkdir system/etc/dtv
                        later
                        RkDTVPlayer\libs\etc\dtv\ROCKCHIP.TV for system/etc/dtv
                        RkDTVPlayer\libs\lib\libdvbstream.so copy to system/lib
                        RkDTVPlayer\libs\lib\librockchip_dvb_jni.so copy to system/lib
                        Thanks taki
                        I will try this out tomorrow (it is getting late here).

                        I wait your report. mpeg2 and mpeg4 h264 avc and hevc
                        As soon as some of the other small problems are sorted out I will definitely let you know how it goes

                        Comment


                          #27
                          don not use dvb-usb.ko
                          delete this line your script. I have some problem İf I use v4l driver. dont work with my dvbstick.

                          -----------------------------------------
                          this below only information for rk3288 init.rk30board.rc
                          # for DVB
                          chmod 0777 /dev/dvb0.frontend0
                          chmod 0777 /dev/dvb0.demux0
                          chmod 0777 /dev/dvb0.dvr0

                          mkdir /data/dtv 0777 system system
                          chmod 0777 /data/dtv

                          copy /etc/dtv/dvb_fds.tag /data/dtv/dvb_fds.tag
                          chmod 0777 /data/dtv/dvb_fds.tag
                          chown system system /data/dtv/dvb_fds.tag

                          #copy /etc/dtv/dvb_scan_info.tag /data/dtv/dvb_scan_info.tag
                          chmod 0777 /data/dtv/dvb_scan_info.tag
                          chown system system /data/dtv/dvb_scan_info.tag

                          chmod 0777 /system/bin/bindvbplayservice
                          service dvbdataserv /system/bin/bindvbplayservice
                          class main
                          oneshot
                          -----------------------------------------------
                          find to solution. instal your pc ubuntu on virtual box or may be have ubuntu pc. later connect your stick pc. and setup on ubuntu your stick. if your stick works on ubuntu. try lsmod that which modules needed. later that we will be know Which modules needed. later search my compiled modules folder. add android device modules. add init.d script

                          Comment


                            #28
                            Originally posted by taki View Post
                            don not use dvb-usb.ko
                            delete this line your script. I have some problem İf I use v4l driver. dont work with my dvbstick.

                            -----------------------------------------
                            this below only information for rk3288 init.rk30board.rc
                            # for DVB
                            chmod 0777 /dev/dvb0.frontend0
                            chmod 0777 /dev/dvb0.demux0
                            chmod 0777 /dev/dvb0.dvr0

                            mkdir /data/dtv 0777 system system
                            chmod 0777 /data/dtv

                            copy /etc/dtv/dvb_fds.tag /data/dtv/dvb_fds.tag
                            chmod 0777 /data/dtv/dvb_fds.tag
                            chown system system /data/dtv/dvb_fds.tag

                            #copy /etc/dtv/dvb_scan_info.tag /data/dtv/dvb_scan_info.tag
                            chmod 0777 /data/dtv/dvb_scan_info.tag
                            chown system system /data/dtv/dvb_scan_info.tag

                            chmod 0777 /system/bin/bindvbplayservice
                            service dvbdataserv /system/bin/bindvbplayservice
                            class main
                            oneshot
                            -----------------------------------------------
                            find to solution. instal your pc ubuntu on virtual box or may be have ubuntu pc. later connect your stick pc. and setup on ubuntu your stick. if your stick works on ubuntu. try lsmod that which modules needed. later that we will be know Which modules needed. later search my compiled modules folder. add android device modules. add init.d script
                            Yes. I had already deleted dvb-usb.ko and removed it from the script.

                            I use that same dvb-t stick on my Openelec box and Linux Mint PC, so will find out what modules it needs and add those.

                            I can also compare the TVHeadend server configuration on my Openelec box and see if anything else might be needed.

                            Comment


                              #29
                              tvheadend setup same linux (Ubuntu etc. and openelec). only diffrent tvh start scripd and hts folder. you need only identify your stick to android system for rk3288

                              may be reboot problem based dvb-usb.ko or need may be bindvbplayservice.bin

                              Comment


                                #30
                                Modules and firmware

                                Hello, Taki


                                The problem I have is that the tuner is not displayed in the configuration window tvheadend, so I understand that I have bad drivers from my tuner. I searched long links and do not know what I'm doing wrong. I think the problem is that not I manage well the 'modules' folder and the 'firmware' folder. These are my two questions:


                                How do I know what the drivers (ko) that I charge for my tuner are and that I must To include in the 'modules' folder?
                                As for the firmware on page LinuxTV says my tuner is supported, but do not know what firmware (.fw) is the one that should be included in the 'Firmware' folder.


                                My tuner is a PCTV 76e Sport, with ID chip RTL2832u and 1D9: 1101


                                Taki, you could help me advance? I feel I'm close to getting ...

                                Comment

                                Working...
                                X