add official support for PowKiddy RGB20S

This commit is contained in:
Tiago Roque Medeiros 2023-02-27 05:43:59 -05:00 committed by GitHub
parent 4092034fac
commit 4e49766de5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -229,6 +229,11 @@ then
/usr/bin/batocera-internal-wifi disable-no-refresh
fi
if [ "$(cat /sys/firmware/devicetree/base/model)" == "Anbernic RG351MP" ]; then
amixer -c 0 cset iface=MIXER,name='Playback Path' SPK_HP
fi
# What to start at boot?
DEFE=$(get_ee_setting ee_boot)
@ -248,4 +253,4 @@ esac
# run custom_start ending scripts
/storage/.config/custom_start.sh after
clear > /dev/console
clear > /dev/console

View File

@ -15,7 +15,7 @@ PKG_TOOLCHAIN="manual"
makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
cp headphone_sense.sh ${INSTALL}/usr/bin
# cp headphone_sense.sh ${INSTALL}/usr/bin
cp battery.sh ${INSTALL}/usr/bin
cp odroidgoa_utils.sh ${INSTALL}/usr/bin
cp volume_sense.sh ${INSTALL}/usr/bin
@ -24,6 +24,6 @@ makeinstall_target() {
post_install() {
enable_service volume.service
enable_service headphones.service
# enable_service headphones.service
enable_service battery.service
}