linuxppc-dev.lists.ozlabs.org archive mirror
 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 17:20:56 -0400	[thread overview]
Message-ID: <1175721656.4640.3.camel@shinybook.infradead.org> (raw)
In-Reply-To: <1175706447.7388.13.camel@johannes.berg>

On Wed, 2007-04-04 at 19:07 +0200, Johannes Berg wrote:
> Is that the version you have in the fedora CVS? Because that one seems
> to be an older one that has a bug with set_context.

Yes. I've updated the patch in CVS; thanks for pointing it out.

> > 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). 
> 
> Interesting.
> 
> > 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.
> 
> I have to admit that I have no idea, I don't have a machine with ADB in
> it. I'll poke at the code a bit.

Not sure if the subsequent patch was expected to change anything or not,
but it doesn't...

 $ dmesg | grep -i adb
PM: Adding info for platform:adb.0
adb: starting probe task...
adb devices: [2]: 2 c4 [3]: 3 1 [7]: 7 1f
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ISO, swapping keys.
input: ADB keyboard as /class/input/input1
input: ADB Powerbook buttons as /class/input/input2
ADB mouse at 3, handler set to 4 (trackpad)
input: ADB mouse as /class/input/input3
adb: finished probe task...
adb adb.0: suspend
adb adb.0: LATE suspend
adb adb.0: EARLY resume
adb adb.0: resuming
adb: starting probe task...
adb devices: [2]: 2 c4 [7]: 7 1f
ADB keyboard at 2, handler 1
adb: finished probe task...

-- 
dwmw2

  reply	other threads:[~2007-04-04 21:21 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 [this message]
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=1175721656.4640.3.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 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).