Posts by ghtester

    OK, I see... Your English is maybe even better then mine, it's not my first language as well... :)

    Well, there are 2 basic options how 'deep' the RPi 4B's shutdown can be. It depends on bootloader configuration.

    You can check your current config with: vcgencmd bootloader_config command.

    When you change the default option POWER_OFF_ON_HALT=0 to POWER_OFF_ON_HALT=1, you could connect a LED in serie with resistor (about 500 - 1000 Ohm) to unused USB port. So it turns off when the RPi is completely down.

    FYI some details can be found here: Raspberry Pi 4 B GPIO boot and shutdown button(s) - Raspberry Pi Stack Exchange

    Yeah I understand but sometimes there are very strange things between 2 specific devices / OS releases... I don't know much how SMB protocol works but I think it's a bit complex. And recently I was facing to a strange issue with LE on RPi serving files to Windows client...

    OK, perhaps I don't understand the specific use case properly as from my perspective there's no need to see a rolling text on display...

    I am using RPi 4B as well and in my case the display stops receiving HDMI signal when I turn off LE. So I believe it's a sufficient indication (among others possible - for instance I am using GPIOs + LEDs + buttons to see the current state or to shut down the device).

    It depends on which HW you are using... Usually when you shutdown LE, it turns off the device which is running on. And there are usually some status LEDs so you should see the current status.

    If the request is more sophisticated, perhaps the shutdown script could be upgraded to do another (than currently {in}visible) indication...

    Would gladly change 2GB model for the same memory but earlier revision :)

    Well, unfortunately it won't work ;-). Despite I don't currently use IPTV, I wouldn't replace my earlier RPi revisions ( which are working fine for all of my use cases) with newer devices with the same memory size (and with a known issues). :)

    Also it's maybe possible a fake / clone RPi 4B devices are yet on the market... Try to find a trusted Raspberry distributor who can perhaps help with the HW release.

    Another chance could be that some further kernel fix could fix an application issue in future...


    Yeah I understand. But it's not so simple... Here is what I meant:

    Raspberry Pi Documentation - Processors

    Raspberry Pi 4 Model B - Board Revisions - Tutorial Australia

    How to Check if Your Raspberry Pi 4 Model B is Rev1.2? | Tutorials of Cytron Technologies

    I would gladly buy such a device, but most of the shops just sell rpi 4 without mentioning which revision it is. Last week I bought 2 rpis for this, and both of them are crashing since they are rev 1.4.

    Hopefully the issues with 1.4 version could be fixed later...

    It seems you bought 8GB versions as so far I have never seen 1.4 version of 2GB/4GB RPi 4B?

    In worst case I could offer selling one of my 1.1 RPI's away but they are just 1GB and 2GB... ;)

    Even the latest recovery image from 2021-04-29 is outdated.

    LE does not check the latest bootloader / USB firmware version available online so the offer depends on the LE build.

    The latest stable RPi 4B bootloader is dated 2021-07-06.

    See here, there are commands to check the current versions installed and an update script which I am refreshing at intervals and it's now fresh:

    ghtester
    December 19, 2020 at 1:34 PM

    As you did not share any details (about prior version and about version you tried update to), I think now the only recommendation would be another reboot and if the issue is the same, make a clean new installation.

    As mentioned here several times, an update from 9.2 to 10 is not supported and may lead to crash.

    Yeah it should help but it's unlikely I'll need to repeat that situation (these recordings were made just to help debugging with another issue with subtitles not displayed on some Live TV channel), I'll keep the current TVH settings.

    But, overall, I think Samba should be still able to serve the both files properly (even with the default name mangling configuration). ?(

    I don't know how the SMB protocol works but it looks Samba is able to recognize which file Windows client requests (as it returns a correct file length when Windows offers replacing the file yet existing with the same filename) but the wrong file (with the different file length than reported) is then sent... I'll try to look at smb.conf to understand better why it works this way.

    Yeah, thanks a lot for the opinion, I think you are absolutely right.

    I agree TVH should be configured better to save always a unique file names but currently I also don't know how exactly.

    As in this case the recordings were made from different TV channels (different TV providers, transmitting the same program), enabling the TVH settings Make subdirectories per channel: could perhaps help.

    As it looks there's no Samba / filesystem issue, let's mark this thread as Resolved. Thanks again for your quick help, I have learned something... The only confusing thing is the file size reported properly...

    A good point... So on LE's filesystem it's OK.

    It looks I am able to download only the files with eaerlier timestamp.

    For Windows the filenames are the same. The replacement of the first file is offered when I try to download the second file and the correct filename size is reported. It does not matter if I allow the replacement or filename change instead, still the first file is saved.

    I have to confirm that it happened. Tvheadend Server 4.3 (Alpha) Add-on (4.3-1967, 10.0.0.101 by Team LibreELEC)

    AFAIK images can't be put to pastebin (or I don't know how) so I have pasted them here.

    The recording settings:

    I am not sure if national characters could be an issue but it does not happen always, maybe the 2 recordings of the same stream in the short period is a problem.