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.

Heatsink fan control software not working

Featured Replies

Hi,

 

I installed Armbian Bookworm Minimal CLI on my Rock 5b and followed the instructions on this post to get the fan to work properly.  Specifically,

git clone https://github.com/lukaszsobala/fan-control-rock5b
cd fan-control-rock5b
make package
sudo dpkg -i fan-control*.deb
sudo systemctl enable fan-control
systemctl start fan-control

 

However, the software won't start.  When trying to run it manually, I get,

$ sudo /usr/sbin/fan-control 
pwmchip: 0
gpio: 0
pwm-period: 20000
temp-map:
  speed: 0, temp: 20, duty: 8400, duration: 10
  speed: 1, temp: 50, duty: 9600, duration: 2
  speed: 2, temp: 60, duty: 10800, duration: 2
  speed: 3, temp: 70, duty: 16000, duration: 5
Failed to export GPIO, No such file or directory
Failed to export GPIO, No such file or directory
Failed to export GPIO, No such file or directory
Failed to export GPIO, No such file or directory
Failed to export GPIO, No such file or directory
Failed to export GPIO, No such file or directory
Failed to init GPIO

 

Looking at the source, I think it is trying to access the file

/sys/devices/platform/fd8b0010.pwm/pwm/pwmchip0/pwm0/export

(among others.) That directory exists only so far as

/sys/devices/platform/fd8b0010.pwm/pwm/pwmchip0

and doesn't contain pwm0, let alone pwm0/export.

 

Listing that directory, I have

$ ls -al
total 0
drwxr-xr-x 3 root root    0 Jul 10 15:21 .
drwxr-xr-x 3 root root    0 Jul 10 15:21 ..
lrwxrwxrwx 1 root root    0 Jul 10 16:48 device -> ../../../fd8b0010.pwm
--w------- 1 root root 4096 Jul 10 15:21 export
-r--r--r-- 1 root root 4096 Jul 10 16:48 npwm
drwxr-xr-x 2 root root    0 Jul 10 16:48 power
lrwxrwxrwx 1 root root    0 Jul 10 15:21 subsystem -> ../../../../../class/pwm
-rw-r--r-- 1 root root 4096 Jul 10 15:21 uevent
--w------- 1 root root 4096 Jul 10 15:21 unexport

 

I believe this Armbian image doesn't include any firmware, right?  So, could I be missing required firmware? Or, could the needed file be elsewhere?

 

Thanks for any help,
Richard

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.