Re: suspend and immediate wake-up

2008-07-29 Thread Al Johnson
On Monday 28 July 2008, arne anka wrote:
  I have the same issue (not always but sometimes),.. and this comes
  probably not from GSM network messages...
  Because it happens over and over again (once this issue happens).

 i've gotten the impression that the acceleration sensors play an
 importanmt role.
 it simply happens too often that i take the fr in my hands and it wakes up
 -- too often at least to be purely conicidential.

cat /sys/devices/platform/neo1973-resume.0/resume_reason

With a recent kernel and uboot this should tell you which device woke it up by 
sticking a * next to the interrupt that did it, and another to provide more 
detail if it was the PMU that did it.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: suspend and immediate wake-up

2008-07-29 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| On Monday 28 July 2008, arne anka wrote:
| I have the same issue (not always but sometimes),.. and this comes
| probably not from GSM network messages...
| Because it happens over and over again (once this issue happens).
| i've gotten the impression that the acceleration sensors play an
| importanmt role.
| it simply happens too often that i take the fr in my hands and it
wakes up
| -- too often at least to be purely conicidential.
|
| cat /sys/devices/platform/neo1973-resume.0/resume_reason
|
| With a recent kernel and uboot this should tell you which device woke
it up by
| sticking a * next to the interrupt that did it, and another to provide
more
| detail if it was the PMU that did it.

Right.  The Motion sensors can be a wake source, but we neither enable
it right now nor set them up in threshold mode so we get an interrupt if
they experienced something big.

It's likely just the GSM traffic stuff.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiOx28ACgkQOjLpvpq7dMrKaQCfVyZhKLgIH0HjD2iWyd0YDILQ
zD8AniGuOkDDKH6gQIQgbQ+jUFnUiXfp
=xqSC
-END PGP SIGNATURE-

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: suspend and immediate wake-up

2008-07-29 Thread Cédric Berger
On Mon, Jul 28, 2008 at 23:28, arne anka [EMAIL PROTECTED] wrote:
 i've gotten the impression that the acceleration sensors play an
 importanmt role.
 it simply happens too often that i take the fr in my hands and it wakes up
 -- too often at least to be purely conicidential.


Indeed I noticed the same wakes on move (when I take my phone in
hands, not touching the screen).

But with Qtopia my phone does not wake up this way. Neither on moves,
nor during cell registration.
It does however correctly wake up on incoming calls and SMS.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: suspend and immediate wake-up

