2022-03-26 02:28:08 +00:00
|
|
|
# Device definition file for the Anbernic RG351P
|
|
|
|
|
|
|
|
# Device Features
|
|
|
|
DEVICE_HAS_FAN=false
|
|
|
|
DEVICE_FAKE_JACKSENSE=true
|
|
|
|
DEVICE_VOLUMECTL=true
|
|
|
|
DEVICE_POWER_LED=true
|
|
|
|
DEVICE_AUDIO_MIXER="Playback"
|
2022-10-21 11:37:01 +00:00
|
|
|
DEVICE_PLAYBACK_PATH_SPK="SPK_HP"
|
|
|
|
DEVICE_PLAYBACK_PATH_HP="HP"
|
2022-05-06 02:02:16 +00:00
|
|
|
DEVICE_HEADPHONE_DEV="/dev/input/by-path/platform-rk817-sound-event"
|
2022-03-26 02:28:08 +00:00
|
|
|
DEVICE_BRIGHTNESS="70"
|
2022-03-28 21:12:31 +00:00
|
|
|
SPLASH_LOADER="imagemagick"
|
2022-09-10 00:01:27 +00:00
|
|
|
UI_SERVICE="emustation.service"
|
2022-03-26 02:28:08 +00:00
|
|
|
|
2022-03-28 20:06:00 +00:00
|
|
|
# Kernel Modules
|
|
|
|
DEVICE_INTERNAL_WIFI=true
|
|
|
|
DEVICE_WIFI_MODULE="MT7601U"
|
|
|
|
|
2022-03-26 02:28:08 +00:00
|
|
|
# GPIOS
|
|
|
|
DEVICE_WIFI="5"
|
|
|
|
DEVICE_LED="77"
|
|
|
|
DEVICE_PWM_MOTOR="pwmchip0"
|
|
|
|
#DEVICE_PWM_FAN=""
|
2022-05-06 02:02:16 +00:00
|
|
|
DEVICE_JACK="86"
|
2022-03-26 02:28:08 +00:00
|
|
|
|
|
|
|
# FREQ governors
|
2022-04-03 23:04:10 +00:00
|
|
|
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0")
|
|
|
|
GPU_FREQ="/sys/devices/platform/ff400000.gpu/devfreq/ff400000.gpu"
|
|
|
|
DMC_FREQ="/sys/devices/platform/dmc/devfreq/dmc"
|
2022-03-26 02:28:08 +00:00
|
|
|
|
|
|
|
# Affinity
|
|
|
|
SLOW_CORES="taskset -c 0-3"
|
|
|
|
FAST_CORES="${SLOW_CORES}"
|
|
|
|
|
|
|
|
# Volume Keys
|
|
|
|
#DEVICE_KEY_VOLUMEDOWN=
|
|
|
|
#DEVICE_KEY_VOLUMEUP=
|
2022-08-16 11:53:19 +00:00
|
|
|
DEVICE_VOL_MODIFIER="BTN_SELECT"
|
2022-03-26 02:28:08 +00:00
|
|
|
|