All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg KH <greg@kroah.com>, David Brownell <david-b@pacbell.net>,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: USB rejecting sleep
Date: Mon, 19 Dec 2005 14:24:37 +1100	[thread overview]
Message-ID: <1134962678.6162.4.camel@gaston> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0512182206520.2301-100000@netrider.rowland.org>

On Sun, 2005-12-18 at 22:11 -0500, Alan Stern wrote:

> I disagree with the idea of disconnecting the device.  The right thing to 
> do is what David wanted all along: unbind the driver.  This would require 
> only a small change to the driver core.
> 
> It's too late for me to work on this now, but maybe tomorrow I'll have to 
> a chance to write something.

Why not also disconnect the device ? That will guarantee that when
coming back from sleep, the driver will re-discover a fresh new device
that has properly been reset no ? Instead of a device potentially
crashed because it didn't handle the suspend/resume transition
properly...

Ben.



  reply	other threads:[~2005-12-19  3:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-18 20:27 USB rejecting sleep Benjamin Herrenschmidt
2005-12-18 20:58 ` David Brownell
2005-12-18 21:01   ` Benjamin Herrenschmidt
2005-12-18 22:07     ` Marcel Holtmann
2005-12-18 23:11   ` Alan Stern
2005-12-18 21:50 ` Greg KH
2005-12-18 22:13   ` Benjamin Herrenschmidt
2005-12-18 22:25     ` Greg KH
2005-12-18 23:16       ` Benjamin Herrenschmidt
2005-12-19  2:51       ` Benjamin Herrenschmidt
2005-12-19  3:11         ` Alan Stern
2005-12-19  3:24           ` Benjamin Herrenschmidt [this message]
2005-12-19 14:45             ` Alan Stern
2005-12-22 16:02   ` Pavel Machek
2005-12-27  4:19     ` 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=1134962678.6162.4.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=david-b@pacbell.net \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.