39 lines
883 B
Text
39 lines
883 B
Text
# Device definition file for the Anbernic RG503
|
|
|
|
# Device Features
|
|
DEVICE_HAS_FAN=false
|
|
DEVICE_FAKE_JACKSENSE=false
|
|
DEVICE_VOLUMECTL=true
|
|
DEVICE_POWER_LED=false
|
|
DEVICE_AUDIO_MIXER="Master"
|
|
DEVICE_PLAYBACK_PATH_SPK="SPK"
|
|
DEVICE_PLAYBACK_PATH_HP="HP"
|
|
#DEVICE_HEADPHONE_DEV=""
|
|
DEVICE_BRIGHTNESS="128"
|
|
SPLASH_LOADER="imagemagick"
|
|
UI_SERVICE="emustation.service"
|
|
|
|
# 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
|
|
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"
|
|
|
|
# Affinity
|
|
SLOW_CORES="taskset -c 0-3"
|
|
FAST_CORES="${SLOW_CORES}"
|
|
|
|
# Volume Keys
|
|
DEVICE_KEY_VOLUMEDOWN=114
|
|
DEVICE_KEY_VOLUMEUP=115
|
|
DEVICE_VOL_MODIFIER="BTN_MODE"
|