Jump to content


ftp21_

Member Since 9 May 2018
Offline Last Active 10 Aug 2019 10:15
-----

#910384 Howto build unofficial pli for your unsupported receiver

Posted by ftp21_ on 23 July 2018 - 14:02

 

Well actually it doesn't work with tvheadend either, I think if you build tvheadend from the official repo, then tvheadend won't detect the card ( I could be wrong though, I tried it once a long time ago).

 

 

I think afl1 also patched the tvheadend version that is shipped with the coreelec to work with the avl6862

 

I'm trying now to build the driver with previous commits by afl1

 

 

This is the thread where are the tvheadend modify:

https://tvheadend.org/issues/4278

 

 

We also have this feature on dvb.cpp

https://github.com/O...vb/dvb.cpp#L967




#910260 Howto build unofficial pli for your unsupported receiver

Posted by ftp21_ on 23 July 2018 - 09:31

 

I had the proc entry stb/frontend/0/mode to enable multitype tuner

 

http://www.mediafire...q/procfs.tar.gz

 

Now enigma can switch the mode but i cannot scan (now i can scan only dvb-t) for this error:

[eDVBFrontend] opening frontend 0
[eDVBChannel] getDemux cap=00
[eDVBResourceManager] allocate demux cap=00
[eDVBResourceManager] allocating demux adapter=0, demux=0, source=-1 fesource=0
[eDVBDemux] open demux /dev/dvb/adapter0/demux0
[eDVBDemux] DMX_SET_SOURCE Frontend0 failed: Invalid argument
[eDVBFrontend] (0)tune
[eDVBFrontend] tune setting type to 2 from 0
[eDVBChannel] OURSTATE: tuning
[eDVBFrontend] startTuneTimeout 5000
[eDVBFrontend] setVoltage 0
[eDVBFrontend] setFrontend 1
[eDVBFrontend] setting frontend 0
FE_SET_PROPERTY failed: Bad address

I suspect a wrong demux allocation and it can crash FE_SET_PROPERTY

so, we're back to square one, the "FE_SET_PROPERTY failed: Bad address" needs somone who understand the avl6862 driver

 

 

 

I can't understand why same driver on "True Linux distribution" work well with tvheadend.

I read a commit with "set property fix" message on branch r484a




#910148 Howto build unofficial pli for your unsupported receiver

Posted by ftp21_ on 22 July 2018 - 21:54

I read the commits to another branch from afl1:

https://github.com/a...l/commits/r848a

 

Anyone able to compile this version?




#908868 Howto build unofficial pli for your unsupported receiver

Posted by ftp21_ on 18 July 2018 - 18:41

@persianprince I've made a working coreelec-linux recipe and added a config for the old k2pro version, I've tested the recipe it compiles the kernel and dtb file successfully but I didn't test if it compiles the whole sd image, I need some time to test for that (due to my shitty internet connection)
you can see my changes here: https://github.com/m...6/meta-amlogic/
If you can test it I can make a pull request

http://www.mediafire...s905_sdcard.zip




#902164 Howto build unofficial pli for your unsupported receiver

Posted by ftp21_ on 24 June 2018 - 18:56

 

Hi,
With some patches(i find the patch on Libreelec Github) i'm able to build avl6862 modules with Linkdroid kernel tree, but i'm unable to find the *.ko and images boot without tuner.
 
I also add the module to defconfig.

 

--- ../kernels/common/include/uapi/linux/dvb/dmx.h      2018-03-14 08:44:21.000000000 +0100
+++ build/tmp/work/alien5-oe-linux/linux-linkdroid/3.14.29-.1/common/include/uapi/linux/dvb/dmx.h       2018-06-23 17:11:53.650750869 +0200
@@ -113,7 +113,7 @@
        int num_decoders;
 } dmx_caps_t;

