Posts by ghtester

    Firmware (not VL805 USB controller's firmware) is located on filesystem so in case of LE it depends on LE version. You can't change the firmware release with rpi-eeprom-update utility. To change the firmware version you need to replace the specific files (see https://github.com/raspberrypi/firmware ) on appropriate partition. You should avoid this as it's usually not necessary, rather install another LE version. I don't know which firmware version is on LE 10.0.1 as I am running LE 11 Nightlies (https://test.libreelec.tv/).

    Bootloader on RPi 4B is located in EEPROM, also the bootloader configuration. I would not try to downgrade the bootloader version, at first compare the bootloader configs as recommended above (use vcgencmd bootloader_config command). The latest stable bootloader version is 2021-07-06 (see https://github.com/raspberrypi/rp…irmware/stable/) and I would recommend upgrading to latest. Also VL805 firmware should be 000138a1. See this post for detailed steps how to upgrade manually: RE: Is it possible already to set up a rpi4 with kernel 5.4?

    Maybe you can try audio_pwm_mode=2 instead, I think I saw a mention somewhere here that it could improve an analog sound quality.

    Otherwise it could be a cabling issue (a ground loop or a cable shield issue) or a Power Supply issue (insufficient power, the PSU should be at least 15W type = 5V/3A). Also make sure the both devices, connected with AV cable, are powered from the 'same or very next' power outlet.

    You may also try to test just the audio output with headphones / audio bar (if you have one, powered by battery) connected through 3 wires audio cable only to see if the issue is the same or not.

    You don't need to downgrade LE to 9.x (to get the Audio working on Analog jack) if you added audio parameters mentioned above to config.txt, just reboot and then set the Audio output device in Settings/System/Audio to ALSA:bcm2835 Headphones, bcm2835 Headphones

    Hopefully it should work.

    In past I tried to use HDMI CEC as well but also found it was pretty unusable due to incompatibility across HDMI devices & unique implementations. Some features were working but some most important (like power off request through HDMI CEC) did not work on my old LG TV. So I stopped using CEC completely and started using GPIO pins on my RPI 4B instead to control relays and IR LED so I can easily take a full control of any attached (or even unattached) devices which are connected to power outlets (controlled by relays) or have an IR remote sensors. I can recommend this solution and I can provide you with technical details if you are interested in.

    BTW. on LE 11 Nightly my RPi 4B now turns on attached TV (through HDMI) after power on, even though the HDMI CEC is disabled in LE (I don't remember what the behavior was on LE 10 / LE 9 but I think TV stayed off in this case). But this is OK for my use case. I can use a power outlet (with relay) to turn the TV on/off and IR sensor to control any TV function (through a script, which can be run by pushing button on my remote control).

    I am facing to this issue across several LE versions (from 9.2.6 to 11 Nightly) and more or less it's still the same or similar behavior.

    It usually happens when the DVB-T2 signal level / quality is not perfect but sometimes also right after switching the channel, even though the DVB-T2 signal is excellent. Then the Audio is lost (which means muted, it happens randomly, when the DVB-T2 signal drops for a moment or after switching to another channel and it takes an unpredictely long time to recover).

    When playing recording of the same stream, the audio is restored quickly but it does not happen with the live stream. Usually I need to switch to another channel (but then the TimeShift data is lost which is very annoying), sometimes it helps toggling audio stream (where there are more than one, which is not always).

    The current configuration is RPi 4B/2GB, LE 11 Nightly 20211108

    An example video recording:

    http://mysharegadget.com/729214965

    Debug log while LiveTV watching the same stream as the recording above (got back with TimeShift, activated Debug log before Audio was lost, deactivated Debug log when the Audio was back again):

    http://ix.io/3EsH

    The question is why there's a difference between LiveTV watching and recording play and if this can be improved (to recover audio quickly after stream corruption during LiveTV watching).

    BTW. as already reported in another thread, subtitles on this channel are not visible during LiveTV despite recorded properly and visible when playing recording ( this is an incompatibility of Kodi with Tvheadend 4.3 backend).

    Thanks a lot for an update / fix.

    I have removed the advancedsettings file as soon as I was able to start Kodi again (at Oct, 16) and the issue did not happen again. So disabling wsdiscovery just one time was enough to fix the Kodi boot issue.

    In the meantime, I have installed several LE 11 Nightly updates without any (similar) issue (currently running 20211025).

    Thanks again for your help.

    Regarding to DVB-T2 only - I am using 2 kinds of Astrometa DVB-T/T2 USB stick (with Panasonic MN88473 and Sony CXD2837ER demodulators) and also MyGica T230C DVB-T/T2 USB stick (with Silicon Labs Si2168 demodulator), currently with LE 11 Nightly on RPi 4B and all working fine as they are supported yet by Linux (MyGica has a better sensitivity, Astrometa has more features / more possible use cases for a lower price).

    I am not using any DVB-S2 receiver.

    OK, thank you both! :)

    Currently I am going to upgrade LE 11 Nightly 20211005 on another boot media (USB stick) to 20211015 to test if I fell to the same issue or not. I'll put a result here. I could also try a fresh installation later but I believe it will work at first attempt.

    I think my configuration is a bit specific - I am using Live TV / PVR with Astrometa DVB-T2 stick, also the i2c LCD display so some add-ons are also more or less a bit specific. Maybe that's why? Some add-on incompatible with fresh Kodi which couldn't be upgraded automatically without the advancedsettings.xml?

    Edit - upgrade another LE 11 from 20211005 to 20211015 stopped with new Kodi picture on screen after the bottom line, informing about add-ons migration, disappeared. Kodi log ends with Waiting message (about 25 minutes ago):

    http://ix.io/3BVG

    I'll try to reboot to see what happens afterwards.

    Edit 2 - after reboot Kodi started without issue and Live TV is working.

    Perhaps the original issue could be due the fact when LE 11 Nightly 20211007 was released, add-ons were not compiled yet so the add-on migration did not finish properly and it prevented Kodi from further starts?

    Thanks a lot, you made it!!! :) My LE 11 Nightly is working again.

    After updating advancedsettings.xml in accordance with your advice & reboot, Kodi started and displayed announcment that there's no PVR installed. I have confirmed it, then Kodi's GUI appeared and some add-ons were updated automatically. Then Live TV started succesfully and everything seems to be working fine again.

    Thanks a lot for your help, mglae ! :)

    The same issue with LE 11 Nightly 20211014 and 20211015.

    Found a thread discussing the error hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -19

    that I am experiencing as well: https://github.com/raspberrypi/linux/issues/4575

    Tried to edit config.txt and cmdline.txt as outlined there but without any positive effect.

    cat cmdline.txt

    boot=LABEL=System disk=LABEL=Storage quiet video=HDMI-A-1:D

    http://ix.io/3BRm

    You don't mention which kind of wireless communication is your Logitech keyboard/mouse using. If it has a proprietary USB stick, try to connect it through an USB extension cable (I know you wish to eliminate cables everywhere, but at least for test) so the stick will be far from RPi / external HDD. And test if it's better. I can imagine that such devices, using a very low power wireless protocol, can be sensitive to high-frequency noise that some devices / components may be producing. Also I would try to replace a battery in your kbd with a fresh one.

    Shortly - if your LE on RPi 4B works with wired USB keyboard (and I am sure any mentioned LE package works), it's not a software issue but more likely a wireless device's issue, in combination with some hardware used. Of course if only REW and FF keys are NOT working properly and all other keys works fine, I may be completely wrong... /shrug

    It's not necessary to use a noisy fan. Yes the passive cooling would be the best option but in this case you always need a massive heat sink and still there should be an air flow around.

    For one of my RPis 4B I am using as a compromise a smaller heat sink + 12 V CPU fan (60x60x10mm, used but a quality grade), powered by 5V from USB port. I's enough to have a reduced rotation speed so there's no noise and the cooling is very good.

    I can sort of see where you're coming from but how is going down that route any better than continuing to use a wireless keyboard and having a separate remote for the TV?

    OK, sorry I did not get your use case properly (as the very first post did not point out the wireless keyboard is the only control device you are using). I thought your issue could be related to HDMI CEC & TV Remote Control through which you are sending FF & REW commands to LibreELEC. As you mentioned Argon One case which is well designed for using IR Remote Control, I supposed the outlined solution could be suitable for you. I don't use keyboard with LE, from my point of view it's not necessary with properly customized IR Remote Control (yes I have REW and FF buttons there). I am sure I could use your Panasonic TV remote with LE without any issue.

    But if your wireless keyboard functionality depends on attached devices, it's possible there's a HW issue which you need to discover. It could be even a noise generated by external HDD which breaks wireless transfers etc... Hard to say.