sos/sos-bz691477-fix-lsusb-and-add-t-and-v.patch

15 lines
819 B
Diff
Raw Normal View History

diff -up sos-2.2/sos/plugins/hardware.py.orig sos-2.2/sos/plugins/hardware.py
--- sos-2.2/sos/plugins/hardware.py.orig 2011-08-12 22:00:08.588682606 +0100
+++ sos-2.2/sos/plugins/hardware.py 2011-08-12 22:12:23.255788988 +0100
@@ -44,7 +44,9 @@ class hardware(sos.plugintools.PluginBas
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")