From f8ca3fefa9367f2080e6bb6ad293a9376e837be4 Mon Sep 17 00:00:00 2001 From: Alan Stern Date: Fri, 25 Apr 2008 20:05:44 +0000 Subject: [PATCH] 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 --- drivers/usb/core/hub.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.47.2