]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: print message when device is rejected due to insufficient power
authorDaniel Drake <dsd@gentoo.org>
Fri, 26 May 2006 20:36:28 +0000 (21:36 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:14 +0000 (15:04 -0700)
commitd007c9080d47acf72f4a3eeb2d0696a440de01b2
tree2fc8008f06fd96869dd591dcb08fc7536775212c
parent0ab112463ae3fb5abd7535dfd038500361d9ebb4
[PATCH] USB: print message when device is rejected due to insufficient power

2.6.16 introduces USB power budgeting in the Linux kernel, and since then, a
fair number of users have observed that some of their devices no longer work in
unpowered hubs (this is not a bug, the devices claim that they need more than
100mA).

The very least we can do is print an informational message to the kernel log
when this happens, otherwise it is not at all clear why the device was not
accepted.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c