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-11-14 01:24:03 +00:00
|
|
|
DEVICE_AUDIO_MIXER="DAC"
|
2022-10-21 11:37:01 +00:00
|
|
|
DEVICE_PLAYBACK_PATH_SPK="SPK"
|
|
|
|
DEVICE_PLAYBACK_PATH_HP="HP"
|
2022-09-01 20:42:06 +00:00
|
|
|
DEVICE_VOLUME_DEV="/dev/input/by-path/platform-volume-keys-event"
|
2022-10-02 09:27:42 +00:00
|
|
|
DEVICE_BRIGHTNESS="128"
|
2022-03-28 21:12:31 +00:00
|
|
|
SPLASH_LOADER="plymouth"
|
2022-09-10 00:01:27 +00:00
|
|
|
UI_SERVICE="weston.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"
|
2022-09-09 14:35:05 +00:00
|
|
|
DEVICE_PWM_FAN="/sys/class/hwmon/hwmon1/pwm1"
|
2022-12-19 22:14:32 +00:00
|
|
|
DEVICE_TEMP_SENSOR="/sys/devices/virtual/thermal/thermal_zone*/temp"
|
2022-02-05 14:23:32 +00:00
|
|
|
#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
|
|
|
|
|
|
|
# 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=
|
2022-09-01 23:05:20 +00:00
|
|
|
DEVICE_VOL_MODIFIER="BTN_TR2"
|
2022-02-05 14:23:32 +00:00
|
|
|
|