kimwida Posted September 5, 2020 Share Posted September 5, 2020 Armbianmonitor: http://ix.io/2wa4 Hi. I have been playing with relay and gpio and having a lot of fun. Now I want to use pwm to control a fan. So I edit "/boot/hw_intfc.conf". ..... intfc:pwm2=on intfc:pwm3=on .... And I reboot it. But I can't see "/sys/class/pwm/pwmchip2" and "/sys/class/pwm/pwmchip3" What else should I do?? 0 Quote Link to comment Share on other sites More sharing options...
0 piter75 Posted September 5, 2020 Share Posted September 5, 2020 3 hours ago, kimwida said: What else should I do?? Use the Armbian way Add the following line to /boot/armbianEnv.txt overlays=pwm2 pwm3 0 Quote Link to comment Share on other sites More sharing options...
0 kimwida Posted September 5, 2020 Author Share Posted September 5, 2020 I was confused that I should edit both "hw_intfc.conf" and "armbianEnv.txt". But only "armbianEnv.txt" adding the line works. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
Question
kimwida
Hi.
I have been playing with relay and gpio and having a lot of fun.
Now I want to use pwm to control a fan.
So I edit "/boot/hw_intfc.conf".
.....
intfc:pwm2=on
intfc:pwm3=on
....
And I reboot it. But I can't see "/sys/class/pwm/pwmchip2" and "/sys/class/pwm/pwmchip3"
What else should I do??
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.