All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 1/5 v2] adb: replace sleep notifier with class suspend/resume hooks
Date: Wed, 04 Apr 2007 09:03:58 -0400	[thread overview]
Message-ID: <1175691839.2774.11.camel@shinybook.infradead.org> (raw)
In-Reply-To: <1175676113.3556.2.camel@johannes.berg>

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.

-- 
dwmw2

  reply	other threads:[~2007-04-04 13:04 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 [this message]
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
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=1175691839.2774.11.camel@shinybook.infradead.org \
    --to=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 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.