2008-07-29 Thread Cédric Berger
On Tue, Jul 29, 2008 at 09:31, Andy Green [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Somebody in the thread at some point said:
 | Because it happens over and over again (once this issue happens).
 | i've gotten the impression that the acceleration sensors play an
 | importanmt role.
 | it simply happens too often that i take the fr in my hands and it
 wakes up
 | -- too often at least to be purely conicidential.
 |
 | cat /sys/devices/platform/neo1973-resume.0/resume_reason
 |
 | With a recent kernel and uboot this should tell you which device woke
 it up by
 | sticking a * next to the interrupt that did it, and another to provide
 more
 | detail if it was the PMU that did it.

 Right.  The Motion sensors can be a wake source, but we neither enable
 it right now nor set them up in threshold mode so we get an interrupt if
 they experienced something big.

 It's likely just the GSM traffic stuff.

 - -Andy


Well so it is probably that often, moving and taking the phone in
hands changes gsm reception enough to trigger some activity...

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: suspend and immediate wake-up

2008-07-28 Thread Christoph Anton Mitterer
On Fri, 2008-07-18 at 13:39 +0100, Al Johnson wrote:
 It's getting woken by a message from the GSM. Mine does it on reregistration 
 at variable intervals, maybe 3 times an hour. If it happens much more often 
 it's worth reporting.
I have the same issue (not always but sometimes),.. and this comes
probably not from GSM network messages...
Because it happens over and over again (once this issue happens).

Chris.


smime.p7s
Description: S/MIME cryptographic signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: suspend and immediate wake-up

2008-07-28 Thread arne anka
 I have the same issue (not always but sometimes),.. and this comes
 probably not from GSM network messages...
 Because it happens over and over again (once this issue happens).

i've gotten the impression that the acceleration sensors play an  
importanmt role.
it simply happens too often that i take the fr in my hands and it wakes up  
-- too often at least to be purely conicidential.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: suspend and immediate wake-up

2008-07-19 Thread julien cubizolles
Le vendredi 18 juillet 2008 à 13:39 +0100, Al Johnson a écrit :

 It's getting woken by a message from the GSM. Mine does it on reregistration 
 at variable intervals, maybe 3 times an hour. If it happens much more often 
 it's worth reporting.

I've not properly measured how frequently it does it but for me it's
very often less than 5 seconds after it goes to suspend mode... Is there
a message in dmesg that indicates the waking is indeed due to
reregistration ? I have a log saved I could check.

Julien.



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: suspend and immediate wake-up

2008-07-19 Thread Ole Kliemann
On Sat, Jul 19, 2008 at 11:35:23AM +0200, julien cubizolles wrote:
 Le vendredi 18 juillet 2008 à 13:39 +0100, Al Johnson a écrit :
 
  It's getting woken by a message from the GSM. Mine does it on 
  reregistration 
  at variable intervals, maybe 3 times an hour. If it happens much more often 
  it's worth reporting.
 
 I've not properly measured how frequently it does it but for me it's
 very often less than 5 seconds after it goes to suspend mode... Is there
 a message in dmesg that indicates the waking is indeed due to
 reregistration ? I have a log saved I could check.

I can confirm this. I haven't run exhaustive tests, but almost whenever
I tried the FR woke up just seconds later. 

That was using GTK branch. I can't test this further right now as I
moved to ASU.


pgpTemA6U1JY3.pgp
Description: PGP signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: suspend and immediate wake-up

2008-07-19 Thread Scott Petersen
Ole Kliemann wrote:
 On Sat, Jul 19, 2008 at 11:35:23AM +0200, julien cubizolles wrote:
  Le vendredi 18 juillet 2008 à 13:39 +0100, Al Johnson a écrit :
  
   It's getting woken by a message from the GSM. Mine does it on 
   reregistration 
   at variable intervals, maybe 3 times an hour. If it happens much more 
   often 
   it's worth reporting.
  
  I've not properly measured how frequently it does it but for me it's
  very often less than 5 seconds after it goes to suspend mode... Is there
  a message in dmesg that indicates the waking is indeed due to
  reregistration ? I have a log saved I could check.

 I can confirm this. I haven't run exhaustive tests, but almost whenever
 I tried the FR woke up just seconds later. 

 That was using GTK branch. I can't test this further right now as I
 moved to ASU.
   
I can also confirm a very quick return from suspend.  It usually wakes 
up within 10 to 40 seconds with only 2 attempts (out of several hundred 
over the course of 2 days) that stayed in sleep longer. These two 
attempts stayed in sleep for at least 1 hour after which I woke it up. 
If it means anything I am using the July 18th build of the kernel and 
2007.2.

Cheers
Scott Petersen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: suspend and immediate wake-up

2008-07-18 Thread Al Johnson
On Friday 18 July 2008, julien cubizolles wrote:
 I' m experiencing some problems with the suspend mode, wich seems maybe
 different from the ones related in the battery-problems thread, so I'm
 starting a new thread.


 Most of the time when I put the Freerunner in suspend mode (apm -s or
 the sleep script from the wiki) it goes completely blank, as expected,
 but wakes up immediately after (I didn't touch it of course). Therefore
 the suspend-mode is useless to save power.

 I checked that this happends only when the GSM antenna is on. I'm
 running the mewster-andy kernel
 (uImage_2008_07_16_gta02_73eeb0333fc771cb696ff9bf17c517c741434b59.bin).

It's getting woken by a message from the GSM. Mine does it on reregistration 
at variable intervals, maybe 3 times an hour. If it happens much more often 
it's worth reporting.

 Also, I'm confused about the so-called power-saving modes from the Power
 Menu : regardless of the choice of dim+lock or dim-only, the Freerunner
 always locks after some time.

I think the on-screen terminology no longer matches the actions - everything 
seems to have moved one step.
No power saving - actually dims but doesn't lock.
Dim only - dims then locks
Dim then lock - dims, then locks, then suspends.

 Finally : is there a way to prevent the screen from locking when in a
 conversation ? It's rather strange to have to unlock the screen to hang
 up.

 Julien.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community