[debian at fr] apmd again

Christian Adams morlac at morlac.de
Tue Sep 2 17:53:53 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

moin,

i can confirm your observations regarding strace -p <pid of apmd>
but for me the starting order of apmd and X makes no difference ..

my actual kernel: Linux dvalin 2.6.24 #1 PREEMPT Sun Aug 31 01:38:31  
CEST 2008 armv4tl GNU/Linux
(came from not longer reachable buildhost.openmoko.org/daily/ 
freerunner/200808/20080831 )

regards, morlac

Am 02.09.2008 um 17:22 schrieb Joachim Breitner:

> Hi,
>
> Am Dienstag, den 02.09.2008, 12:50 +0200 schrieb Christian Adams:
>> i just discovered something i actually can't explain to myself:
>> (i do the sd_idleclk-trick in /etc/apm - scripts)
>> when apmd is running while i invoke 'apm -s' i get the following in
>> dmesg:
>>
>> - ---- snip ----
>> Syncing filesystems ... done.
>> PM: Preparing system for mem sleep
>> - ---- snap ----
>>
>> but the system doen't suspend completely - only X freezes but ssh-ing
>> still works
>>
>> when i now call 'invoke-rd.d apmd stop' the system suspends and
>> resumes on power-button and in dmesg it continues as following (i
>> think the 'error' is shown with the 'Can't switch VCs'-part - this
>> doesn't occur when apmd isn't running at all):
>
> I observed the same problem, but only when X was started after  
> apmd, not
> the other way around. I also observed that running "strace -p <pid of
> apmd>" or "strace -p <pid of X>" makes the kernel go ahead with
> suspending.
>
> Can you confirm these observations? What kernel version are you using?
>
> Thanks,
> Joachim
> -- 
> Joachim "nomeata" Breitner
> Debian Developer
>   nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
>   JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata

- -----BEGIN CONTACT BLOCK-----
   eMail:	morlac at morlac.de
   Jabber:	morlac at skavaer.homelinux.org
- ------END CONTACT BLOCK------

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS$/IT;d-;s:;a?;C++(+++)>++++;UL++++;P++(+++)>++++;
L++(+++);E---;W++;N(+);o?;K?;!w;!O;!M+>;!V;PS(+);PE;
Y+;PGP++;t+(++);5(+)>++;X(+);R*;tv->+;b++(+++);DI++;
D++(+++)>++++;G(+)>++;e+>+++;h-()>++;r++;y++;
- ------END GEEK CODE BLOCK------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFIvWGRr81gVylJyzERApQvAJ9BNAwUtKo4KqeFDPO3wxR7m0y87QCfYXqT
jZmEWZZxIDIgXEBECgM9jts=
=gyX4
-----END PGP SIGNATURE-----




More information about the community mailing list