Commit 80c781c06cd502f79504ca428045ff5258a28a92

Con Kolivas 2014-02-13T23:19:03

Add an option to the USB menu to list all known devices.

diff --git a/cgminer.c b/cgminer.c
index d32418c..4fe8c6b 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -5185,6 +5185,7 @@ retry:
 	wlogprint("[D]isable device\n");
 	wlogprint("[U]nplug to allow hotplug restart\n");
 	wlogprint("[R]eset device USB\n");
+	wlogprint("[L]ist all known devices\n");
 	//wlogprint("[B]lacklist device from cgminer\n");
 	wlogprint("Select an option or any other key to return\n");
 	logwin_update();
@@ -5273,6 +5274,9 @@ retry:
 		}
 		usb_reset(cgpu);
 		goto retry;
+	} else if (!strncasecmp(&input, "l", 1)) {
+		usb_all(0);
+		goto retry;
 	} else
 		clear_logwin();