From db3b7c18caa9c7fb9b77aaae9073e9e2a745ccfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Iwanicki?= Date: Tue, 12 Nov 2024 16:25:33 +0100 Subject: [PATCH] dasharo-hcl-report: add /sys/kernel/debug/dri/*/*_vbt to logs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MichaƂ Iwanicki --- reports/dasharo-hcl-report | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reports/dasharo-hcl-report b/reports/dasharo-hcl-report index 59a56084..1a5e82b0 100755 --- a/reports/dasharo-hcl-report +++ b/reports/dasharo-hcl-report @@ -259,6 +259,13 @@ intelmetool -m > logs/intelmetool.log 2> logs/intelmetool.err.log update_result "ME information" logs/intelmetool.err.log printf '##################################################### |\r' +# echo "Getting graphics VBT" +files=$(find /sys/kernel/debug/dri -maxdepth 2 -name "*_vbt") +for file in $files; do + # copy $file to logs/dri__ + cp "$file" "logs/dri_$(basename "$(dirname "$file")")_$(basename "$file")" +done +update_result "Graphics VBT" 0 UNKNOWN printf '####################################################### |\r' printf '######################################################### |\r' printf '########################################################### |\r'