--- a/backend/usb-libusb.c
+++ b/backend/usb-libusb.c
@@ -1098,6 +1098,8 @@
   if (libusb_open(printer->device, &printer->handle) < 0)
     return (-1);
 
+  printer->usblp_attached = 0;
+
   if (verbose)
     fputs("STATE: +connecting-to-device\n", stderr);
 
