2022-05-27 22:33:28 +00:00
|
|
|
# Device definition file for the Anbernic RG503
|
|
|
|
|
|
|
|
# Device Features
|
|
|
|
DEVICE_HAS_FAN=false
|
|
|
|
DEVICE_FAKE_JACKSENSE=false
|
|
|
|
DEVICE_VOLUMECTL=true
|
2022-06-23 23:53:12 +00:00
|
|
|
DEVICE_POWER_LED=false
|
2022-05-27 22:33:28 +00:00
|
|
|
DEVICE_AUDIO_MIXER="Master"
|
2022-10-21 11:37:01 +00:00
|
|
|
DEVICE_PLAYBACK_PATH_SPK="SPK"
|
|
|
|
DEVICE_PLAYBACK_PATH_HP="HP"
|
2022-05-27 22:33:28 +00:00
|
|
|
#DEVICE_HEADPHONE_DEV=""
|
2022-10-02 09:27:42 +00:00
|
|
|
DEVICE_BRIGHTNESS="153"
|
2022-05-27 22:33:28 +00:00
|
|
|
SPLASH_LOADER="imagemagick"
|
2022-09-10 00:01:27 +00:00
|
|
|
UI_SERVICE="emustation.service"
|
2022-05-27 22:33:28 +00:00
|
|
|
|
|
|
|
# Kernel Modules
|
|
|
|
DEVICE_INTERNAL_WIFI=true
|
|
|
|
DEVICE_WIFI_MODULE="8821cs"
|
|
|
|
|
|
|
|
# GPIOS
|
|
|
|
DEVICE_WIFI="0"
|
|
|
|
#DEVICE_LED=""
|
|
|
|
DEVICE_PWM_MOTOR="pwmchip1"
|
|
|
|
#DEVICE_PWM_FAN=""
|
|
|
|
#DEVICE_JACK=""
|
|
|
|
|
|
|
|
# FREQ governors
|
2022-05-31 22:49:30 +00:00
|
|
|
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0")
|
|
|
|
GPU_FREQ="/sys/devices/platform/fde60000.gpu/devfreq/fde60000.gpu"
|
|
|
|
DMC_FREQ="/sys/devices/platform/dmc/devfreq/dmc"
|
2022-05-27 22:33:28 +00:00
|
|
|
|
|
|
|
# Affinity
|
|
|
|
SLOW_CORES="taskset -c 0-3"
|
|
|
|
FAST_CORES="${SLOW_CORES}"
|
|
|
|
|
|
|
|
# Volume Keys
|
|
|
|
DEVICE_KEY_VOLUMEDOWN=114
|
|
|
|
DEVICE_KEY_VOLUMEUP=115
|
2022-08-16 11:53:19 +00:00
|
|
|
DEVICE_VOL_MODIFIER="BTN_MODE"
|
2022-05-27 22:33:28 +00:00
|
|
|
|