Are you sure you are using the correct pwm "chip"?I have a fan fitted, and that accounts for pwmchip0.
Code:
$ ls -l /sys/class/pwmtotal 0lrwxrwxrwx 1 root root 0 Aug 7 13:50 pwmchip0 -> ../../devices/platform/axi/1000120000.pcie/1f0009c000.pwm/pwm/pwmchip0lrwxrwxrwx 1 root root 0 Aug 7 13:50 pwmchip1 -> ../../devices/platform/pwm_pio@12/pwm/pwmchip1Statistics: Posted by PhilE — Thu Aug 07, 2025 1:48 pm