Commit dd2d625d6c3a69a9c510c08ca1d52f3de6f9ef68

ckolivas 2014-04-14T12:13:46

Make instructions associated with winusb error even more explicit

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/usbutils.c b/usbutils.c
index df724cf..a0cf1d2 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -1904,10 +1904,9 @@ static int _usb_init(struct cgpu_info *cgpu, struct libusb_device *dev, struct u
 #ifdef WIN32
 			// Windows specific message
 			case LIBUSB_ERROR_NOT_SUPPORTED:
-				applog(LOG_ERR,
-					"USB init, open device failed, err %d, "
-					"you need to install a WinUSB driver for %s",
-					err, devstr);
+				applog(LOG_ERR, "USB init, open device failed, err %d, ", err);
+				applog(LOG_ERR, "You need to install a WinUSB driver for %s", devstr);
+				applog(LOG_ERR, "And associate %s with WinUSB using zadig", devstr);
 				applog(LOG_ERR, "See README.txt file included for help");
 				break;
 #endif