diff options
author | Stefan Tauner <stefan.tauner@gmx.at> | 2016-05-02 23:16:57 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-12-19 10:21:32 +0000 |
commit | 47d6663bba233014dc6d418b94ad6161751f2176 (patch) | |
tree | ef0dd9194c847142522ac74f7a952a25edbd8dde /util/find_usbdebug/description.md | |
parent | 43825e89607db06ac96926ab9872887980fb2ad3 (diff) | |
download | coreboot-47d6663bba233014dc6d418b94ad6161751f2176.tar.xz |
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 <stefan.tauner@gmx.at>
Change-Id: Iadf775e990f5c5f91a28d57e3331d1f59acee305
Reviewed-on: https://review.coreboot.org/c/9305
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/find_usbdebug/description.md')
-rw-r--r-- | util/find_usbdebug/description.md | 1 |
1 files changed, 1 insertions, 0 deletions
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 |