Posts by tmn505

    It probably broke after this https://git.kernel.org/pub/scm…9f3ce06f40656c0b67e53cc80 which comes right after https://git.kernel.org/pub/scm…3ffe4553ed6d2b4e4cad703de. So revert 026ea897cb0731e29324536bae019512fa3dc13e and add "#include <linux/vmalloc.h>" to vtunerc_main.c. Compiles on my side, albeit with one warning:

    Code
    /srv/local/tomek/vtuner-ng/kernel/vtunerc_proxyfe.c:38:6: warning: no previous prototype for ‘dvb_proxyfe_set_stat’ [-Wmissing-prototypes]
       38 | void dvb_proxyfe_set_stat(struct vtuner_dtv_fe_stats *vtuner_stats, struct dtv_fe_stats *dvb_stats)
          |      ^~~~~~~~~~~~~~~~~~~~

    but should work nonetheless.

    I have only one USB port

    So You've got the newer version. I don't have any experience with that one. They probably removed first-boot from USB.

    Please post output of "cat /proc/mtd" and upload copies of first two partitions (bootloader and its environment). Maybe I can figure out from strings what changes they made.

    I tried it today on both devices I have and they booted initramfs by default from either of USB ports to which the drive was connected. Maybe U-Boot on Yours does not recognize USB drive or initramfs file, try different USB stick. Do You have the newer device version with one USB port? Best option to troubleshoot is connect to UART port and attach console to it to see all messages or interact with U-Boot.

    For a quick test I uploaded my old initramfs image: https://www.mediafire.com/file…lgato_UAB_Boot_Image/file

    MD5 sum of the file: 934cc093dc20f733db9763c217078728

    To know if You booted from it, check available applications (double TAB), there should be minisatip and some others.

    Ich wollte das nachvollziehen, bin aber drüber gestolpert, dass das satip Binary noch kein DVBT(2) unterstützt: https://github.com/joed74/vtun…satip/satip_vtuner.c#L173 ff. - ist etwas überraschend, weil das Programm im Hilfetext anbietet die unterstützten Formate auf DVBT2 einzuschränken:

    Code
    May 16 10:34:00 [2996 satip_vtuner.c:230] debug: MSG_SET_PIDLIST:
    May 16 10:34:00 [2996 satip_vtuner.c:233] debug: 0
    May 16 10:34:00 [2996 satip_vtuner.c:233] debug: 16
    May 16 10:34:00 [2996 satip_vtuner.c:233] debug: 17
    May 16 10:34:00 [2996 satip_vtuner.c:233] debug: 18
    May 16 10:34:00 [2996 satip_vtuner.c:233] debug: 19
    May 16 10:34:00 [2996 satip_vtuner.c:233] debug: 20
    May 16 10:34:21 [2996 satip_vtuner.c:175] debug: MSG_SET_FRONTEND
    May 16 10:34:21 [2996 satip_vtuner.c:206] error: unsupported delsys 16

    Found the same, some time ago when I tried it. I had to add small patch (in attachment) for DVB-T2(only) for it to work. Fortunately only msys and freq is needed for minisatip or SATPI to work, otherwise it would be impossible for me.

    Continued because of 10000 character limit.


    P.S. for anyone wanting to play with Tombea these are more-or-less ordered strings from the app (there is some "devmode" which I don't know how to activate):


    Bislang ist es mir nicht gelungen die Firmware-Version zu ändern, wird scheinbar irgendwo intern ausgelesen.

    Rename the firmware to "Elgato_UAB_Boot_Image" and place it on a FAT32 formatted USB stick. Plug it in to USB port and reboot. The device should boot firmware from USB stick. This won't leave any permanent changes to NAND flash, so if You want to go back, simply remove the stick and reboot.

    I would suggest connecting UART<->USB adapter to UART pins which are populated on J24, (I have the first version with 2 USB ports, might be different for newer one with single USB port), don't connect the first pin:

    Code
    ZIM-1900 VER:1.0
    
    J24: 1. VCC 3.3V, 2. TX, 3. RX, 4. GND
         ^

    After connecting terminal You'll see also messages from bootloader. If USB is inserted there are these messages:

    Code
    ***** USB AUTO FLASH *****
    SPI image Elgato_UAF_SPI not found
    SPI image Elgato_UAF_OTP not found
    Partition image Elgato_UAF_Boot_FW1 not found
    Partition image Elgato_UAF_Boot_Loader_0 not found
    Partition image Elgato_UAF_Boot_Loader_1 not found
    Partition image Elgato_UAF_UBoot_Env not found
    Partition image Elgato_UAF_Linux_Kernel_0 not found
    Partition image Elgato_UAF_Linux_Kernel_1 not found
    Partition image Elgato_UAF_AppFS_0 not found

    I didn't test these yet, but I assume each will replace corresponding partition contents on NAND flash.


    When I fiddled with the device, my goal was to put Tombea on different ports and block external access to them with iptables, then add minisatip as a client and use that as a server. Unfortunately I had limited time and with none sat cable available (have to change my sat installation) I had to postpone it indefinitely. Along the way I created a very crude build system, which would create a full firmware initramfs ready to be copied to USB stick. The build system needs rpm<=4.15.x, yum and yumbootstrap to create Fedora 8 chroot. The scripts are in attachment. Maybe You'll find some inspiration out of it. The flow of execution is:

    1. prepare-source.sh, 2. sudo prepare-chroot.sh, 3. build-firmware.sh

    Yess.. Jetzt hat's geklappt! ...Ich glaub ich hab vorher die tar als root entpackt, vllt. lag es daran ^^

    Good that's finally working.


    The issue is that kernel 6.1 introduced CONFIG_STAGING_MEDIA_DEPRECATED and it guards all the deprecated drivers. Although Debian enables staging media drivers for x86 arch, when config was refreshed for 6.1, maintainer either overlooked this or simply discarded. So if anyone wants these drivers in "bookworm", You'll need to submit a bug report.

    Btw the Debian kernel recipe is tracked in this repo: https://salsa.debian.org/kernel-team/linux (check respective branches for a particular release).

    So, I tried to reproduce Your error (had only systems with Debian 10 and 11) but the modules are found without issues by depmod and also load without issues. So You probably compiled against wrong kernel headers or loading modules against wrong kernel. Did You update system (kernel) in-between? For reference this is output of depmod:

    Code
    root@debian12:/lib/modules/6.1.0-10-amd64/updates# depmod -a -v | grep 'updates/'
    
    /lib/modules/6.1.0-10-amd64/updates/budget-core.ko needs "dvb_dmxdev_init": /lib/modules/6.1.0-10-amd64/kernel/drivers/media/dvb-core/dvb-core.ko
    /lib/modules/6.1.0-10-amd64/updates/budget-core.ko needs "saa7146_wait_for_debi_done": /lib/modules/6.1.0-10-amd64/updates/saa7146.ko
    /lib/modules/6.1.0-10-amd64/updates/budget-core.ko needs "ttpci_eeprom_parse_mac": /lib/modules/6.1.0-10-amd64/kernel/drivers/media/common/ttpci-eeprom.ko
    /lib/modules/6.1.0-10-amd64/updates/budget-ci.ko needs "saa7146_unregister_extension": /lib/modules/6.1.0-10-amd64/updates/saa7146.ko
    /lib/modules/6.1.0-10-amd64/updates/budget-ci.ko needs "dvb_ca_en50221_init": /lib/modules/6.1.0-10-amd64/kernel/drivers/media/dvb-core/dvb-core.ko
    /lib/modules/6.1.0-10-amd64/updates/budget-ci.ko needs "ttpci_budget_debiwrite": /lib/modules/6.1.0-10-amd64/updates/budget-core.ko
    /lib/modules/6.1.0-10-amd64/updates/budget-ci.ko needs "rc_register_device": /lib/modules/6.1.0-10-amd64/kernel/drivers/media/rc/rc-core.ko

    and dmesg after loading budget-ci:

    Code
    [  996.902270] mc: Linux media interface: v0.10
    [  996.914926] saa7146: loading out-of-tree module taints kernel.
    [  996.914990] saa7146: module verification failed: signature and/or required key missing - tainting kernel
    [  996.917448] saa7146: register extension 'budget_ci dvb'

    The issue is that Debian 12 has kernel 6.1. There budget-ci driver got moved to 'staging/media/deprecated' and Debian maintainer didn't notice it or discarded the driver from kernel config. So You'll need to install driver like mentioned in post #2 or try to compile this single module (and dependencies) from kernel sources. Something like this:

    1.  apt install linux-headers-$(uname -r) linux-source-6.1.

    2. unpack tarball with kernel source from /usr/src to Your home directory (we don't want to compile as root)

    3. enter source directory in Your home dir and run (this is one-liner):

    make -C /lib/modules/$(uname -r)/build M=$(pwd)/drivers/staging/media/deprecated/saa7146 NOSTDINC_FLAGS="-I$(pwd)/drivers/media/common -I$(pwd)/drivers/media/dvb-frontends -I$(pwd)/drivers/media/tuners" CONFIG_VIDEO_SAA7146=m CONFIG_DVB_BUDGET_CORE=m CONFIG_DVB_BUDGET_CI=m modules

    4. copy all kernel modules (.ko extension) from 'drivers/staging/media/deprecated/saa7146' dir and its subdirs to '/lib/modules/$(uname -r)/updates'

    5. run depmod -a

    6. now You should be able to run modprobe budget-ci


    Btw. report the lack of driver to the kernel maintainer in Debian, so it gets included.


    Edit.

    forgot to refresh the site, SHF said it all

    biggsmann save this as a file with xspf extension:

    Open it in VLC, it should display HSE24 Extra HD channel. Naturally don't forget to stop VDR before.


    For the TürkmenÄlem/MonacoSat test use this one:

    Should display Persiana Family HD.

    Thanks lnj for posting this. I checked if there's something two days before the patch was sent.


    Anyway, as already stated, Hans will work on striping analog video parts from the drivers. This will move it from staging back to maintained area. Should be at least easier to bring back the analog capabilities, when the driver is still in tree, if someone wants to do it. Sadly the OSD part of DVB API will go away and I don't think it'll ever come back.


    After Hans will post changes to ML, it would be good to see some test feedback. One doesn't need to be subscribed to the ML, You can download raw message from kernel lore (https://lore.kernel.org/linux-media), example: https://lore.kernel.org/linux-…rkuil-cisco@xs4all.nl/raw. Open it in Your mail client, hit reply. To not break threading, fill 'In-Reply-To' field with 'Message-Id' of downloaded message (view the source of message to get it). That way it'll show the popularity of the driver.

    If I'll be Cc-ed to the patch, I'll notify it here.