Jump to content

Recommended Posts

Posted (edited)

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
Posted
2 hours ago, e.j. Frölich said:

I use the desktop version


HW (features are determined by kernel used in the image) related issues are shared among all variants, desktop, cli, minimal, Debian or Ubuntu. 

Posted (edited)

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
Posted

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.

 

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