[RPi4B] Argon One Case Shutdown

  • 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....

  • I have not yet made the release package for 1.1.5 available, as I am still busy converting the PRs to integrate gpiod into the official system-tools addon instead of the rpi-tools addon. Until their merge, I saw no technical necessity to use 1.1.5. ;)

  • The system-tools addon PRs (libgpiod) were applied today and currently building, so it could be available in the next days. Many thanks to the kindly and helpful support of the LE maintainers.

    Because I was asked several times for that and I think now it's time for, some minutes ago I opened 2 pull request to possibly add the argonforty-device addon to the LibreELEC repo.

    argonforty-device: add package (support for the Argon ONE cases) by HungerHa · Pull Request #9662 · LibreELEC/LibreELEC.tv
    During the continuous development of the ArgonForty Device Configuration add-on I was asked several times, like: “Why is the addon not installable…
    github.com
    [le12] argonforty-device: add package (backport of PR9662) by HungerHa · Pull Request #9663 · LibreELEC/LibreELEC.tv
    Backport of #9662 During the continuous development of the ArgonForty Device Configuration add-on I was asked several times, like: “Why is the addon not…
    github.com
  • Must say a word .

    Very professional 👍👍

    This project was developed really fast , clean code, and the roadmap in the libreelec repo is very important.

    At 8.00 a.m system tools was updated and all fully working.

    This is my opinion. Must thank you for all time you spent here. 👍

  • Hi i was wondering what gpiod support could do in this app... maybe if temp is highter than xxx close some pins ?

    i didint really use gpiod on raspberry i was just thinking about usage of this surly interesting part