How to read fan speed from fan itself (FAN_TACH)

Hi Sir/Madam,

I can set pwm to change fan speed by “/sys/devices/pwm-fan/target_pwm”

But how to monitor current fan speed that feedback from fan_tach pin.
cur_pwm is also only Xavier pwm output information (even if I don’t connect a fan, it still has value), could we get fan speed that is from fan itself.

I check the fan speed should be monitored by “FAN_TACH” pin, how could I get current fan speed information?

Thank you

You could use below node for the fan rpm.

cat /sys/devices/generic_pwm_tachometer/hwmon/hwmon1/rpm

Hi WayneWWW,

Thank you