Jump to content

Issue with PWM on Orange PI 5 Plus with Armbian


Kemal
Go to solution Solved by royk,

Recommended Posts

Dear Armbian Community,

I hope this message finds you well. I am encountering an issue with PWM on my Orange PI 5 Plus running Armbian. Despite my attempts, I am unable to utilize PWM via GPIO pins. Upon navigating to /sys/class/pwm, I can only see the pin designated for controlling the fan. The PWM pins on the GPIO are not visible.

I have successfully controlled GPIO pins using WiringPi and Go Lang Periph libraries; however, when attempting to use PWM via GPIO, I encounter the following error:

 

Quote

pwm is not supported via sysfs

 

I have also checked the “hardware setup” screen in armbian-config, where I can see two hardware components listed, but PWMs are not among them.

For your reference, here is the output of armbianmonitor -U: https://paste.armbian.com/uvejirijen.yaml

 

I would greatly appreciate any guidance or assistance on how to resolve this issue and enable PWM functionality on my Orange PI 5 Plus. Thank you very much in advance for your help.

Link to comment
Share on other sites

Dear @royk,

Thank you very much for your prompt response and assistance! Your suggestion indeed helped me resolve the issue with PWM on my Orange PI 5 Plus.

I also wanted to mention that I am using the Go Lang Periph library, and the error message “pwm is not supported via sysfs” originates from the library itself, indicating that PWM functionality has not been implemented. A clearer error message such as “not implemented” would have been more helpful.

 

Once again, I truly appreciate your help in resolving this matter.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines