DeskPi-Team / deskpi

DeskPi Pro is the Ultimate Case Kit for Raspberry Pi 4 with Full Size HDMI/2.5 Hard Disk Support and Safe Power Button, It has QC 3.0 Power Supply inside and New ICE Tower Cooler inside.
GNU General Public License v3.0
143 stars 46 forks source link

fan will not restart automatically after lock/sleep - ubuntu 22.04 (64 bit) #154

Closed lfhoward closed 4 months ago

lfhoward commented 1 year ago

I don't know if anyone knows how to make the deskpi fan restart when the computer wakes up from sleep or lock mode? I have to go to the terminal and type deskpi-config and re-set it up to get it running again. This is on Ubuntu 22.04, Pi-4 8 GB, 64 bit. Thanks in advance.

lfhoward commented 1 year ago

Hi DeskPi users,

I and other users have found that the DeskPi fan service stops every 17-18 minutes (not only after waking up from lock mode, but all the time). Here is that thread:

https://github.com/DeskPi-Team/deskpi/issues/81

The workaround I used to keep the fan running is to add this line to sudo crontab -e and restart the service every 15 minutes:

/15 * systemctl restart deskpi

yoyojacky commented 4 months ago

execute following command in terminal :

sudo systemctl restart deskpi.service