zgoda_j Posted July 14, 2016 Share Posted July 14, 2016 In my /boot/config for 3.4.112 I have CONFIG_SUNXI_PWM=y yet there is no /sys/class/pwm-sunxi directory. Do I need to do anythig special to control onboard PWM? This is stock Armbian 5.16 with legacy kernel. Link to comment Share on other sites More sharing options...
zador.blood.stained Posted July 14, 2016 Share Posted July 14, 2016 You probably need to add pwm0_para section to your FEX file like this [pwm0_para] pwm_used = 1 pwm_period = 20 pwm_duty_percent = 50 Don't forget to recompile it to .bin afterwards. Link to comment Share on other sites More sharing options...
zgoda_j Posted July 14, 2016 Author Share Posted July 14, 2016 Thanks, that was the missing part. Link to comment Share on other sites More sharing options...
Recommended Posts