A Gentoo user at http://bugs.gentoo.org/116037 with a USB keyboard/mouse reports that his logs are occasionally flooded with:

        drivers/usb/input/hid-core.c: input irq status -75 received

This patch solves the problem by silently resubmitting the URB.

Thanks to Vesa Tervo for debugging the problem and suggesting the solution.

Signed-off-by: Daniel Drake <[EMAIL PROTECTED]>
--- linux-2.6.15-rc6/drivers/usb/input/hid-core.c.orig	2005-12-29 20:27:32.000000000 +0000
+++ linux-2.6.15-rc6/drivers/usb/input/hid-core.c	2005-12-29 20:28:07.000000000 +0000
@@ -930,6 +930,7 @@ static void hid_irq_in(struct urb *urb, 
 		case -EILSEQ:		/* unplug timeout on uhci */
 			return;
 		case -ETIMEDOUT:	/* NAK */
+		case -EOVERFLOW:
 			break;
 		default:		/* error */
 			warn("input irq status %d received", urb->status);

Reply via email to