Collect output of lspci -vn (numeric)
The output of "lspci -v" can be ambiguous, for example when the
pci.ids database contains entries for different variants of a chip
but supply the same name. Since the output of lspci is exclusive
(without the -n flag the numeric values are never shown if a
database entry exists, and with the -n flag the database entry
strings are never shown), we need the output in both forms to
gain a full picture.
BUG=None
TEST=Manual, ran it
Change-Id: I04fee961e197f1285c1cd2ac468968b4dcfaa8f6
Reviewed-on: https://chromium-review.googlesource.com/189062
Reviewed-by: Kris Rambish <krisr@chromium.org>
Commit-Queue: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
diff --git a/generate_logs b/generate_logs
index 9c2fc0b..04b85f5 100755
--- a/generate_logs
+++ b/generate_logs
@@ -45,6 +45,10 @@
sudo lspci -v > ${log_dir}/lspci_output.txt &&
echo "Obtaining lspci information"
+# Run lspci in numeric mode
+sudo lspci -vn > ${log_dir}/lspci_numeric_output.txt &&
+ echo "Obtaining lspci numeric information"
+
# Run iw list
sudo iw list > ${log_dir}/iw_list_output.txt &&
echo "Obtaining network interface information"