19 lines
521 B
Bash
19 lines
521 B
Bash
#!/bin/bash
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (C) 2023-present BrooksyTech (https://github.com/brooksytech)
|
|
|
|
cat <<EOF >/storage/.config/profile.d/001-deviceconfig
|
|
# Device Features
|
|
DEVICE_HAS_FAN=false
|
|
DEVICE_VOLUMECTL=true
|
|
DEVICE_POWER_LED=false
|
|
DEVICE_PLAYBACK_PATH_SPK="SPK"
|
|
DEVICE_PLAYBACK_PATH_HP="HP"
|
|
DEVICE_BRIGHTNESS="128"
|
|
UI_SERVICE="weston.service"
|
|
|
|
# FREQ governors
|
|
CPU_FREQ=("/sys/devices/system/cpu/cpufreq/policy0")
|
|
GPU_FREQ=("/sys/devices/platform/ff400000.gpu/devfreq/ff400000.gpu")
|
|
|
|
EOF
|