commit
8fe9d05946
3 changed files with 3 additions and 4 deletions
|
@ -12,7 +12,7 @@ fi
|
|||
cat <<EOF >/storage/.config/profile.d/002-fancontrol
|
||||
### Fan control is not working yet.
|
||||
DEVICE_HAS_FAN=false
|
||||
DEVICE_PWM_FAN="$(find /sys/devices/platform/oxp-platform/hwmon -name pwm1)"
|
||||
DEVICE_TEMP_SENSOR="$(find /sys/devices/pci0000:00/ -name temp1_input | tr "\n" " ")"
|
||||
DEVICE_PWM_FAN="$(find /sys/devices/platform/oxp-platform -name pwm1)"
|
||||
DEVICE_TEMP_SENSOR="$(find /sys/devices/pci*/* -path "*/nvme" -prune -o -name temp1_input -print)"
|
||||
EOF
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ DEVICE_BRIGHTNESS="128"
|
|||
UI_SERVICE="weston.service"
|
||||
|
||||
# GPIOS
|
||||
DEVICE_TEMP_SENSOR=("/sys/class/hwmon/hwmon0/temp1_input")
|
||||
DEVICE_TEMP_SENSOR="$(find /sys/devices/pci*/* -path "*/nvme" -prune -o -name temp1_input -print)"
|
||||
|
||||
# FREQ Governors
|
||||
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0" "/sys/devices/system/cpu/cpufreq/policy2")
|
||||
|
|
|
@ -108,7 +108,6 @@ case $1 in
|
|||
volumectl stop
|
||||
bluetooth stop
|
||||
powerstate stop
|
||||
device_powersave stop
|
||||
modules stop
|
||||
quirks pre
|
||||
touch /run/.last_sleep_time
|
||||
|
|
Loading…
Reference in a new issue