Do you have a way to measure PWM signal? If so, do you get pulses from the 3rd PIN of this fan in your experiment? I would like some assurance that this fan is indeed a 3-pin PWM fan…lol
Update
@Hypnotize confirms the fan is indeed PWM fan in this post
I think it is really important that Frank and/or dangowrt gets your code into the actual Openwrt snapshot. I was really happy to hear about your progress. Some people will not find this chat, this is why it is so important to get it into the snapshot!
How I can update kernel on this one to 6.1.8 ?
Because :
Version: 6.1.86-r1
Size: ~180.00 KiB installed
Dependencies:
kernel VERSION INCOMPATIBLE
kmod-hwmon-core INSTALLED
Description
Kernel module for NVM Express solid state drives directly connected to the PCI or PCI Express bus.
The installed version of package kernel is not compatible, require 6.1.86~0dc73eff…-r1 while 6.1.82~c31a377a…-r1 is installed.
I’m using compiled image from Hypnotize. So exactly with PWM fan patch. But if I want keep this build and add as example nvme, I cannot due to compatibility.
Independ from this it is unrelated to cpu fan setup…you can link to the image and maybe hypnotize build an image to include the nvme part or upgrade to actual openwrt where you maybe can install additional packages
setup 1: at /BPI-R4-OPENWRT-V21.02/target/linux/mediatek/mt7988/base-files/etc/init.d/fanspeed
if [ ! -d /sys/devices/platform/pwm-fan ]; then
exit 0
fi
setup 2: at //home/jiang/BPI/BPI-R4-OPENWRT-V21.02/target/linux/mediatek/mt7988/base-files/sbin/fan-speed