[RPi4B] Argon One Case Shutdown

  • Version 1.1.2 released:

    • a few dormant small errors corrected, wasn't functionally relevant currently
    • option to reassign the double tap to shutdown added
  • Thanks for this addon. I have installed that on LE12 on my Rpi4B. But the fan does not spin up. The power off / restart function of the button does not work as well. It seems to me, that there is no service running for controlling that. Should there be a service? I am not sure.

    What I see in the journal are a lot of these messages:

    Dec 13 12:38:11 LibreELEC kernel: i2c-bcm2835 fe804000.i2c: i2c transfer timed out
    Dec 13 12:39:13 LibreELEC kernel: i2c-bcm2835 fe804000.i2c: i2c transfer timed out
    Dec 13 12:40:14 LibreELEC kernel: i2c-bcm2835 fe804000.i2c: i2c transfer timed out
    Dec 13 12:41:15 LibreELEC kernel: i2c-bcm2835 fe804000.i2c: i2c transfer timed out

    Any help is appreciated.

    Cheers

    Thomas

  • Hi QBJack ,

    please can you provide the current content of your config.txt

    cat /flash/config.txt

    and try if the MCU of the case is detected?

    i2cdetect -y 1

    The output should look as follows, where 0x1a is the address assigned by the MCU:

    Code
    LibreELEC:~ # i2cdetect -y 1
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:                         -- -- -- -- -- -- -- -- 
    10: -- -- -- -- -- -- -- -- -- -- 1a -- -- -- -- -- 
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
    70: -- -- -- -- -- -- -- --

    If the MCU is not detected but the I2C working without error messages, please power cycle the case (unplug the power supply for some seconds) and try again afterwards.

    A separate service shouldn't be running, The addon is running as a thread of the KODI process. You can/should enable the debug logging to get more insights what happens with the addon and please provide a link to the log:

    https://wiki.libreelec.tv/support/log-files

    If you have previously experimented with other solutions (argon1.sh /argonone.service ...) on your current LibreELEC installation, you should make sure that there are no fragments left that could conflict with the addon.

  • Version 1.1.4 released:

    • added gpiod support
    • use gpiod if available, as workaround against the 30 seconds delay on restart/stop of KODI with LE12+ -> reduced to 5-6 seconds
    • regression with LE12/13: properly shutdown via power button of remote control possible again

    :!:This change will only take effect if rpi-tools are updated as well. Please read the known issue part, if you can't wait... ;)



    Hi firefox ,

    that was really fast. To get a feedback before publishing the release package. :D

  • Thanks! Will the updated rpi-tools come to LibreElec Updates?

    Maybe I was to ambigous or you just overlooked the known issue part of the documentation at my GitHub repo. ;) Some days ago I started this thread and provided the required changes, which are the base of my updated rpi-tools packages.

    HarryH
    December 10, 2024 at 8:45 PM

    The workflow is started, and the 2 open pull request were already tagged. As it depends on the available time of the LE maintainers, it may take some time until someone is in the mood to review and finally merge them. Afterwards it should be general available via LE addon updates and its not required anymore to download/install the rpi-tools additional from my repo to use gpiod.

    Edited once, last by HarryH (December 21, 2024 at 12:55 PM).

  • Tested on pi5 8g argon v3 nvme. really great. button works perfect.

    tested on rpi4 8g argon v2 sata nvme . was running 1.1.2 before. fan ok . button fantastic. no delay on reboot or shutdown.

    I cant say much more on curves or so because argon cases and LE will never pass 40 celsius.

    With thermal paste instead of thermal pad you get some points less. no way to go over 39.

    Thanks, really a good job. believe nothing else is needed, it's very well done....