Posts by ghtester

    It's not obvious why do you think so.

    Check the current mapping with ir-keytable -r

    If it's not what you expect, check the path to keymap file (path-to-new-keymap in /storage/.config/rc_maps.cfg file should be /storage/.config/rc_keymaps/yourfilename ) and the keymap file format (for editing use nano from LE command console and not Windows editors except Notepad with Word Wrap disabled).

    strange we haven't merged yet anything that should stop them

    but there are no addons available yet for LE11 (intentionally) maybe there are some problems

    I did not have time to analyze deeply but the kernel log complained about writing error to i2c related to DVB-T stick (even after unplug / plug and even after reboot).

    Edit - with LE 11 Nightly 20210819 it works again but kernel log is quickly filling with: rpivid feb10000.codec: PPS changed (seen in past, on LE 10 Nightly 20210808 it was rare)

    I am using AHT10 sensor, so far with Python script, based on this project: GitHub - gejanssen/aht10-python

    Unfortunately, in latest LE 10 Nightly builds (perhaps after move to 64 bit kernel) it stopped working, it's a timing issue with i2c communication which returns IO Error 121 or nonsense results. Despite I tried to struggle with time.sleep wait constants, couldn't get it working again. It looks the python script should be improved to communicate with AHT i2c device properly but I am not able to tune it up.

    The current script looks like:

    I suppose the better results could be achieved with using directly AHT libraries but in Adafruit Libraries Add-on 10.0.0.107 only these are present:

    ls /storage/.kodi/addons/virtual.adafruit-libraries/lib/

    Adafruit_ADS1x15 Adafruit_LED_Backpack Adafruit_SSD1306

    Adafruit_ADXL345 Adafruit_LSM303 Adafruit_TCS34725

    Adafruit_BMP Adafruit_MCP3008 Adafruit_VCNL40xx

    Adafruit_CharLCD Adafruit_MCP4725 Adafruit_WS2801

    Adafruit_DHT Adafruit_PCA9685 SI1145

    Adafruit_GPIO Adafruit_PureIO

    So the quiestion is - could be possible to extend the Adafruit Libraries Add-on a bit please, at least with AHT?

    Yeah I understand, will try to match all the debug requirements next time but as I am using almost only the Live TV in LE, it's hard to provide you with the 'corrupted' files. I know it's hard do debug if you can't reproduce it. But now it's really easy to crash Kodi when the TV signal is weak. Never seen it in past. The question is how sensitive it is over the corrupted multimedia files...

    Thanks for your hard work.

    Thanks for the feedback.

    I have put the Kodi crash log in another issue report with no reaction ( LE 10 Nightly unstable / Kodi crashing on RPi 4B ).

    This time the kernel panic stopped my debug activity. :) But I suppose many Kodi crash logs are still there so I could publish them (couple days later as I am leaving for holidays today) if there's a chance anyone will have a look on it.

    In fact the LE stability is worse than earlier in LE Nightly builds for RPi 4B. In past, Kodi never crashed completely when the Live TV stream was temporarily corrupted.

    Regarding to OOM killer - in past when it happened sometimes (usually when the Timeshift operations was requested) the Kodi usually restarted and worked for another long period. These days I saw the situation that Kodi was not able to start again. Looks as a memory leak or something like that.

    Connect to your RPi 4B with SSH console and copy / paste these commands there:

    Then disconnect the HDD, connect it again, copy / paste these commands as well:

    Code
    #
    dmesg | tail -n 50 >> /tmp/temp.txt
    paste /tmp/temp.txt
    #

    Then share the HTTP link from paste here.

    ...new kernel hangs during boot if two HDMI devices are connected (checked that here with two monitors).

    Yes that was my case as well ( 2 FullHD displays attached, Secondary disconnected from power).

    As soon as I started RPi OS (with earlier kernel), terminal window (that I needed for analyzing the issue) opened on Secondary (unpowered) display and the most easy way to get everything displayed on Primary display was to disconnect the HDMI cable from Secondary display and reboot RPi.

    So my assumption that restoring the distroconfig. txt to earlier form did fix the issue was wrong... :)

    Thanks for the explanation of the issue root.

    Fixed by restoring distroconfig.txt from backup.

    For those who fell into the same trouble, it should look like:

    Code
    # SPDX-License-Identifier: GPL-2.0-or-later
    # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
    
    # WARNING: DO NOT EDIT THIS FILE - IT WILL BE OVERWRITTEN WHEN UPGRADING!
    dtoverlay=vc4-kms-v3d,cma-512
    dtoverlay=rpivid-v4l2
    disable_overscan=1
    disable_fw_kms_setup=1

    As I had to turn off / on the hanged RPi, after LE recovery I found this message in kernel log (dmesg) :

    FAT-fs ( sda11 ) Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

    So another necessary task was to Remove dirty bit using:

    fsck.vfat /dev/sda11

    Edit - see the post #8

    I have upgraded from LE 10 Nightly 20210717 to latest 20210720 but it does not boot on my RPi 4B / 2GB from HDD connected through USB/SATA adapter anymore. :(

    There is a multiboot (RPi Noobs, menu starts without issue and when I select RPi OS it starts OK).

    Boot to LE ends with a black screen and it's not even visible on network anymore.

    I'll try to investigate from RPi OS what happened with LE filesystem and if it's possible to recover it somehow.