Thanks still waiting for another bad case to happen, I dont use this box every day. When it does happen I will post the logs.
[RPi4B] Argon One Case Shutdown
-
myshit -
July 31, 2023 at 9:01 PM -
Thread is Resolved
-
-
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 👍👍👍
-
Version 1.1.3 released:
- added Dutch translation (thanks to emv-nl)
- prevention of unnecessary I2C messages for updating the fan speed
-
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 outAny help is appreciated.
Cheers
Thomas
-
QBJack Do you have I2C activated at config.txt?
-
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:CodeLibreELEC:~ # 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. -
thanks for new release !
-
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. -
Thanks! Will the updated rpi-tools come to LibreElec Updates?
-
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.
PostFeature request: RPi-Tools with official Python bindings for libgpiod
Are there a chance that the Python bindings for libgpiod are official included into the virtual rpi-tools addon? libgpiod is already part of the system-tools addon, only the python bindings are currently missing.
https://github.com/brgl/libgpiod/tree/v2.2.x/bindings/python
https://pypi.org/project/gpiod/#description
Why?
Since LibreELEC 12 gpiozero is the main module intented to interact with the GPIO pins. But there are some ugly problems:- gpiozero takes to long to terminate (killed by KODI after 5
HarryHDecember 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.
-
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....
-