Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Issue with PWM on Orange PI 5 Plus with Armbian

Featured Replies

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.

Solved by royk

  • Solution

@Kemal You need to activate them by enabling the correct pwm. See /boot/dtb/rockchip/overlay/

Add the one(s) you need to /boot/armbianEnv.txt at overlays=

For example:

overlay_prefix=rk3588

overlays=pwm1-m1 pwm2-m1

 

You can find the right pwm numbers in the manual

  • Author

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.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.