I have an SOQuartz and a Pine64 Model A carrier board, and I'm slowly getting it to work. After CPU temperatures soared to 71°C on moderate CPU load, I found a CM4 heatsink from Waveshare with a 12V fan, apparently this model:
https://www.waveshare.com/product/cm4-fan-3007-b.htm
I was able to get the fan running by using a couple of DuPont wires to plug it into the 12V power header beside the power jack on the Model A board, and while thermal problems are now no longer an issue (temperatures peak at 54°C even when doing a make -j4 compile of the Linux kernel) I'm wondering if I could plug the other two pins on the fan somewhere and get the fan speed adaptively controlled instead of having it on all the time. It seems to be a typical PWM fan with the standard colours for the wires. I can see from the Model A schematic that there's apparently a PWM to I2C chip that is probably suitable for this purpose, but it is unclear where it actually terminates. The Model A board picture on the Pine64 Wiki shows a four-pin unshrouded header on the top left , but I instead have a two-pin JST header there with + and - indicators printed beside it on the board. Any help on how I can do this, including any software I might need to do fan control?
https://www.waveshare.com/product/cm4-fan-3007-b.htm
I was able to get the fan running by using a couple of DuPont wires to plug it into the 12V power header beside the power jack on the Model A board, and while thermal problems are now no longer an issue (temperatures peak at 54°C even when doing a make -j4 compile of the Linux kernel) I'm wondering if I could plug the other two pins on the fan somewhere and get the fan speed adaptively controlled instead of having it on all the time. It seems to be a typical PWM fan with the standard colours for the wires. I can see from the Model A schematic that there's apparently a PWM to I2C chip that is probably suitable for this purpose, but it is unclear where it actually terminates. The Model A board picture on the Pine64 Wiki shows a four-pin unshrouded header on the top left , but I instead have a two-pin JST header there with + and - indicators printed beside it on the board. Any help on how I can do this, including any software I might need to do fan control?