-enum dmx_source_t {
+typedef enum dmx_source_t {
        DMX_SOURCE_FRONT0 = 0,
        DMX_SOURCE_FRONT1,
        DMX_SOURCE_FRONT2,
@@ -125,7 +125,7 @@
        DMX_SOURCE_FRONT0_OFFSET = 100,
        DMX_SOURCE_FRONT1_OFFSET,
        DMX_SOURCE_FRONT2_OFFSET
-};
+}dmx_source_t;

 struct dmx_stc {
        unsigned int num;       /* input : which STC? 0..N */

On .bb i add EXTRA_OEMAKE = "LDFLAGS=''" and 

oe_runmake  ${B}/drivers/amlogic/dvb-avl/
  install -d ${B}/drivers/amlogic/dvb-avl/
  cp -fr ${S}/drivers/amlogic/dvb-avl/aml.o  ${B}/drivers/amlogic/dvb-avl/
  cp -fr ${S}/drivers/amlogic/dvb-avl/aml_fe.o  ${B}/drivers/amlogic/dvb-avl/
  cp -fr ${S}/drivers/amlogic/dvb-avl/avl6862.o  ${B}/drivers/amlogic/dvb-avl/
  cp -fr ${S}/drivers/amlogic/dvb-avl/r848a.o  ${B}/drivers/amlogic/dvb-avl/
  cp -fr ${S}/drivers/amlogic/dvb-avl/aml_dvb.o  ${B}/drivers/amlogic/dvb-avl/
  cp -fr ${S}/drivers/amlogic/dvb-avl/aml_dmx.o  ${B}/drivers/amlogic/dvb-avl/




#901426 Howto build unofficial pli for your unsupported receiver

Posted by ftp21_ on 22 June 2018 - 18:38

 

alien5 build is ok but dedicated build for k1pro not as I have no idea how to compile a kernel for it and it seems there is no ready bitbake recipe for it.

 

 

I try to make a collage with alien5 kernel, because there are some wrong definitions




#893125 Howto build unofficial pli for your unsupported receiver

Posted by ftp21_ on 30 May 2018 - 08:35

I'm testing k1pro build now but it's not ready yet so don't start builing now, just wait for my light ;)

 

https://github.com/P...commits/develop

 

You have cheered up my day :) I'm waiting for your light :)




#885247 Howto build unofficial pli for your unsupported receiver

Posted by ftp21_ on 13 May 2018 - 10:08

 
Please tell the complete path of folder where you copied the remote.conf.


You can overwrite remote.conf in /etc/amremote


#884998 Howto build unofficial pli for your unsupported receiver

Posted by ftp21_ on 12 May 2018 - 21:56

Here is the new link:

 

I copy this remote.conf from libreelec thread and remote now work (but need some button remaps)

#amlogic NEC remote
factory_code	= 0xff000001   #video striong
work_mode  		= 0
repeat_enable = 1
repeat_delay = 200
repeat_peroid = 39
release_delay	=	121
debug_enable 	= 1

fn_key_scancode    = 0x99
left_key_scancode  = 0x5a
right_key_scancode = 0x1b
up_key_scancode    = 0x06
down_key_scancode  = 0x16
ok_key_scancode    = 0x1a
pageup_key_scancode = 0x55
pagedown_key_scancode = 0x15

key_begin

0x59 116 #power
0x19 113 #mute

#0x4d 18 #epg
#0x0e 23 #info
0x0d 172 #home

0x51 14 #del
0x12 24 #mouse
0x11 34 #dtv

0x45 46 #menu
0x05 1 #exit

0x06 103 #up
0x5a 105 #left
0x1a 28 #enter
0x1b 106 #right
0x16 108 #down

0x55 177 #104 	#page+
0x15 178 #109 	#page-

0x52 2 #1
0x50 3 #2
0x10 4 #3
0x13 115	#vol+

0x56 5 #4
0x54 6 #5
0x14 7 #6
0x17 114 	#vol-

0x4e 8 #7 
0x4c 9 #8
0x0c 10 #9
0x0f 11 #0

0x4a 168	#fr
0x48 208 	#ff
0x08 165 	#prev
0x0b 163 	#next

0x46 57 #play/pause
0x44 45 #stop
0x04 37 #pvr, tv/radio
0x07 132 #repeat

0x42 398 #59 #red
0x40 399 #60 #green
0x00 400 #61 #yellow
0x03 401 #62 #blue

0x1f 364 #fav
0x4d 365 #EPG
0x58 79 #app
0x18 65 #browser

#0x0e 136 #audio
0x09 38 #20 #next subtitle

0x02 23 #info
0x01 27 #audio
key_end