haajee Posted June 14, 2020 Share Posted June 14, 2020 Hi all, I wanna try to use the hardware PWM on pin 7 of my orange pi one plus. Connect the fan. Toggle the SPI to enable, install wiring orangepi and all looks ok. But when in go to /sys/class/pwm i got a empty directory. I thought the should be a device pwmchip0 or something. I searched on the internet but can´t find a solution. This is what WiringOrangePi shows: Is there someone who knows what i do wrong or hwat i should do? Thank you! 0 Quote Link to comment Share on other sites More sharing options...
dolphs Posted June 15, 2020 Share Posted June 15, 2020 not entirely sure but imho as from kernel 5.7 SPI is supported. Suppose once megous is incorporated in the / your dev builds you can do another attempt 1 Quote Link to comment Share on other sites More sharing options...
haajee Posted June 21, 2020 Author Share Posted June 21, 2020 hmm, i thought it was just working a few time ago. 5.7 not yet available what i see? Just waiting what i read..? 0 Quote Link to comment Share on other sites More sharing options...
haajee Posted September 12, 2020 Author Share Posted September 12, 2020 I have installed kernel 5.8 but even /sys/class/pwm is also empty.... Someone more suggestions? 0 Quote Link to comment Share on other sites More sharing options...
martinayotte Posted September 13, 2020 Share Posted September 13, 2020 20 hours ago, haajee said: Someone more suggestions? PWM is always disabled by default in DT. You will need to decompile DTB into DTS, edit the DTS to place ' status = "okay"; ' in the PWM node, and recompile DTS into DTB ... 0 Quote Link to comment Share on other sites More sharing options...
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.