summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2017-08-23 12:45:32 -0400
committerJeff Lane <jeffrey.lane@canonical.com>2017-08-23 12:45:32 -0400
commit4e9706be0cb994f04c15a1649738a3a08be394ef (patch)
tree9c9ef56e2833df906b20df291c1311b52b08ec04 /jobs
parent79b000aa33b350612927bfbeebcc84237f75d822 (diff)
Modify usb/detect to display all usb devices, rather than just 4, and list the bus info so it's easier to determine what device is on what hub lp: #1712435
Diffstat (limited to 'jobs')
-rw-r--r--jobs/usb.txt.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/usb.txt.in b/jobs/usb.txt.in
index 8fa63d7..be80593 100644
--- a/jobs/usb.txt.in
+++ b/jobs/usb.txt.in
@@ -14,7 +14,7 @@ command:
if [[ -v SNAP ]]; then
lsusb.py -f $SNAP/var/lib/usbutils/usb.ids 2>/dev/null | sed 's/.*\(ID .*\)/\1/' | head -n 4 || echo "No USB devices were detected" >&2
else
- lsusb 2>/dev/null | sed 's/.*\(ID .*\)/\1/' | head -n 4 || echo "No USB devices were detected" >&2
+ lsusb 2>/dev/null | sort || echo "No USB devices were detected" >&2
fi
_summary: Display USB devices attached to SUT
_description: Detects and shows USB devices attached to this system.