From 0d4f63f371c9a9dce4f4f5280b49e7cf01327827 Mon Sep 17 00:00:00 2001
From: HikariKnight <2557889+HikariKnight@users.noreply.github.com>
Date: Fri, 28 Apr 2023 09:50:29 +0200
Subject: [PATCH] Added note about missing controllers if they are in a
 separate IOMMU group (to reflect upstream fix for ls-iommu)

---
 lib/get_GPU_GROUP.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/get_GPU_GROUP.sh b/lib/get_GPU_GROUP.sh
index 5e3bb3c..4f0042c 100755
--- a/lib/get_GPU_GROUP.sh
+++ b/lib/get_GPU_GROUP.sh
@@ -16,7 +16,11 @@ Optionally it may also include:
 * GPU USB Type-C UCSI Controller
 * PCI Bridge (if they are in their own IOMMU groups)
 
-"
+NOTE: If the audio controller is missing, it might be in a separate IOMMU group, please run
+\"%s/utils/ls-iommu\" -i %s -rr -F \"pciaddr,subclass_name:,name,device_id,optional_revision\"
+and add the PCI address and deviceID to the config manually (this is not done automatically because the -rr flag is unreliable if the system has 2 cards from the same vendor)
+
+" "$SCRIPTDIR" "$1"
     echo "#------------------------------------------#"
     "$SCRIPTDIR/utils/ls-iommu" -i "$1" -r -F subclass_name:,name,device_id,optional_revision # | cut -d " " -f 1-5,6- | perl -pe "s/\[[0-9a-f]{4}\]: //"
     echo "#------------------------------------------#"