distribution/packages/hardware/quirks/devices/Anbernic RG552/001-device_config
2024-03-27 03:51:29 +00:00

19 lines
635 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
cat <<EOF >/storage/.config/profile.d/001-device_config
# Device Features
DEVICE_FAKE_JACKSENSE="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_HAS_TOUCHSCREEN="true"
DEVICE_TEMP_SENSOR=("/sys/devices/virtual/thermal/thermal_zone0/temp" "/sys/devices/virtual/thermal/thermal_zone1/temp")
EOF