From: Greg KH <greg@kroah.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Oliver Neukum <oliver@neukum.org>,
linux-usb-devel@lists.sourceforge.net, icxcnika@mar.tar.cc,
linux-kernel@vger.kernel.org
Subject: Re: [linux-usb-devel] 2.6.20-rc4: usb somehow broken
Date: Mon, 15 Jan 2007 09:56:01 -0800 [thread overview]
Message-ID: <20070115175601.GA21679@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0701151058520.15327-100000@netrider.rowland.org>
On Mon, Jan 15, 2007 at 11:03:35AM -0500, Alan Stern wrote:
> 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.
Yes, I think this is the best solution, allow users to add their devices
to the kernel through a sysfs interface as a temporary solution, while
providing a built-in list for known broken devices.
And yeah, I hate blacklists too, but they are necessary at times :(
thanks,
greg k-h
next prev parent reply other threads:[~2007-01-15 17:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-11 17:20 2.6.20-rc4: usb somehow broken 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
2007-01-15 16:24 ` Oliver Neukum
2007-01-15 16:36 ` Alan Stern
2007-01-15 17:56 ` Greg KH [this message]
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=20070115175601.GA21679@kroah.com \
--to=greg@kroah.com \
--cc=icxcnika@mar.tar.cc \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=oliver@neukum.org \
--cc=stern@rowland.harvard.edu \
/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