mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
Add more debugging info for when usb details don't match.
This commit is contained in:
parent
73f6a570f3
commit
95797821b4
@ -1587,6 +1587,7 @@ static int _usb_init(struct cgpu_info *cgpu, struct libusb_device *dev, struct u
|
|||||||
if (strcmp((char *)man, found->iManufacturer)) {
|
if (strcmp((char *)man, found->iManufacturer)) {
|
||||||
applog(LOG_DEBUG, "USB init, iManufacturer mismatch %s",
|
applog(LOG_DEBUG, "USB init, iManufacturer mismatch %s",
|
||||||
devstr);
|
devstr);
|
||||||
|
applog(LOG_DEBUG, "Found %s vs %s", man, found->iManufacturer);
|
||||||
bad = USB_INIT_IGNORE;
|
bad = USB_INIT_IGNORE;
|
||||||
goto cldame;
|
goto cldame;
|
||||||
}
|
}
|
||||||
@ -1607,6 +1608,7 @@ static int _usb_init(struct cgpu_info *cgpu, struct libusb_device *dev, struct u
|
|||||||
if (strcmp((char *)prod, found->iProduct)) {
|
if (strcmp((char *)prod, found->iProduct)) {
|
||||||
applog(LOG_DEBUG, "USB init, iProduct mismatch %s",
|
applog(LOG_DEBUG, "USB init, iProduct mismatch %s",
|
||||||
devstr);
|
devstr);
|
||||||
|
applog(LOG_DEBUG, "Found %s vs %s", prod, found->iProduct);
|
||||||
bad = USB_INIT_IGNORE;
|
bad = USB_INIT_IGNORE;
|
||||||
goto cldame;
|
goto cldame;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user