Well, not tested it as I have no time to spare atm, but should be simple:
1) Use the overlay provided here viewtopic.php?p=2196091&hilit=pi4+fan#p2182625
2)The target in fragment3 needs ro be changed to match your drive.
To stay with the nvme example3) define your fan curve - cooling levels in fragment2 for your fan speed settings and adjust settings in fragment4 (trip temperatures, hysteresis)
4) compile the overlay, add it to your config.txt
5) fan's PWM input needs to be connected to GPIO18 for the settings used in the overlay (you can change that to fit yoir needs. Any of the 4 HW PWM outputs will do).
6) power on your Pi -> your drive fan should work now.
P.s.will test that if time permits but I'm confident it will just work like that.
P.s.s. You may be inexperienced but you have an unusual request. That's why there is no out-of-the-box solution!
1) Use the overlay provided here viewtopic.php?p=2196091&hilit=pi4+fan#p2182625
2)The target in fragment3 needs ro be changed to match your drive.
To stay with the nvme example
Code:
...fragment@3 {target = <&nvme>...
4) compile the overlay, add it to your config.txt
5) fan's PWM input needs to be connected to GPIO18 for the settings used in the overlay (you can change that to fit yoir needs. Any of the 4 HW PWM outputs will do).
6) power on your Pi -> your drive fan should work now.
P.s.will test that if time permits but I'm confident it will just work like that.
P.s.s. You may be inexperienced but you have an unusual request. That's why there is no out-of-the-box solution!
Statistics: Posted by aBUGSworstnightmare — Tue Aug 20, 2024 4:05 pm