So I’ve just bought a new PIronman case from Amazon, and assembled it. It all seems to work, including the SSD, apart from the WS LED strip and the OLED display, which (at boot) shows the expected temps etc for about 2 seconds, then switches to just display “POWER OFF”. I have powered the box using the connector at the back…
(image removed since I can only put one image per post as a new user)
I have tried multiple cables and multiple sources (including one directly from the wall-socket that provides up to 3A @5V).
I installed the software without any seeming problems:
raspberrypi:~/src/pironman $ sudo python3 install.py
pironman 1.6.2 install process starts:
Kernel Version:
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
OS Version:
No LSB modules are available.
Description: Debian GNU/Linux 11 (bullseye)
PCB info::
Revision : d03115
Model : Raspberry Pi 4 Model B Rev 1.5
- update apt... Done
- update pip3... Done
Install dependencies with apt-get
- apt --fix-broken... Done
- install net-tools... Done
- install python3-smbus... Done
- install i2c-tools... Done
- install libtiff5-dev... Done
- install libopenjp2-7-dev... Done
- install zlib1g-dev... Done
- install libfreetype6-dev... Done
- install libpng-dev... Done
- install libxcb1-dev... Done
- install build-essential... Done
- install python3-rpi.gpio... Done
- install python3-dev... Done
Install dependencies with pip3
- install rpi-ws281x... Done
- install pillow --no-cache-dir... Done
Config gpio
- enable i2c ... Done
- enable i2c in config... Done
- disable audio... Done
- config gpio-poweroff... Done
- config gpio-ir... Done
create WorkingDirectory
- create dir... Done
- copy service file... Done
- add excutable mode for service file... Done
- copy bin file... Done
- add excutable mode for bin file... Done
create config file
- copy config file... Done
check startup files
- enable the service to auto-start at boot... Done
- run the service... Done
Finished.
Whether to restart for the changes to take effect(Y/N):
y
reboot
I’ve checked that the jumper cap in step 3 is where it was supposed to be (although mine was already set correctly)…
… and I checked that the entry was made at the end of /boot/config.txt…
[all]
dtoverlay=gpio-poweroff,gpio_pin=26,active_low=0
It’s really frustrating because I can see it working every time I change the settings with ‘pironman’ and then it resets back to “POWER OFF” again. If I run…
raspberrypi:~ $ sudo python3 /opt/pironman/main.py
------------------------23/09/08 12:20:45------------------------
pironman version: 1.6.2
username: simon
config_file: /home/simon/.config/pironman/config.txt
Kernel Version:
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
OS Version:
No LSB modules are available.
Description: Debian GNU/Linux 11 (bullseye)
PCB info:
Revision : d03115
Model : Raspberry Pi 4 Model B Rev 1.5
23/09/08 12:20:45,597 [DEBUG] power_key_pin : 16
23/09/08 12:20:45,597 [DEBUG] fan_pin : 6
23/09/08 12:20:45,597 [DEBUG] rgb_pin : 12
23/09/08 12:20:45,597 [DEBUG] update_frequency : 0.5
23/09/08 12:20:45,597 [DEBUG] temp_unit : C
23/09/08 12:20:45,597 [DEBUG] fan_temp : 50.0
23/09/08 12:20:45,598 [DEBUG] screen_always_on : True
23/09/08 12:20:45,598 [DEBUG] screen_off_time : 60
23/09/08 12:20:45,598 [DEBUG] rgb_switch: True
23/09/08 12:20:45,598 [DEBUG] rgb_blink_speed : 50
23/09/08 12:20:45,598 [DEBUG] rgb_pwm_freq : 1000
23/09/08 12:20:45,598 [DEBUG] rgb_color : 0a1aff
23/09/08 12:20:45,598 [DEBUG]
23/09/08 12:20:45,647 [DEBUG] rgb_show
23/09/08 12:20:45,650 [DEBUG] rgb_show: breath
… the same thing happens (POWER OFF after 2 secs or so) and the script hangs until I press CTRL-C.
Any ideas ?