suspend/resume and Debian on SD card

Christian Adams morlac at morlac.de
Thu Aug 28 19:52:42 CEST 2008


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

okay .. after playing around a bit here my results:

first i turned off apmd - when running it prevents system from  
suspending - more investigation going on

what's actually running for me is:

mv /usr/bin/apm /usr/bin/apm.o

creating /usr/bin/apm with following content:

- ---- snip ----
#!/bin/sh
echo 1 > /sys/module/glamo_mci/parameters/sd_idleclk
apm.o ${*}
echo 0 > /sys/module/glamo_mci/parameters/sd_idleclk
- ---- snap ---

i did the scripting this way to give zhone also a chance to perform  
suspend/resume via power-button

FR becomes usable as a phone :)

kind regards, happy morlac

Am 28.08.2008 um 14:29 schrieb Joachim Breitner:

> Hi,
>
> Am Donnerstag, den 28.08.2008, 10:01 +0200 schrieb Christian Adams:
>> similar here:
>>
>> running kernel/modules from http://buildhost.openmoko.org/daily/
>> freerunner/200808/20080827
>> xfce/matchbox-wm (btw - which wm could be better?)
>>
>> when i try to suspend via 'apm -s' X session freezes and nothing
>> more .. device doesn't turn black or anything - it just freezes X.
>>
>> when i do the same w/o X (/etc/init.d/xdm stop) FR at least
>> suspends .. but when resuming i get the same effects as simon &  
>> philippe
>
> Please try to stop apmd before suspending (apmd is not required, it  
> just
> calls some scripts), and see if that help. Then play around a bit with
> various combinations of X and apmd running, and the order you started
> them, and tell us what you find. I think there is a bug hidden
> somewhere.
>
> Greetings,
> 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
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support

- -----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)

iD8DBQFItuXqr81gVylJyzERAsluAJ0SbSIscN98T1dWU0Or45Nbfo/P3QCg5n/L
lQKWSxJp1ZcPTA9z2c9MxGQ=
=0caK
-----END PGP SIGNATURE-----



More information about the support mailing list