From: Alan Stern Date: Fri, 25 Apr 2008 20:05:44 +0000 (+0000) Subject: USB: log an error message when USB enumeration fails X-Git-Tag: v2.6.25.1~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8ca3fefa9367f2080e6bb6ad293a9376e837be4;p=thirdparty%2Fkernel%2Fstable.git USB: log an error message when USB enumeration fails commit: 6427f7995338387ddded92f98adec19ddbf0ae5e This patch (as1077) logs an error message whenever the kernel is unable to enumerate a new USB device. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 68fc5219ca152..7f1bc9701192e 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -2664,6 +2664,7 @@ loop: if ((status == -ENOTCONN) || (status == -ENOTSUPP)) break; } + dev_err(hub_dev, "unable to enumerate USB device on port %d\n", port1); done: hub_port_disable(hub, port1, 1);