This is a note to let you know that I've just added the patch titled
USB: don't enable remote wakeup by default
to the 2.6.32-longterm tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/longterm/longterm-queue-2.6.32.git;a=summary
The filename of the patch is:
usb-don-t-enable-remote-wakeup-by-default.patch
and it can be found in the queue-2.6.32 subdirectory.
If you, or anyone else, feels it should not be added to the 2.6.32 longterm
tree,
please let <[email protected]> know about it.
>From d529ba7a3233f6ade17ec73ac9f0c6b220eded99 Mon Sep 17 00:00:00 2001
From: Alan Stern <[email protected]>
Date: Fri, 2 Apr 2010 13:21:33 -0400
Subject: USB: don't enable remote wakeup by default
From: Alan Stern <[email protected]>
commit 7aba8d014341341590ecb64050b7a026642a62eb upstream.
This patch (as1364) avoids enabling remote wakeup by default on all
non-root-hub USB devices. Individual drivers or userspace will have
to enable it wherever it is needed, such as for keyboards or network
interfaces. Note: This affects only system sleep, not autosuspend.
External hubs will continue to relay wakeup requests received from
downstream through their upstream port, even when remote wakeup is not
enabled for the hub itself. Disabling remote wakeup on a hub merely
prevents it from generating wakeup requests in response to connect,
disconnect, and overcurrent events.
Signed-off-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/usb/core/hub.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -1795,7 +1795,6 @@ int usb_new_device(struct usb_device *ud
* sysfs power/wakeup controls wakeup enabled/disabled
*/
device_init_wakeup(&udev->dev, 0);
- device_set_wakeup_enable(&udev->dev, 1);
}
err = usb_enumerate_device(udev); /* Read descriptors */
Patches currently in longterm-queue-2.6.32 which might be from
[email protected] are
/home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/usb-fix-regression-in-usbip-by-setting-has_tt-flag.patch
/home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/usb-don-t-enable-remote-wakeup-by-default.patch
/home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/usb-teach-devices-file-about-wireless-and-superspeed.patch
/home/gregkh/linux/longterm/longterm-queue-2.6.32/queue-2.6.32/usb-retain-usb-device-power-wakeup-setting-across-re.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable