Hello @
TeutonicTovarish and @
diederik!
Sorry to necro such an old thread, but I'm just running into this issue now. I bought the Quartz64 model A together with the
RockPro64 NAS case and the accompanying
fan (since these are both listed under the
Quartz64 model A accessories on the Pine64 store).
I have built Quartz64 and two 7200RPM 3.5" HDDs into the NAS case, but the disks in it are getting quite hot, currently around 47-50 degrees which is the upper recommended limit for my drives, so would love to get the fan running to get them at least a couple of degrees cooler
ATS relies on
PWM to control the fan as far as I was able to discern. However, on the Quartz64 running the latest DietPi image (version 9.6.1, running kernel 6.9.8) there is no PWM control present; both `/sys/class/hwmon/hwmon*/pwm*` and `/sys/devices/platform/pwm-fan` are missing.
This seems to correspond with what is written on the
Quartz64 development page, which states that a PWM driver needs to be written for the fan controller (a '`gp7101`' chip). The page was last updated on October 2023 however, so I don't know how up-to-date this information still is.
If anybody can point me to the right direction on how to enable control of the fan header on the Quartz64 model A that would be fantastic
Also tagging @
CounterPillow as he seemed to be involved in a lot of development on the Quartz64. Hope you don't mind!
Edit:
I've found the location to control the fan header: /sys/devices/platform/gpio_fan/hwmon/hwmon0/pwm1. By echoing the value of 255 to pwm1 the fan is now spinning.
Next up is discovering how to control the fan speed. Lower values than 255 only seem to make the fan spin for a shorter amount of time, not but not at a slower pace.