Merge pull request #1641 from fewtarius/dev

Bug fixes
This commit is contained in:
fewtarius 2023-06-27 20:45:53 -04:00 committed by GitHub
commit 8fe9d05946
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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")

View file

@ -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