From 9fefdb75b412fe31a9abe88e6c0e44955c96dc40 Mon Sep 17 00:00:00 2001 From: Muhammed Efe Cetin Date: Sat, 14 Sep 2024 19:38:53 +0300 Subject: [PATCH] nanopi-r6s: mark as supported --- config/boards/{nanopi-r6s.csc => nanopi-r6s.conf} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename config/boards/{nanopi-r6s.csc => nanopi-r6s.conf} (98%) diff --git a/config/boards/nanopi-r6s.csc b/config/boards/nanopi-r6s.conf similarity index 98% rename from config/boards/nanopi-r6s.csc rename to config/boards/nanopi-r6s.conf index 785c0fa0a64d..a22c1b85b006 100644 --- a/config/boards/nanopi-r6s.csc +++ b/config/boards/nanopi-r6s.conf @@ -17,8 +17,9 @@ function post_family_tweaks__nanopir6s_naming_udev_audios() { display_alert "$BOARD" "Renaming NanoPi R6S HDMI audio" "info" mkdir -p $SDCARD/etc/udev/rules.d/ + cat <<- EOF > $SDCARD/etc/udev/rules.d/90-naming-audios.rules - SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio"' + SUBSYSTEM=="sound", ENV{ID_PATH}=="platform-hdmi0-sound", ENV{SOUND_DESCRIPTION}="HDMI0 Audio" EOF }