aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2011-08-12 09:20:00 +0100
committerBryn M. Reeves <bmr@redhat.com>2011-08-12 09:20:00 +0100
commit4901160783e4f5475fc17428013513afaae70eeb (patch)
treeb754b3cd5ee9114181c505073a306d9daf511a35
parent3fc7dd30ff6d04d915409ba7c0d7c1e60d037c89 (diff)
downloadsos-4901160783e4f5475fc17428013513afaae70eeb.tar.gz
Fix collection of lsusb and add collection of -t and -v outputs
Resolves: bz691477
-rw-r--r--sos/plugins/hardware.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/hardware.py b/sos/plugins/hardware.py
index 2d70f774..9aaf8266 100644
--- a/sos/plugins/hardware.py
+++ b/sos/plugins/hardware.py
@@ -44,7 +44,9 @@ class hardware(sos.plugintools.PluginBase):
if self.policy().getArch().endswith("386"):
self.collectExtOutput("/usr/sbin/x86info -a")
- self.collectExtOutput("/sbin/lsusb")
+ self.collectExtOutput("/usr/sbin/lsusb")
+ self.collectExtOutput("/usr/sbin/lsusb -v")
+ self.collectExtOutput("/usr/sbin/lsusb -t 2>&1", suggest_filename = "lsusb_-t")
self.collectExtOutput("/usr/bin/lshal")
self.collectExtOutput("/usr/bin/systool -c fc_host -v")
self.collectExtOutput("/usr/bin/systool -c scsi_host -v")