From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linuxppc-dev@ozlabs.org, Johannes Berg <johannes@sipsolutions.net>
Subject: Re: [PATCH 1/5 v2] adb: replace sleep notifier with class suspend/resume hooks
Date: Thu, 05 Apr 2007 09:12:11 +1000 [thread overview]
Message-ID: <1175728331.30879.77.camel@localhost.localdomain> (raw)
In-Reply-To: <1175691839.2774.11.camel@shinybook.infradead.org>
On Wed, 2007-04-04 at 09:03 -0400, David Woodhouse wrote:
> On Wed, 2007-04-04 at 10:41 +0200, Johannes Berg wrote:
> >
> > So class suspend/resume hooks are apparently not called unless you do
> > some more magic juju.
> >
> > I'll work more sysfs foo to fix it. You can probably
> > make /sys/power/state work and have adb still work by just applying all
> > the patches up to "remove dead code in via-pmu86k".
> >
> > Then again, which patches do you have applied now? Do you even have this
> > one? I only sent you the other ones, and if you only have those applied
> > then the problem must be elsewhere...
>
> I didn't have this set of patches applied. I have these:
>
> Subject: [PATCH 1/3] rework pm_ops pm_disk_mode, kill misuse
> Subject: [PATCH 2/3] power management: remove firmware disk mode
> Subject: [PATCH 3/3] power management: implement pm_ops.valid for everybody
>
> Subject: [PATCH 1/5] powerpc: generic time suspend/resume code
> Subject: [PATCH 2/5] powerpc: fix suspend states again
> Subject: [PATCH 3/5] powermac: disallow pmu sleep notifiers from aborting
> Subject: [PATCH 4/5 v2] powermac: proper sleep management
>
> It does re-probe ADB on resume, and it finds the keyboard every time
> (thankfully). It just doesn't find the mouse more than about 1 in 10
> times. Could it just be a timing thing? Resume seems to be a lot faster
> with the patches applied.
Hrm... ADB resume is supposed to fire a thread and if you have a
trackpad, it's supposed to wait for some time for it to settle...
Ben.
next prev parent reply other threads:[~2007-04-04 23:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-19 18:18 [PATCH 0/5] sleep notifier cleanup Johannes Berg
2007-03-19 18:18 ` [PATCH 1/5] adb: replace sleep notifier with sysdev Johannes Berg
2007-03-20 0:15 ` [PATCH 1/5 v2] adb: replace sleep notifier with class suspend/resume hooks Johannes Berg
2007-04-04 8:41 ` Johannes Berg
2007-04-04 13:03 ` David Woodhouse
2007-04-04 17:07 ` Johannes Berg
2007-04-04 21:20 ` David Woodhouse
2007-04-04 21:48 ` Johannes Berg
2007-04-04 23:12 ` Benjamin Herrenschmidt [this message]
2007-04-04 13:37 ` [PATCH 1/5 v3] adb: replace sleep notifier with platform driver " Johannes Berg
2007-03-19 18:18 ` [PATCH 2/5] apm_emu: use generic apm-emulation Johannes Berg
2007-03-19 18:18 ` [PATCH 3/5] via-pmu: remove LED sleep notifier Johannes Berg
2007-03-19 18:18 ` [PATCH 4/5] remove awacs dmasound Johannes Berg
2007-03-19 18:18 ` [PATCH 5/5] via-pmu: kill sleep notifiers completely Johannes Berg
2007-03-19 18:44 ` [PATCH 0/5] sleep notifier cleanup Johannes Berg
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=1175728331.30879.77.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=dwmw2@infradead.org \
--cc=johannes@sipsolutions.net \
--cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).