Index: uspace/drv/bus/usb/ehci/ehci_batch.c
===================================================================
--- uspace/drv/bus/usb/ehci/ehci_batch.c	(revision 26d6f73c8b4157f1c1ca6db4cb55e21b36b4372b)
+++ uspace/drv/bus/usb/ehci/ehci_batch.c	(revision 6ef69e93fd6f9d74c0fae5d076b3d91463a06d6b)
@@ -38,4 +38,5 @@
 #include <mem.h>
 #include <stdbool.h>
+#include <str_error.h>
 
 #include <usb/usb.h>
@@ -159,4 +160,8 @@
 	batch_setup[usb_batch->ep->transfer_type](ehci_batch, dir);
 
+	usb_log_debug("Batch %p %s " USB_TRANSFER_BATCH_FMT " initialized.\n",
+	    usb_batch, usb_str_direction(dir),
+	    USB_TRANSFER_BATCH_ARGS(*usb_batch));
+
 	return ehci_batch;
 dispose:
@@ -222,7 +227,8 @@
 			    -= td_remain_size(ehci_batch->tds[i]);
 		} else {
-			usb_log_debug("Batch %p found error TD(%zu):%08x.\n",
+			usb_log_debug("Batch %p found error TD(%zu):%08x (%d).\n",
 			    ehci_batch->usb_batch, i,
-			    ehci_batch->tds[i]->status);
+			    ehci_batch->tds[i]->status,
+			    ehci_batch->usb_batch->error);
 			/* Clear possible ED HALT */
 			qh_clear_halt(ehci_batch->qh);
@@ -236,5 +242,6 @@
 	ehci_batch->qh->next = LINK_POINTER_TERM;
 	ehci_batch->qh->current = LINK_POINTER_TERM;
-	usb_log_debug("Batch %p complete.\n", ehci_batch->usb_batch);
+	usb_log_debug("Batch %p complete: %s", ehci_batch->usb_batch,
+	    str_error(ehci_batch->usb_batch->error));
 
 	return true;
@@ -321,11 +328,4 @@
 	    ehci_batch->tds[td_current]->next,
 	    ehci_batch->tds[td_current]->alternate);
-
-	usb_log_debug(
-	    "Batch %p %s %s " USB_TRANSFER_BATCH_FMT " initialized.\n", \
-	    ehci_batch->usb_batch,
-	    usb_str_transfer_type(ehci_batch->usb_batch->ep->transfer_type),
-	    usb_str_direction(dir),
-	    USB_TRANSFER_BATCH_ARGS(*ehci_batch->usb_batch));
 }
 
@@ -344,5 +344,5 @@
 	assert(dir == USB_DIRECTION_IN || dir == USB_DIRECTION_OUT);
 
-	usb_log_debug("Control QH(%"PRIxn"): %08x:%08x:%08x:%08x:%08x:%08x",
+	usb_log_debug2("Control QH(%"PRIxn"): %08x:%08x:%08x:%08x:%08x:%08x",
 	    addr_to_phys(ehci_batch->qh),
 	    ehci_batch->qh->ep_char, ehci_batch->qh->ep_cap,
@@ -374,11 +374,4 @@
 		++td_current;
 	}
-
-	usb_log_debug(
-	    "Batch %p %s %s " USB_TRANSFER_BATCH_FMT " initialized",
-	    ehci_batch->usb_batch,
-	    usb_str_transfer_type(ehci_batch->usb_batch->ep->transfer_type),
-	    usb_str_direction(dir),
-	    USB_TRANSFER_BATCH_ARGS(*ehci_batch->usb_batch));
 }
 
