distribution/packages/hardware/quirks/devices/Orange Pi 5/001-deviceconfig

24 lines
695 B
Text
Raw Normal View History

2023-06-06 01:54:48 +00:00
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2022-present Fewtarius
# Copyright (C) 2022-present Brooksytech
2023-06-06 01:54:48 +00:00
cat <<EOF >/storage/.config/profile.d/001-deviceconfig
DEVICE_VOLUMECTL=true
DEVICE_PLAYBACK_PATH_SPK="SPK"
DEVICE_PLAYBACK_PATH_HP="HP"
UI_SERVICE="weston.service"
DEVICE_BRIGHTNESS="128"
# GPIOS
DEVICE_TEMP_SENSOR="/sys/devices/virtual/thermal/thermal_zone*/temp"
# FREQ Governors
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0" "/sys/devices/system/cpu/cpufreq/policy4" "/sys/devices/system/cpu/cpufreq/policy6")
GPU_FREQ=("/sys/devices/platform/fb000000.gpu/devfreq/fb000000.gpu")
# Affinity
SLOW_CORES="taskset -c 0-3"
FAST_CORES="taskset -c 4-7"
2023-06-06 01:54:48 +00:00
EOF