[PATCH 1/5 v2] adb: replace sleep notifier with class suspend/resume hooks

Johannes Berg johannes at sipsolutions.net
Thu Apr 5 07:48:02 EST 2007


On Wed, 2007-04-04 at 17:20 -0400, David Woodhouse wrote:

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

Which patch are you referring to? The one you updated wasn't supposed to
change anything here. In fact, we've not actually restored the context
for suspend to disk forever ("fix suspend states again").

>  $ 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...

Right. I really haven't got a clue what this may cause. I'm trying to
find something but haven't so far.

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070404/c7805b2a/attachment.pgp>


More information about the Linuxppc-dev mailing list