distribution/packages/hardware/quirks/devices/Anbernic RG552/001-deviceconfig

33 lines
1 KiB
Text
Raw Normal View History

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
2023-07-06 15:36:07 +00:00
DEVICE_FAKE_JACKSENSE=true
2023-06-23 03:14:11 +00:00
DEVICE_VOLUMECTL=true
DEVICE_AUDIO_MIXER="DAC"
2023-07-06 22:59:41 +00:00
DEVICE_PLAYBACK_PATH_SPK="1*"
DEVICE_PLAYBACK_PATH_HP="0*"
2023-06-23 03:14:11 +00:00
DEVICE_BRIGHTNESS="128"
2023-07-06 15:36:07 +00:00
DEVICE_JACK="8"
DEVICE_HEADPHONE_DEV="/dev/input/by-path/platform-es8316-sound-event"
2023-07-08 14:03:58 +00:00
DEVICE_HAS_HDMI=true
DEVICE_HDMI_GPIO="54"
2023-07-28 13:16:04 +00:00
DEVICE_WIFI="113"
2023-07-10 04:03:40 +00:00
DEVICE_BATTERY_LED_STATUS=true
2023-07-10 23:53:50 +00:00
DEVICE_PWR_LED_CONTROL=true
2023-06-23 03:14:11 +00:00
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"
EOF