From 47d6663bba233014dc6d418b94ad6161751f2176 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Mon, 2 May 2016 23:16:57 +0200 Subject: utils: introduce find_usbdebug.sh to help find USB debug ports Carl-Daniel made this script a long time ago but it never was picked up in the tree. Now that USB debugging is way more common it makes sense to include it. I have made a number of changes to the original version: * -h help text * check for running as root * enhanced readability (test -> if) * new execution flow and refined output that better shows the device(s) attached to the debug port(s) * handling of Intel rate-matching hubs * hiding of (bogus) error messages from lspci and lsusb Signed-off-by: Stefan Tauner Change-Id: Iadf775e990f5c5f91a28d57e3331d1f59acee305 Reviewed-on: https://review.coreboot.org/c/9305 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/find_usbdebug/description.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 util/find_usbdebug/description.md (limited to 'util/find_usbdebug/description.md') diff --git a/util/find_usbdebug/description.md b/util/find_usbdebug/description.md new file mode 100644 index 0000000000..1497603314 --- /dev/null +++ b/util/find_usbdebug/description.md @@ -0,0 +1 @@ +Help find USB debug ports -- cgit v1.2.3