July 25, 2022, 9:29pm
The Fan (3705) on Vim2 v14 works when i put 5v on it from a power supply but when i plug it into my board and do fan.sh high it doesn’t spin. I measured the voltage to the fan solder points behind the sticker and confirmed it is getting 5V but it doesn’t spin.
Its a pwm controlled fan you need to check if it have khadas mcu support in the os you’re using.
You did not mention the os you’re using it with. If you’re using os with mainline linux kernel then the khadas mcu and fan nodes are missing for vim2 it still using gpio fan node in upstream kernel.
July 27, 2022, 10:57pm
Then someone from the khadas team needs to answer this.
August 16, 2022, 1:45am
Could you please try the commands below ?
Enable FAN manual mode:
$ echo 1 | sudo tee /sys/class/fan/enable
$ echo 0 | sudo tee /sys/class/fan/mode
Set FAN level:
$ echo 1 | sudo tee /sys/class/fan/level
$ echo 2 | sudo tee /sys/class/fan/level
$ echo 3 | sudo tee /sys/class/fan/level
$ echo 0 | sudo tee /sys/class/fan/level
August 16, 2022, 4:31pm
All of those commands work. The fan now responds to the fan.sh script… Thank you.