Use usb serial strings as unique id if devices have them
diff --git a/cgminer.c b/cgminer.c
index 615efdd..fff7482 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -8928,6 +8928,10 @@ bool add_cgpu(struct cgpu_info *cgpu)
devices[total_devices++] = cgpu;
adjust_mostdevs();
+#ifdef USE_USBUTILS
+ if (cgpu->usbdev && !cgpu->unique_id && cgpu->usbdev->serial_string)
+ cgpu->unique_id = str_text(cgpu->usbdev->serial_string);
+#endif
return true;
}