distribution/packages/hardware/quirks/devices/Anbernic RG552/020-fan_control

9 lines
286 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
cat <<EOF >/storage/.config/profile.d/020-fan_control
DEVICE_HAS_FAN="true"
DEVICE_PWM_FAN="/sys/class/hwmon/hwmon1/pwm1"
DEVICE_FAN_INPUT="/sys/class/hwmon/hwmon1/pwm1"
EOF