LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: Oliver Neukum <oliver@neukum.org>
Cc: icxcnika@mar.tar.cc, <linux-usb-devel@lists.sourceforge.net>,
<linux-kernel@vger.kernel.org>
Subject: Re: [linux-usb-devel] 2.6.20-rc4: usb somehow broken
Date: Mon, 15 Jan 2007 11:03:35 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.44L0.0701151058520.15327-100000@netrider.rowland.org> (raw)
In-Reply-To: <200701151210.49495.oliver@neukum.org>
On Mon, 15 Jan 2007, Oliver Neukum wrote:
> Am Sonntag, 14. Januar 2007 20:47 schrieb icxcnika@mar.tar.cc:
> > > Can anyone suggest another approach?
> > >
> > > Alan Stern
> >
> > Just a thought, you could use both a blacklist approach, and a module
> > paramater, or something in sysfs, to allow specifying devices that won't
> > be suspend and resume compatible.
>
> Upon further thought, a module parameter won't do as the problem
> will arise without a driver loaded. A sysfs parameter turns the whole
> affair into a race condition. Will you set the guard parameter before the
> autosuspend logic strikes?
> Unfortunately this leaves only the least attractive solution.
There could be a mixed approach: a builtin blacklist that is extensible
via a procfs- or sysfs-based interface.
Note that we actually have two problems to contend with. Some devices
must never be autosuspended at all (they disconnect when resuming), and
others need a reset after resuming.
Alan Stern
next prev parent reply other threads:[~2007-01-15 16:03 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-11 17:20 Prakash Punnoor
2007-01-11 17:28 ` Oliver Neukum
2007-01-14 9:08 ` Prakash Punnoor
2007-01-14 9:28 ` Oliver Neukum
2007-01-14 9:44 ` Prakash Punnoor
2007-01-14 19:23 ` [linux-usb-devel] " Alan Stern
2007-01-14 19:47 ` icxcnika
2007-01-14 21:03 ` Oliver Neukum
2007-01-15 11:10 ` Oliver Neukum
2007-01-15 16:03 ` Alan Stern [this message]
2007-01-15 16:24 ` Oliver Neukum
2007-01-15 16:36 ` Alan Stern
2007-01-15 17:56 ` Greg KH
2007-01-14 9:48 ` Prakash Punnoor
2007-01-14 9:58 ` Adrian Bunk
2007-01-19 11:29 ` [linux-usb-devel] " Oliver Neukum
2007-01-19 13:38 ` Prakash Punnoor
2007-01-19 14:00 ` Prakash Punnoor
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=Pine.LNX.4.44L0.0701151058520.15327-100000@netrider.rowland.org \
--to=stern@rowland.harvard.edu \
--cc=icxcnika@mar.tar.cc \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=oliver@neukum.org \
--subject='Re: [linux-usb-devel] 2.6.20-rc4: usb somehow broken' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).