2023-06-23 03:14:11 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
|
|
|
|
|
|
|
cat <<EOF >/storage/.config/profile.d/001-deviceconfig
|
|
|
|
# Device Features
|
|
|
|
DEVICE_FAKE_JACKSENSE=false
|
|
|
|
DEVICE_VOLUMECTL=true
|
|
|
|
DEVICE_AUDIO_MIXER="DAC"
|
|
|
|
DEVICE_PLAYBACK_PATH_SPK="SPK"
|
|
|
|
DEVICE_PLAYBACK_PATH_HP="HP"
|
|
|
|
DEVICE_BRIGHTNESS="128"
|
|
|
|
UI_SERVICE="weston.service"
|
|
|
|
|
2023-06-28 12:52:36 +00:00
|
|
|
DEVICE_TEMP_SENSOR=("/sys/devices/virtual/thermal/thermal_zone0/temp" "/sys/devices/virtual/thermal/thermal_zone1/temp")
|
2023-06-23 03:14:11 +00:00
|
|
|
|
|
|
|
# FREQ Governors
|
|
|
|
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0" "/sys/devices/system/cpu/cpufreq/policy4")
|
|
|
|
GPU_FREQ="/sys/devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu"
|
2023-06-24 13:52:13 +00:00
|
|
|
DMC_FREQ="/sys/devices/platform/memory-controller/devfreq/memory-controller/"
|
2023-06-23 03:14:11 +00:00
|
|
|
|
|
|
|
# Affinity
|
|
|
|
SLOW_CORES="taskset -c 0-3"
|
|
|
|
FAST_CORES="taskset -c 4-5"
|
|
|
|
|
|
|
|
# Volume Keys
|
|
|
|
#DEVICE_KEY_VOLUMEDOWN=
|
|
|
|
#DEVICE_KEY_VOLUMEUP=
|
2023-06-23 04:22:22 +00:00
|
|
|
DEVICE_VOL_MODIFIER="BTN_TR2"
|
2023-06-23 03:14:11 +00:00
|
|
|
EOF
|