From: Mark Lord <lkml@rtr.ca>
To: Greg KH <greg@kroah.com>
Cc: Oliver Neukum <oliver@neukum.org>,
Paolo Ornati <ornati@fastwebnet.it>,
linux-usb-devel@lists.sourceforge.net,
Alan Stern <stern@rowland.harvard.edu>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linus Torvalds <torvalds@osdl.org>
Subject: Re: [linux-usb-devel] spontaneous disconnect with "usb-storage: implement autosuspend"
Date: Wed, 12 Sep 2007 22:33:48 -0400 [thread overview]
Message-ID: <46E8A18C.8080607@rtr.ca> (raw)
In-Reply-To: <20070912234016.GA455@kroah.com>
Greg KH wrote:
>
> There are many regressions right now, _ONLY_ if you enable
> CONFIG_USB_SUSPEND. If you disable that, your problems will go away,
> right?
..
> Oh, and currently no distro will enable this option due to the hardware
> problems, so the only people that could get hit by this are those who
> build their own kernels, and they can easily disable the option.
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)
next prev parent reply other threads:[~2007-09-13 2:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-14 11:15 spontaneous disconnect with "usb-storage: implement autosuspend" Paolo Ornati
2007-08-14 13:30 ` [linux-usb-devel] " Oliver Neukum
2007-08-14 13:47 ` Paolo Ornati
2007-08-14 15:46 ` Oliver Neukum
2007-08-14 16:38 ` Paolo Ornati
2007-08-14 18:33 ` Oliver Neukum
2007-08-14 19:02 ` Paolo Ornati
2007-09-12 22:14 ` Mark Lord
2007-09-12 23:40 ` Greg KH
2007-09-13 2:29 ` Mark Lord
2007-09-13 2:33 ` Mark Lord [this message]
2007-09-13 9:40 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46E8A18C.8080607@rtr.ca \
--to=lkml@rtr.ca \
--cc=akpm@linux-foundation.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=oliver@neukum.org \
--cc=ornati@fastwebnet.it \
--cc=stern@rowland.harvard.edu \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox