distribution/packages/hardware/quirks/devices/Anbernic RG552/001-device_config

19 lines
633 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
cat <<EOF >/storage/.config/profile.d/001-device_config
# Device Features
DEVICE_FAKE_JACKSENSE="true"
DEVICE_VOLUMECTL="true"
DEVICE_AUDIO_MIXER="DAC"
DEVICE_PLAYBACK_PATH_SPK="1*"
DEVICE_PLAYBACK_PATH_HP="0*"
DEVICE_BRIGHTNESS="128"
DEVICE_HEADPHONE_DEV="/dev/input/by-path/platform-es8316-sound-event"
DEVICE_HAS_HDMI="true"
DEVICE_BATTERY_LED_STATUS="true"
DEVICE_PWR_LED_CONTROL="true"
DEVICE_TEMP_SENSOR=("/sys/devices/virtual/thermal/thermal_zone0/temp" "/sys/devices/virtual/thermal/thermal_zone1/temp")
EOF