Jetson nano fan not wanting to turn off

Hello! I have seen a topic here on how to turn on and off the fan for the jetson nano. The fan turns on great, but the command for turning off the fan does not work. It gives me this error : sh: 1: cannot create sys/devices/pwm-fan/target-pwm: Directory nonexistent Here are the commands :
for turning on :
sudo sh -c echo 255 > /sys/devices/pwm-fan/target-pwm
for turning off:
sudo sh -c echo 0 > /sys/devices/pwm-fan/target-pwm

Thank you.


may I know which JetPack release you’re working with, you may had sysnode of hw monitor as below in the latest release.
for example,

$ cat /sys/class/hwmon/hwmon*/name

please have a try to send pwm setting via hw monitor, i.e. echo 0 > /sys/class/hwmon/hwmon1/target_pwm