Skip to content

aardzhanov/naspi35_xscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fan control and work with power button for NASPi Gemini 3.5 and Raspberry Pi Debian

This script is control fan by cpu temperature and work with hardware button on Debian.

NASPi Gemini 3.5 description: https://wiki.geekworm.com/NASPi_3.5

Debian for Raspberry Pi: https://raspi.debian.net/

Prepare

  • add dtoverlay=pwm-2chan to /boot/firmware/config.txt
    (for persistent after reboot add to /etc/default/raspi-firmware-custom)
root@rpi:~# cat /etc/default/raspi-firmware-custom
dtoverlay=pwm-2chan
  • add iomem=relaxed to /boot/firmware/cmdline.txt

Instalation

sudo cp -f ./fan-rpi.py /usr/local/bin/
sudo cp -f ./pwr-rpi.py /usr/local/bin/
sudo cp -f ./x-c1-fan.service /lib/systemd/system/
sudo cp -f ./x-c1-pwr.service /lib/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable x-c1-fan
sudo systemctl start x-c1-fan
sudo systemctl enable x-c1-pwr
sudo systemctl start x-c1-pwr

Other resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages