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.

Radxa Rock 5B+ - Fan not working

Featured Replies

I am using :-

[ Ubuntu 24.04 (Noble)](https://dl.armbian.com/rock-5b-plus/Noble_vendor_server)

from :-

[Radxa Rock 5B Plus - Armbian](https://www.armbian.com/rock-5b-plus/) 

Trying to turn fan on on Radxa Rock 5B+

 

selecting the device using armbian-config actually makes it disappear

 

Quote

> cat usr/local/bin/test_fan_run.sh
#!/bin/bash echo "Trun on Fan"
echo 0 > /sys/devices/platform/fd8b0010.pwm/pwm/pwmchip0/export
echo 10000 > /sys/devices/platform/fd8b0010.pwm/pwm/pwmchip0/pwm0/period
echo 5000 > /sys/devices/platform/fd8b0010.pwm/pwm/pwmchip0/pwm0/duty_cycle
echo normal > /sys/devices/platform/fd8b0010.pwm/pwm/pwmchip0/pwm0/polarity
echo 1 > /sys/devices/platform/fd8b0010.pwm/pwm/pwmchip0/pwm0/enable

 

I am getting `line 3: echo: write error:Device or resource busy`

Edited by AaronNGray

  • Author

I have the default radxa image rock-5b-plus_bookworm_kde_b2 image with the fan working :-

https://github.com/radxa-build/rock-5b-plus/releases/download/rsdk-b2/rock-5b-plus_bookworm_kde_b2.output.img.xz

 

I/We need to try and find how this was built and the Linux DTD file the `uname -a` kernel reports as "Linux rock-5b-plus 6.1.84-1-rk2410" kernel.

 

rsetup :-

https://docs.radxa.com/en/rock5/rock5b/getting-started/interface-usage/fan

https://github.com/radxa-pkg/rsetup

 

 

 

 

Edited by AaronNGray

  • Author

From the Circuit Schematic it looks like the Radxa Rock 5B+ RK3588 GPIO0-C0 is the fan I/O, GPIO pin 24, if thats correct.

 

I will verify I can access this on the Armbian distro.

 

  • Author

@Igor - Can you have a look at this please.

 

I have retrieved the devicetree's for the radxa Debian release on which the fan works and my Armbian Ubuntu build using

 

dtc -I fs /sys/firmware/devicetree/base

uname -a

lsb_release -a

 

https://github.com/AaronNGray/radxa-rock-5b-plus

 

The 'pwm-fan' nodes are the same.

 

Edited by AaronNGray

51 minutes ago, Werner said:

No clue if that's the culprit

A phandle is a magical number assigned during DTB assembly, whose value is irrelevant as long as it references the same node with the phandle property.
The magic value can change when the structure changes because it is assigned arbitrarily; for example, by inserting an additional node.

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.