-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent raspberry pi 5 from going to power-saving or sleep mode #32
Comments
I have the same problem. I'm using a Raspberry Pi 4 2GB RAM with Raspberry Pi OS with a desktop 32bit. After 6-7 hours chromium exits to the desktop. Any idea? 10X |
For me, after ~8hrs the browser randomly crashes/quits, but the system stays ON. It doesn't go into sleep mode & screen stays on as well. I have tried looking here and there - to understand why is this uncanny incident so deterministic but found no good answer that made sense. Keeping it open for further investigation. Needs to be patched ASAP. |
Hi, i've found same problem here, and may be some solutions. https://www.reddit.com/r/raspberry_pi/comments/1fhrfba/kiosk_mode_stops_after_roughly_6_or_7_hours/ |
Seems like it could be a memory leak? Large website, poor feature? |
Hey thank link also has a keepalive in it. We could probably adapt that here. |
There's this to maybe help. Here's the relevant parts; (https://diode.io/blog/running-forever-with-the-raspberry-pi-hardware-watchdog) Enter Watchdog So if you’re running your Raspberry Pi as a remote sensor reachable remotely from any place in the world with Diode network, then we recommend to enable this hardware watchdog for your devices as well. It’s done in few steps directly on a terminal on your Pi:
sudo su
sudo apt-get update sudo su sudo systemctl enable watchdog Watchdog service running Now next time your Raspberry Pi freezes, the hardware watchdog will restart it automatically after 15 seconds. If you want to test this you can try running a fork bomb on your shell: sudo bash -c ':(){ :|:& };:' If you got any troubles with your Pi or running Diode on the Pi feel free to reach out to us on Telegram and ask questions directly there. And if you want to learn more about Diode be sure to check out the Diode FAQs. Update: July 21st sudo su |
@andiohn fantastic research! Regardless of whether hardware lockdown is the main reason for the crash, this is a good fix to add to PiOSK anyway (improves operation reliability & uptime, without any downside). The reason I'm not entirely sure if this is the reason, cause the symptoms don't match. I am able to SSH into & otherwise use the device fine. I can even run the script to start the KiOSK mode manually as well. Had it been the issue described by the article, all these shouldn't be possible. Maybe I'm having a different issue - cause I am yet to face a hardware lock down, as it's described in the blog. Out of curiosity (as you've already done the main heavy-lifting) would you be willing to submit a patch for this? The steps will just go into the setup script. And don't worry, I'll help you along the way. |
After the screen has been on for a few hours it goes in a power-saving mode or sleep mode and turns black.
I'm using a Raspberry Pi 5 with Raspberry Pi OS with desktop Debian 64bit.
Do you have any suggestions how to prevent this?
The text was updated successfully, but these errors were encountered: