login
Header Space

 
 

Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg KH <greg@...>
Cc: Oliver Neukum <oliver@...>, Paolo Ornati <ornati@...>, <linux-usb-devel@...>, Alan Stern <stern@...>, Linux Kernel Mailing List <linux-kernel@...>, Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>
Date: Wednesday, September 12, 2007 - 10:33 pm

Greg KH wrote:
..

Ubuntu has CONFIG_USB_SUSPEND=y

There are probably lots of other distros that use it as well.

This new behaviour (failed operation of USB flash keys) is a *new* regression
in 2.6.23, and we still have time to fix it by either reverting the changed
functionality, or by changing the code to default OFF.

Here's my patch for 2.6.23-rc6+ :

Fix USB Storage failures.

Signed-Off-By:  Mark Lord <mlord@pobox.com>
---

--- linux/drivers/usb/storage/usb.c.orig	2007-09-11 11:52:14.000000000 -0400
+++ linux/drivers/usb/storage/usb.c	2007-09-12 18:18:35.000000000 -0400
@@ -1065,7 +1065,7 @@
 	.pre_reset =	storage_pre_reset,
 	.post_reset =	storage_post_reset,
 	.id_table =	storage_usb_ids,
-	.supports_autosuspend = 1,
+	.supports_autosuspend = 0,
 };
 
 static int __init usb_stor_init(void)
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [linux-usb-devel] spontaneous disconnect with "usb-stora..., Mark Lord, (Wed Sep 12, 10:33 pm)
speck-geostationary