Legacy v9.2 (LTS) builds for Amlogic S805/S8X2, S905/S912 and all WeTek boxes

  • After installing dvb-latest rebooted then :

    Same error in CE : ERROR    FE_SET_VOLTAGE: Operation not permitted

    pastekodi 

  • Tried the custom gxl_p231_2g_dvb_custom but :

    pastekodi

    After that, I decided to boot into the original OS and extract the DTB just to be sure. It turns out that it's not the same DTB that was included with the update ZIP file.
    Really sorry about the confusion — here is the exact S905D DTB pulled directly from the OS :

  • Really sorry about the confusion — here is the exact S905D DTB pulled directly from the OS :

    I compared it and the modified parts are the same, only the order of the lines was different. I'm afraid that the dvbfe section contains a misleading configuration, so I modified the dtb again based on a different approach. If this doesn't get us any closer to the solution, then I have no more ideas for now.

  • Sadly it's not working. What I think is that we can't just edit mapping addresses on dtb since LE uses it's own mapping maybe 0x73 on OS doesn't map the same on LE :

    Code
    LibreELEC (dtech): 9.2.8.18 (Generic_S905.arm)
    LibreELEC:~ # ls /dev/dvb/
    ls: /dev/dvb/: No such file or directory
    LibreELEC:~ # dmesg | grep -i dvb
    [    7.640221@0] kernel-overlays-setup: processing conf /storage/.cache/kernel-overlays/50-driver.dvb.dvb-latest.conf
    [    7.691911@0] kernel-overlays-setup: added modules from /usr/lib/kernel-overlays/driver.dvb.dvb-latest/lib/modules/3.14.29
    LibreELEC:~ # dvb-fe-tool -a 0 --verbose
    WARNING  device dvb0.frontend0 not found

    pastekodi

    The voltage controller seems not working properly! I suspect AV2011 when tuner is detected previously using the default gxl_p231_2g_dvb.dtb when doing :

    If you can run the same command on a DVB-S2 working device, it should help clarify things.

    That's the latest update file from vendor, the unlocked bootloader image and the box hw layout maybe this will help get some useful stuff.

    For the second box S905H here is the updated dts file, turns out dtb files from the update images are not the same as the one directly loaded into the OS.

  • I was hoping that the driver would be able to start the demod chip like the WP2, but it seems that the WP2 dtb doesn't have a dvbfe entry because all the necessary parameters are fixed in the driver. (This is just a suspicion, not confirmed.)

    However, if the above is true, then the driver is not truly universal, but only works with the WeTek factory wiring solution, and not with a different configuration. This is too deep water for me, unfortunately I am not that knowledgeable, I am mostly just experimenting. Unfortunately, I do not have any DVB-S capable accessories, neither LNB nor dish.

    I think I will give up at this point, I'm just guessing blindly due to the lack of devices. :(

  • If you have access to the wetek play 2 it has a built in DVB-S2 tuner you don't need LNB to be connected to the tuner, you can try the command :

    dvb-fe-tool -a 0 --verbose

    If at the end it doesn't output : ERROR    FE_SET_VOLTAGE: Operation not permitted then there are two possible scenarios :

    1. Driver compatibility, if so is there a way to extract drivers from the box image and put them into LE?
    2. Kernel has been tweeked for this exact device this is more plausible since images made for these devices are different from generic builds; but generic builds also include dvb support with the correct dtb like gxl_p231_2g_dvb.dtb so it makes less sense.

    At this point, the behavior suggests that either the WeTek-specific kernel patches are required for proper tuner initialization, or LE’s generic DVB support isn't fully compatible with the built-in tuner despite the correct DTB being present. Further testing or comparing kernel configs/modules between the stock image and LE may help pinpoint the exact cause.

  • If you have access to the wetek play 2 it has a built in DVB-S2 tuner you don't need LNB to be connected to the tuner ...

    No, WeTek Play 2 has a removable tuner, mine has DVB-T2/C and I don't have a DVB-S/S2 modular tuner for it at all.

    1. If it was built with kernel 3.14, it might work. But generally, its stability is questionable due to the different build environment.
    2. What do you mean on "generic build"? The Availink drivers are tightly built into the Amlogic BSP kernels, so it's unlikely that they could be easily ported to the mainline kernel.

  • Well no voltage error in your case but are you using LibreELEC-WeTek_Play_2.arm-9.2.8.18.img.gz or LibreELEC-Generic_S905.arm-9.2.8.18.img.gz with gxbb_p200_2G_wetek_play_2.dtb is it same thing ?

    Since it is not DVB-S, there is no LNB to be powered (13-18V DC), so there is obviously no such problem with this tuner. Regardless, there is a 5V DC output for possible antenna signal amplifiers, but for terrestrial signal reception (DVB-T/T2) a passive antenna is basically sufficient, and for cable TV (DVB-C) this is not even necessary.

    For WP2, I strongly recommend using the WP2 image, because it is optimized for it (different boot method, remote control codes, kernel drivers, etc.), and between the base modules, only this one contains the wetekdvb driver.

    The abdroid box os uses kernel 3.14.29 so drivers should be compatible but I have no idea how to proceed.

    I extracted your stock ROM image with AMLogicTools and unfortunately the driver is not included as a module, so it is impossible to extract and use it from its original environment.