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.

How-to start fans during early boot

Featured Replies

If you want the fans of your Helios64 to start spinning earlier, look no further. This will allow the fans to spin at a constant speed from the earliest stage of initrd until fancontrol is started by the system. My use-case is for full disk encryption and recovery in initramfs, sometimes I can have the machine powered on for quite a while before fancontrol starts. Or, if the boot process encounters an error the fans may never start, this prevents that.

 

Step 1: Tell initramfs to include the pwm-fan module

echo pwm-fan | sudo tee -a /etc/initramfs-tools/modules

 

Step 2: Create a new file at /etc/initramfs-tools/scripts/init-top/fan with the following contents:

#!/bin/sh

PREREQ=""
prereqs() {
        echo "$PREREQ"
}

case $1 in
prereqs)
        prereqs
        exit 0
        ;;
esac

. /scripts/functions

modprobe pwm-fan

for pwm in /sys/devices/platform/p*-fan/hwmon/hwmon*/pwm1; do
        echo 150 >$pwm
done

exit 0

Feel free to change the value 150 anywhere between 1-255, it decides how fast the fans will spin.

 

Step 3: Enable the fan script for inclusion in initramfs and update the initramfs image:

sudo chmod +x /etc/initramfs-tools/scripts/init-top/fan
sudo update-initramfs -u -k all

 

Step 4: Reboot and ejoy the cool breeze.

Nice approach and you right it is something we should implement in baseline. We will work on that.

Guest
This topic is now closed to further replies.

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.