2022-02-05 14:23:32 +00:00
|
|
|
# Device definition file for the Anbernic RG552
|
|
|
|
|
|
|
|
# Device Features
|
|
|
|
DEVICE_HAS_FAN=true
|
|
|
|
DEVICE_FAKE_JACKSENSE=false
|
|
|
|
DEVICE_VOLUMECTL=true
|
2022-02-10 11:01:46 +00:00
|
|
|
DEVICE_AUDIO_MIXER="DAC"
|
2022-02-05 14:23:32 +00:00
|
|
|
DEVICE_VOLUME_DEV="/dev/input/by-path/platform-volume-keys-event"
|
|
|
|
DEVICE_CONTROLLER_DEV="/dev/input/by-path/platform-singleadc-joypad-event-joystick"
|
|
|
|
DEVICE_BRIGHTNESS="50"
|
2022-03-28 21:12:31 +00:00
|
|
|
SPLASH_LOADER="plymouth"
|
2022-07-11 21:56:53 +00:00
|
|
|
UI_SERVICE="systemctl start emustation.service"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2022-03-05 17:33:17 +00:00
|
|
|
# Kernel Modules
|
|
|
|
DEVICE_INTERNAL_WIFI=true
|
|
|
|
DEVICE_WIFI_MODULE="8188fu"
|
|
|
|
|
2022-02-05 14:23:32 +00:00
|
|
|
# GPIOS
|
|
|
|
DEVICE_WIFI="113"
|
|
|
|
DEVICE_PWM_MOTOR="pwmchip3"
|
|
|
|
DEVICE_PWM_FAN="/sys/class/hwmon/hwmon0/pwm1"
|
|
|
|
#DEVICE_JACK=""
|
|
|
|
|
2022-02-27 03:14:27 +00:00
|
|
|
# FREQ Governors
|
2022-03-05 14:54:25 +00:00
|
|
|
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0" "/sys/devices/system/cpu/cpufreq/policy4")
|
|
|
|
GPU_FREQ="/sys/devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu"
|
|
|
|
DMC_FREQ="/sys/devices/platform/dmc/devfreq/dmc"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2022-02-27 03:14:27 +00:00
|
|
|
# No Max Performance for the small cores
|
2022-03-05 14:54:25 +00:00
|
|
|
NO_MAX_PERF="/sys/devices/system/cpu/cpufreq/policy0"
|
2022-02-27 03:14:27 +00:00
|
|
|
|
2022-02-05 14:23:32 +00:00
|
|
|
# Affinity
|
2022-02-12 03:40:39 +00:00
|
|
|
SLOW_CORES="taskset -c 0-3"
|
|
|
|
FAST_CORES="taskset -c 4-5"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# Volume Keys
|
|
|
|
#DEVICE_KEY_VOLUMEDOWN=
|
|
|
|
#DEVICE_KEY_VOLUMEUP=
|
|
|
|
|
|
|
|
# Controller
|
|
|
|
DEVICE_BTN_SOUTH="0" # B
|
|
|
|
DEVICE_BTN_EAST="1" # A
|
|
|
|
DEVICE_BTN_NORTH="2" # X
|
|
|
|
DEVICE_BTN_WEST="3" # Y
|
|
|
|
DEVICE_BTN_TL="4"
|
|
|
|
DEVICE_BTN_TR="5"
|
|
|
|
DEVICE_BTN_TL2="6"
|
|
|
|
DEVICE_BTN_TR2="7"
|
|
|
|
DEVICE_BTN_SELECT="8"
|
|
|
|
DEVICE_BTN_START="9"
|
|
|
|
DEVICE_BTN_MODE="10"
|
|
|
|
DEVICE_BTN_THUMBL="11"
|
|
|
|
DEVICE_BTN_THUMBR="12"
|
|
|
|
DEVICE_BTN_DPAD_UP="13"
|
|
|
|
DEVICE_BTN_DPAD_DOWN="14"
|
|
|
|
DEVICE_BTN_DPAD_LEFT="15"
|
|
|
|
DEVICE_BTN_DPAD_RIGHT="16"
|