Fan (3705) on Vim2 v14 not working

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.

Any ideas?

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.

I am using * VIM2_Ubuntu-server-bionic_Linux-4.9_arm64_SD-USB_V1.0.7-210625

Then someone from the khadas team needs to answer this.

@hyphop @numbqq

@Frank @numbqq Anyone?

Hello @cldan

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 

Disable FAN:

$ echo 0 | sudo tee /sys/class/fan/level 
1 Like

All of those commands work. The fan now responds to the fan.sh script… Thank you.