From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Linux-pm mailing list <linux-pm@lists.osdl.org>,
USB development list <linux-usb-devel@lists.sourceforge.net>
Subject: Re: 2.6.14-rc4-mm1: USB suspend regression (was: Re: 2.6.14-rc1-mm1: usb breaks suspend)
Date: Thu, 20 Oct 2005 00:16:25 +0200 [thread overview]
Message-ID: <200510200016.26197.rjw@sisk.pl> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0510191638250.4439-100000@iolanthe.rowland.org>
Hi,
On Wednesday, 19 of October 2005 22:46, Alan Stern wrote:
> On Wed, 19 Oct 2005, Rafael J. Wysocki wrote:
}-- snip --{
> There has been a lot of development on USB
> suspend/resume in 2.6.14, and you don't have all the patches applied. In
> particular, you are missing usb-pm-05.patch (probably a bunch of others as
> well).
If I'm missing any patches that's becasue they are not in 2.6.14-rc4-mm1
for some reason (I assume an important one).
> Take my advice: Start from 2.6.14-rc4, apply gregkh-all-2.6.14-rc4.patch
> (it gets updated fairly often, so retrieve a fresh copy), and also apply
> the PF_NOFREEZE patch (as585) I posted on lkml and linux-pm.
>From my POV this means there's no point in testing USB suspend/resume
on 2.6.14-rc4-mm1, because it's potentially broken. Which is fair enough,
BTW.
> > > These errors occurred, naturally enough, because the driver for usb3
> > > refused to suspend since one of the children -- namely 3-0:1.0 -- wasn't
> > > suspended.
> >
> > I've figured out that too. However, if something has no _suspend() routine,
> > verify_suspended() could return 0 for it, I think, instead of -EBUSY.
>
> Dave Brownell would probably give you an argument, but I tend to agree.
> Alternatively, if something has no ->suspend then we could just set its
> ->power.power_state value directly so it would _appear_ to be suspended.
Well, that depends. If the driver has a _resume() routine, it's ->power.power_state
should be set on suspend. However, if it has neither _resume() nor _suspend(),
it's ->power.power_state is not really well defined, so it's just easier to ignore it.
Greetings,
Rafael
next prev parent reply other threads:[~2005-10-19 22:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-17 10:01 2.6.14-rc1-mm1: usb breaks suspend Pavel Machek
2005-10-17 10:01 ` Pavel Machek
2005-10-17 18:54 ` [linux-pm] " Alan Stern
2005-10-17 18:54 ` Alan Stern
2005-10-17 21:11 ` Rafael J. Wysocki
2005-10-18 1:01 ` Alan Stern
2005-10-18 1:01 ` [linux-pm] " Alan Stern
2005-10-19 13:13 ` 2.6.14-rc4-mm1: USB suspend regression (was: Re: 2.6.14-rc1-mm1: usb breaks suspend) Rafael J. Wysocki
2005-10-19 13:13 ` Rafael J. Wysocki
2005-10-19 14:53 ` 2.6.14-rc4-mm1: USB suspend regression Mark Lord
2005-10-19 16:03 ` Alan Stern
2005-10-20 3:21 ` Mark Lord
2005-10-19 16:18 ` 2.6.14-rc4-mm1: USB suspend regression (was: Re: 2.6.14-rc1-mm1: usb breaks suspend) Alan Stern
2005-10-19 20:18 ` Rafael J. Wysocki
2005-10-19 20:46 ` Alan Stern
2005-10-19 22:16 ` Rafael J. Wysocki [this message]
2005-10-20 15:30 ` Alan Stern
2005-10-18 0:13 ` [linux-pm] 2.6.14-rc1-mm1: usb breaks suspend Pavel Machek
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=200510200016.26197.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=linux-pm@lists.osdl.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--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.