Jump to content


orator89

Member Since 13 Apr 2016
Offline Last Active 20 Aug 2024 00:20
-----

Posts I've Made

In Topic: Update/patch "dvb-v2" driver for RTL2832 usb device

27 July 2022 - 07:27

The problem is that none of the kernel versions in use have support, so the patch you've referred to is for a later kernel version.

 

To fix this a patch needs to be made for every kernel version supported, and the patch then needs to be added to the kernel build, which means all manufacturers need to accept the patch as an update.

 

Quite an undertaking...

 

Yes I know... The only hope is that this is the most popular DVB-T2/C device, so I really hope someone will backport the drivers, because today the only decoder that (I suppose, because I don't have it) natively supports this device is Edision 4k, the only one decoder with kernel 5.x... Really hope someone will backport


In Topic: Update/patch "dvb-v2" driver for RTL2832 usb device

26 July 2022 - 21:58

Ok, I've seen on official kernel drivers webpage:

 

version of kernel 4.4.35 for "module-dvb-usb-rtl2832" :

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/usb/dvb-usb-v2/rtl28xxu.c?h=v4.4.35
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/usb/dvb-usb-v2/rtl28xxu.h?h=v4.4.35

version of kernel 4.4.35 for "cxd2841er.ko":

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/dvb-frontends/cxd2841er.c?h=v4.4.35
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/dvb-frontends/cxd2841er.h?h=v4.4.35

In both cases, the drivers are not updated and the resulting "ko" file could not detects Sony CXD2841ER slave demod....

 

 

 

Instead, in kernel 5.18.14, that supports perfectly the device, I see instead the updates it needs for "module-dvb-usb-rtl2832":

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/usb/dvb-usb-v2/rtl28xxu.c?h=v5.18.14
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/usb/dvb-usb-v2/rtl28xxu.h?h=v5.18.14

and for "cxd2841er.ko":

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/dvb-frontends/cxd2841er.c?h=v5.18.14
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/dvb-frontends/cxd2841er.h?h=v5.18.14

In Topic: Update/patch "dvb-v2" driver for RTL2832 usb device

26 July 2022 - 21:18

The kernel version dictates the version of the drivers in that kernel.

 

  • If the current kernel version does support the device, but the driver isn't present, the kernel configuration needs to be adapted, which is also something the manufacturer needs to do, we don't have access to it.
  • If you need support for devices that are only supported in later versions of the kernel, the manufacturer needs to provide a new kernel version. We can't update it, because the box hardware drivers are only supplied in binary and lock in the kernel version used.
  • If no kernel supported driver exists, but a third party driver exists, we can try building it out of tree, providing it has support for all kernels we build images for (which means 3.6 - 5.15, which is quite a range ).

Patches are pretty useless, as they are for a specific version of the source code, and can therefore never be universally applied. It also means applying it in the kernel build recipe, which again we don't have control over.

 

Understood, yes the device is officially supported in kernel 5.x, but I know that someone compiled driver for kernel 4.10, as you can read here, but without success, maybe because some error happened to him in building the "CXD2841er.ko". as he said. But I already have the CXD2841.ko correct, I suppose, because it's in OpenPLI feeds of 4.4.35 kernel as:

kernel-module-cxd2841er-4.4.35 - 4.4.35-.7.6 - cxd2841er kernel module

as you can see in Openpli feeds...

So this is not the problem, the driver for the slave demodulator already exists... Only it need to be recognized by the rtl2832, and for that the driver dvb-usb-v2 of rtl2832 needs update as in git and patch linked in first post, I suppose... So I have to contact the manufacturer of the decoder to have "module-dvb-usb-rtl2832" for kernel 4.4.35?


In Topic: Astrometa DVB-T/T2/C MN88472/MN88473

26 July 2022 - 21:05

Same issue as with the RTL2832? That fix isn't in the release image.

 

No different issue... This issue is in all the images and is not related to "IOCTL" errors :)
This time is problem with the slave demodulators of the tuner, that are not recognized by driver because the drivers need update... I started also a topic :)


In Topic: Astrometa DVB-T/T2/C MN88472/MN88473

26 July 2022 - 19:01

Ehi, someone has the Astrometa 2018 version with CXD2837 demodulator instead of Panasonic MN88473? I have kernel 4.4.35 (Openpli 8.2, decoder uclan 4k pro) and found  driver kernel cxd2841.ko for this device but it's not recognized as DVB-T2/, with command:

 

ls -la /dev/dvb/adapter*/*

there's only adapter 1 frontend 0 for DVB-T part (and it doesn't find channels... I live in Italy where DVB-T is still working in use)
Someone has updated drivers or firmwares/modules to get it working?