For better knowledgebase and separation I make this topic firstly about dvb drivers for KI Plus and KII Pro from videostrong, but here can posting everything about other dvb hardware.
The V4L dvb drivers already integrated by Kszaq to the common libreelec 7.0.2, so if someone has Amlogic S905 device, can connect many dvb-t,dvb-s,dvb-c USB hardware.
Supported hardware:
Hardware device information - LinuxTVWiki
Common DVB-T DVB-S dvb-c topic
-
envagyok -
October 1, 2016 at 6:43 AM -
Thread is Unresolved
-
-
LibreELEC-Amlogic.aarch64-KI_Plus-7.0.2.004.img - SDcard version update of alex's KI Plus 7.0.2.003 with the latest fixies:
- Multichannel PCM;
- fix for aspect ratio SD and HD-lite;
- multiboot support;
- wifi driver for AP6335 (KII Pro);It should be possible run on KII Pro, it is necessary replace dtb.img with k2pro.dtb(I never tested it, pls let me know).
-
LibreELEC-Amlogic.aarch64-KI_Plus-7.0.2.004.img - SDcard version update of alex's 7.0.2.003 with the latest fixies:
- Multichannel PCM;
- fix for aspect ratio SD and HD-lite;
- multiboot support;
- wifi driver for AP6335 (KII Pro);It should be possible run on KII Pro, it is necessary replace dtb.img with k2pro.dtb (I never tested it, pls let me know).
Great news
I try it today on my Ki Plus.
Maybe can you implement the new CEC support too?Edit: I tried, Multichannel ok, aspect ratio ok, dvb device i see at tvheaadend panel.
What i miss from this build:
No configurable cec, what is in kszaq build is. (Kszaq's buold at peripherials you can set cec settings, here not. And the CEC is unstable /at Alex's build too/)
No additional DVB device support. Kszaq build has support for many 3rd party usb dvb-t stick, and dvb-s tuner. This build support only dvb device builted in.Thanks For your work Zhis box time to time always goes better.
Is any chance the missed features port inside this build? -
Great news
I try it today on my Ki Plus.
Maybe can you implement the new CEC support too?No problem. Send me fix for new CEC support.
-
No problem. Send me fix for new CEC support.
You should ask from Kszaq the new CEC driver, and the 3rd party DVB-T/DVB-S drivers.
He has implemented it own version:
"Raybuntu's libCEC driver with aml_autoscript hack to make it work with older device trees
DVB and other media drivers from Linux backports - included drivers from 4.4.2 kernel (7.0.2.002 and up)" -
You should ask from Kszaq the new CEC driver, and the 3rd party DVB-T/DVB-S drivers.
He has implemented it own version:
"Raybuntu's libCEC driver with aml_autoscript hack to make it work with older device trees
DVB and other media drivers from Linux backports - included drivers from 4.4.2 kernel (7.0.2.002 and up)"I will try it on my KII pro, thanks afl1....for your great works
-
It should be possible run on KII Pro, it is necessary replace dtb.img with k2pro.dtb (I never tested it, pls let me know).Hi afl1, i test in my KII Pro combo, but if use you K2pro.dtb ( i rename it when replace in SD card) box stuck on boot logo. If use stock dtb.img boot from sdcard and load libreelec image. So, may be is something wrong in k2pro.dtb
Thanks and regards for good work! -
Hi afl1, i test in my KII Pro combo, but if use you K2pro.dtb ( i rename it when replace in SD card) box stuck on boot logo. If use stock dtb.img boot from sdcard and load libreelec image. So, may be is something wrong in k2pro.dtb
Thanks and regards for good work!hi kokovi4, means no need to replace k2pro.dtb, just use the stock firmware from afl1. is my right?
-
Hi afl1, i test in my KII Pro combo, but if use you K2pro.dtb ( i rename it when replace in SD card) box stuck on boot logo. If use stock dtb.img boot from sdcard and load libreelec image. So, may be is something wrong in k2pro.dtb
Thanks and regards for good work!Ok, I will compare stock dtb's and try to create new KII Pro version.
-
If I use your dtb in my KII Pro, either stock or k2pro.dtb - I get stuck on the amlogic logo. If I remove the dtb file, it will boot to LE, but wifi doesn't work. (See the dmesg excerpt below)
Any thoughts on how to address this? I was thinking of copying the BCM4335 firmware, nvram and config files to the /system/etc/firmware/ path - but is there even a /system path in LE??
Code
Display Moredhd_bus_devreset: == WLAN ON == [ 13.426452@2] F1 signature read @0x18000000=0x1601433 [ 13.428959@2] F1 signature OK, socitype:0x1 chip:0x4335 rev:0x1 pkg:0x0 [ 13.429359@2] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000 [ 13.429524@2] dhdsdio_probe_init: set use_rxchain 1 from config.txt [ 13.429582@2] dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt [ 13.429592@2] dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/fw_bcmdhd.bin [ 13.429599@2] Final fw_path=/system/etc/firmware/fw_bcmdhd.bin [ 13.429603@2] Final nv_path=/system/etc/firmware/nvram.txt [ 13.429608@2] Final conf_path=/system/etc/firmware/config.txt [ 13.429921@2] dhdsdio_download_code_file: Open firmware file failed /system/etc/firmware/fw_bcmdhd.bin [ 13.429927@2] _dhdsdio_download_firmware: dongle image file download failed [ 13.429952@2] dhd_net_bus_devreset: dhd_bus_devreset: -35 [ 13.429959@2] dhd_prot_ioctl : bus is down. we have nothing to do [ 13.429965@2] dhd_net_bus_devreset: dhd_bus_devreset: -35 [ 13.430004@2] wifi_platform_set_power = 0 [ 13.430010@2] ======== PULL WL_REG_ON LOW! ======== [ 13.430015@2] wl_android_wifi_on: Failed [ 13.430022@2] dhd_open : wl_android_wifi_on failed (-35) [ 13.430028@2] dhd_stop: Enter ffffffc06020d000 [ 13.430033@2] wl_android_wifi_off in 1 [ 13.430038@2] wl_android_wifi_off in 2: g_wifi_on=0 [ 13.430042@2] wl_android_wifi_off out
As an FYI, my KII Pro is a custom build for testing dual internal ATSC tuners - so I will have to do some work to get the dual tuners to show up...but is the ATSC hardware part of your build? Should be using similar hardware to what was in the KI Plus ATSC version.
Thanks for your thoughts!
-
New version of k2pro.dtb. I built it from sources, comparing differences between k1plus and k2pro.
-
LibreELEC-Amlogic.aarch64-KI_Plus-7.0.2.004.img - SDcard version update of alex's KI Plus 7.0.2.003 with the latest fixies:
- Multichannel PCM;
- fix for aspect ratio SD and HD-lite;
- multiboot support;
- wifi driver for AP6335 (KII Pro);It should be possible run on KII Pro, it is necessary replace dtb.img with k2pro.dtb(I never tested it, pls let me know).
I try on SDCard of KII Pro, (stock dtb.img and k2pro.dtb). Box stuck on boot logo.
Thanks afl1
[hr]
New version of k2pro.dtb. I built it from sources, comparing differences between k1plus and k2pro.thanks for your grat work
-
If I use your dtb in my KII Pro, either stock or k2pro.dtb - I get stuck on the amlogic logo. If I remove the dtb file, it will boot to LE, but wifi doesn't work. (See the dmesg excerpt below)Any thoughts on how to address this? I was thinking of copying the BCM4335 firmware, nvram and config files to the /system/etc/firmware/ path - but is there even a /system path in LE??
Code
Display Moredhd_bus_devreset: == WLAN ON == [ 13.426452@2] F1 signature read @0x18000000=0x1601433 [ 13.428959@2] F1 signature OK, socitype:0x1 chip:0x4335 rev:0x1 pkg:0x0 [ 13.429359@2] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000 [ 13.429524@2] dhdsdio_probe_init: set use_rxchain 1 from config.txt [ 13.429582@2] dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt [ 13.429592@2] dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/fw_bcmdhd.bin [ 13.429599@2] Final fw_path=/system/etc/firmware/fw_bcmdhd.bin [ 13.429603@2] Final nv_path=/system/etc/firmware/nvram.txt [ 13.429608@2] Final conf_path=/system/etc/firmware/config.txt [ 13.429921@2] dhdsdio_download_code_file: Open firmware file failed /system/etc/firmware/fw_bcmdhd.bin [ 13.429927@2] _dhdsdio_download_firmware: dongle image file download failed [ 13.429952@2] dhd_net_bus_devreset: dhd_bus_devreset: -35 [ 13.429959@2] dhd_prot_ioctl : bus is down. we have nothing to do [ 13.429965@2] dhd_net_bus_devreset: dhd_bus_devreset: -35 [ 13.430004@2] wifi_platform_set_power = 0 [ 13.430010@2] ======== PULL WL_REG_ON LOW! ======== [ 13.430015@2] wl_android_wifi_on: Failed [ 13.430022@2] dhd_open : wl_android_wifi_on failed (-35) [ 13.430028@2] dhd_stop: Enter ffffffc06020d000 [ 13.430033@2] wl_android_wifi_off in 1 [ 13.430038@2] wl_android_wifi_off in 2: g_wifi_on=0 [ 13.430042@2] wl_android_wifi_off out
As an FYI, my KII Pro is a custom build for testing dual internal ATSC tuners - so I will have to do some work to get the dual tuners to show up...but is the ATSC hardware part of your build? Should be using similar hardware to what was in the KI Plus ATSC version.
Thanks for your thoughts!
In kernel is no support for ATSC:Code
Display Morekernel/drivers/amlogic/dvb_tv/aml_fe.ko kernel/drivers/amlogic/dvb_tv/avl6862.ko kernel/drivers/amlogic/dvb_tv/AVL_Demod_CommonAPI.ko kernel/drivers/amlogic/dvb_tv/AVL_Demod_CommonInternal.ko kernel/drivers/amlogic/dvb_tv/AVL_Demod_DVBC.ko kernel/drivers/amlogic/dvb_tv/AVL_Demod_DVBSx.ko kernel/drivers/amlogic/dvb_tv/AVL_Demod_DVBTx.ko kernel/drivers/amlogic/dvb_tv/AVL_Demod_ISDBT.ko kernel/drivers/amlogic/dvb_tv/AVL_Demod_Config.ko kernel/drivers/amlogic/dvb_tv/user_defined_function.ko kernel/drivers/amlogic/dvb_tv/r848.ko
I am using alex kernel from LE 7.0.2.003. Sources for K1 Plus dbv_tv modules are not public.
-
New version of k2pro.dtb. I built it from sources, comparing differences between k1plus and k2pro.I test wih new k2pro.dtb on sdcard, box run on sdcard but blackscreen after bootlogo.
thanks
[hr]I test wih new k2pro.dtb on sdcard, box run on sdcard but blackscreen after bootlogo.
thanksTest again, its working....KII PRO run librelec on sdcard......thanks for great works. Using USB, blackscreen.
[hr]I test wih new k2pro.dtb on sdcard, box run on sdcard but blackscreen after bootlogo.
thanks
[hr]Test again, its working....KII PRO run librelec on sdcard......thanks for great works. Using USB, blackscreen.
Hi afl1, wifi not working. thanks
-
If I use your dtb in my KII Pro, either stock or k2pro.dtb - I get stuck on the amlogic logo. If I remove the dtb file, it will boot to LE, but wifi doesn't work. (See the dmesg excerpt below)Any thoughts on how to address this? I was thinking of copying the BCM4335 firmware, nvram and config files to the /system/etc/firmware/ path - but is there even a /system path in LE??
Code
Display Moredhd_bus_devreset: == WLAN ON == [ 13.426452@2] F1 signature read @0x18000000=0x1601433 [ 13.428959@2] F1 signature OK, socitype:0x1 chip:0x4335 rev:0x1 pkg:0x0 [ 13.429359@2] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000 [ 13.429524@2] dhdsdio_probe_init: set use_rxchain 1 from config.txt [ 13.429582@2] dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt [ 13.429592@2] dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/fw_bcmdhd.bin [ 13.429599@2] Final fw_path=/system/etc/firmware/fw_bcmdhd.bin [ 13.429603@2] Final nv_path=/system/etc/firmware/nvram.txt [ 13.429608@2] Final conf_path=/system/etc/firmware/config.txt [ 13.429921@2] dhdsdio_download_code_file: Open firmware file failed /system/etc/firmware/fw_bcmdhd.bin [ 13.429927@2] _dhdsdio_download_firmware: dongle image file download failed [ 13.429952@2] dhd_net_bus_devreset: dhd_bus_devreset: -35 [ 13.429959@2] dhd_prot_ioctl : bus is down. we have nothing to do [ 13.429965@2] dhd_net_bus_devreset: dhd_bus_devreset: -35 [ 13.430004@2] wifi_platform_set_power = 0 [ 13.430010@2] ======== PULL WL_REG_ON LOW! ======== [ 13.430015@2] wl_android_wifi_on: Failed [ 13.430022@2] dhd_open : wl_android_wifi_on failed (-35) [ 13.430028@2] dhd_stop: Enter ffffffc06020d000 [ 13.430033@2] wl_android_wifi_off in 1 [ 13.430038@2] wl_android_wifi_off in 2: g_wifi_on=0 [ 13.430042@2] wl_android_wifi_off out
As an FYI, my KII Pro is a custom build for testing dual internal ATSC tuners - so I will have to do some work to get the dual tuners to show up...but is the ATSC hardware part of your build? Should be using similar hardware to what was in the KI Plus ATSC version.
Thanks for your thoughts!
I had the same problem in old kernel with KIII tv box with same wifi module Ampack 6335. DHD module wasn't able select correct fw. I fixed if with fixed configuration. Instead of nvram.txt I used nvram_bcm4335.txt and fw_bcm4335b0_ag.bin and it works. In new kernel (since 7.0.2.005) this issue disappears. I will implement it in new build.
-
-
LibreELEC-Amlogic.aarch64-KII_Pro-7.0.2.004.img - SDcard KII Pro version with fixed wifi adapter. I tested it only with KIII.
-
Great job man ! Wifi now worked in my K2 Pro box.
Regards! -