2023-05-04 18:06:54 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
|
|
|
|
|
|
|
cat <<EOF >/storage/.config/profile.d/001-deviceconfig
|
|
|
|
# Device Features
|
|
|
|
DEVICE_VOLUMECTL=true
|
|
|
|
DEVICE_POWER_LED=false
|
|
|
|
DEVICE_PLAYBACK_PATH_SPK="SPK"
|
|
|
|
DEVICE_PLAYBACK_PATH_HP="HP"
|
2023-07-14 21:24:52 +00:00
|
|
|
DEVICE_FUNC_KEYA_MODIFIER="BTN_SELECT"
|
|
|
|
DEVICE_FUNC_KEYB_MODIFIER="BTN_START"
|
2023-05-04 18:06:54 +00:00
|
|
|
DEVICE_BRIGHTNESS="128"
|
2023-07-20 03:03:27 +00:00
|
|
|
DEVICE_BATTERY_LED_STATUS=true
|
|
|
|
DEVICE_PWR_LED_GPIO="77"
|
|
|
|
DEVICE_TEMP_SENSOR="/sys/devices/virtual/thermal/thermal_zone0/temp"
|
2023-05-04 18:06:54 +00:00
|
|
|
UI_SERVICE="weston.service"
|
|
|
|
|
|
|
|
# FREQ governors
|
|
|
|
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")
|
|
|
|
EOF
|