Re: [qtmoko] flight mode power consumption / turning gsm back on

2012-08-28 Thread Radek Polak
On Tuesday, August 28, 2012 08:54:12 AM robin wrote:

 I have a question regarding the flight mode:
 
 if I turn it on (GTA02 qtmoko v47) the icon is shown on the home screen and
 calls are not possible anymore, so this is how I expected it to behave, but
 the antenna still seems to be on as I see some bars indicating reception
 and the power consumption stays the same as without flight mode. 

I dont know much about it, but i think flight mode means that you dont transmit 
any signal, but you can still receive signal strength.

Modems have AT commands for airplane mode. I tried it on GTA04 (AT_OAIR) 
without any effect, maybe i did something wrong...

 there
 once was a paper which looked at different parts of power consumption of
 the freerunner and if I remember correctly GSM was one of the major
 consumers.

You can check yourself - power off the modem and put the phone in suspend and 
watch charge_now:

http://lists.goldelico.com/pipermail/gta04-owner/2012-August/002853.html

 Now if I turn flight mode of the GSM apparently cannot connect to the
 station anymore and I have to reboot.

No idea here. I dont use airplanes ;-)

Regards

Radek

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


Re: [qtmoko] flight mode power consumption / turning gsm back on

2012-08-28 Thread elf Pavlik
Excerpts from robin's message of 2012-08-28 06:54:12 +:
 I have a question regarding the flight mode:
 
 if I turn it on (GTA02 qtmoko v47) the icon is shown on the home screen and
 calls are not possible anymore, so this is how I expected it to behave, but
 the antenna still seems to be on as I see some bars indicating reception and
 the power consumption stays the same as without flight mode. there once was 
 a paper which looked at different parts of power consumption of the freerunner
 and if I remember correctly GSM was one of the major consumers.
 
 Now if I turn flight mode of the GSM apparently cannot connect to the 
 station anymore and I have to reboot.
 
 robin

+1 i use my Freerunner without SIM just as PDA+wifi so turn off GSM would make 
a lot of sense...

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


Re: [qtmoko] flight mode power consumption / turning gsm back on

2012-08-28 Thread Radek Polak
On Tuesday, August 28, 2012 01:22:29 PM elf Pavlik wrote:

 +1 i use my Freerunner without SIM just as PDA+wifi so turn off GSM would
 make a lot of sense...

You can edit /opt/qtmoko/qpe.env and change:

export QTOPIA_PHONE=AT

to
export QTOPIA_PHONE=Dummy

and call modem-poweroff.sh somewhere after boot (/etc/rc.local or qpe.sh).

Btw if you are in airplane mode it should be not possible to use bluetooth and 
wifi.

Regards

Radek

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


Re: [qtmoko] flight mode power consumption / turning gsm back on

2012-08-28 Thread Benjamin Deering

On 08/28/2012 07:21 AM, Radek Polak wrote:

On Tuesday, August 28, 2012 08:54:12 AM robin wrote:


I have a question regarding the flight mode:

if I turn it on (GTA02 qtmoko v47) the icon is shown on the home screen and
calls are not possible anymore, so this is how I expected it to behave, but
the antenna still seems to be on as I see some bars indicating reception
and the power consumption stays the same as without flight mode.

I dont know much about it, but i think flight mode means that you dont transmit
any signal, but you can still receive signal strength.

Modems have AT commands for airplane mode. I tried it on GTA04 (AT_OAIR)
without any effect, maybe i did something wrong...


there
once was a paper which looked at different parts of power consumption of
the freerunner and if I remember correctly GSM was one of the major
consumers.

You can check yourself - power off the modem and put the phone in suspend and
watch charge_now:

http://lists.goldelico.com/pipermail/gta04-owner/2012-August/002853.html


Now if I turn flight mode of the GSM apparently cannot connect to the
station anymore and I have to reboot.

No idea here. I dont use airplanes ;-)

Regards

Radek

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

I always meant to hack my install to change it from 'airplane mode' to 
'woods mode' because a GSM radio that is out of range of towers devours 
the battery.  On GTA02, power consumption drops a lot in this mode.


On my most recent trip I powered my GTA04 off completely unless I needed 
to check the GPS.


On a trip this winter a friend with a certain apple product was amazed 
at the battery life they got in airplane mode.   3 days of photo-viewing 
and listening to mp3s and it still had extra battery.


Ben

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


Re: [qtmoko] flight mode power consumption / turning gsm back on

2012-08-28 Thread robin
hi ben,

could you please give some more detail on how do you set it in woods mode?
and does the gsm power on afterwards correctly or do you have to restart the
phone?

thanks

robin


ps: here is the link to the paper on powerconsumption of the freerunner:

http://www.ssrg.nicta.com.au/publications/papers/Carroll_Heiser_10.pdf


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


Re: [qtmoko] flight mode power consumption / turning gsm back on

2012-08-28 Thread Adrien Dorsaz
Hi,

 You can edit /opt/qtmoko/qpe.env and change:
 
   export QTOPIA_PHONE=AT
 
 to
   export QTOPIA_PHONE=Dummy
 
 and call modem-poweroff.sh somewhere after boot (/etc/rc.local or qpe.sh).

it seems that my GTA02 with QtMoko v47 hasn't the script
modem-poweroff.sh. When I make find -name *modem* I didn't have any
script (but other files that doesn't seem to be executable, except
dsl-modem.agent). Perhaps, I've missed something ?

Regards,
Adrien


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


Re: [qtmoko] flight mode power consumption / turning gsm back on

2012-08-28 Thread Benjamin Deering

On 08/28/2012 07:44 AM, robin wrote:

hi ben,

could you please give some more detail on how do you set it in woods mode?
and does the gsm power on afterwards correctly or do you have to restart the
phone?

thanks

robin


ps: here is the link to the paper on powerconsumption of the freerunner:

http://www.ssrg.nicta.com.au/publications/papers/Carroll_Heiser_10.pdf


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

I use SHR most of the time, but the same thing should apply.  I just 
meant to change the GUI to call 'airplane mode' 'woods mode' because my 
phones go in the woods and I don't fly very much at all.  I suspect 
something is wrong with airplane mode on both qtmoko and SHR for gta04 
if airplane mode doesn't use less power.  Transmitting would be the 
biggest power draw and even if the modem remained powered up power 
consumption should drop unless it is transmitting.


On gta02, I could turn 'airplane mode' off and on and it usually 
worked.  I never spent a lot of time watching power consumption on 
gta02, but I did keep track of battery life.  On gta04, we are still 
figuring out power management and I had some charging issues so I was 
dumping 'current_now' once a second in various configurations.  A 
somewhat unrelated thing  I noticed and should report is that the 'idle 
dim' state of fsodeviced actually uses more power.  The process of 
smoothly dimming the display wakes up the CPU and by the time it settles 
back down, it is time to turn off the display anyway.


I didn't mean to steer this away from qtmoko, but I think most of the 
power related issues we are seeing are happening at a low level and 
apply to all distros.


Ben

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


Re: [qtmoko] flight mode power consumption / turning gsm back on

2012-08-28 Thread NeilBrown
On Tue, 28 Aug 2012 08:21:20 -0400 Benjamin Deering
ben_deer...@swissmail.org wrote:

 On 08/28/2012 07:44 AM, robin wrote:
  hi ben,
 
  could you please give some more detail on how do you set it in woods mode?
  and does the gsm power on afterwards correctly or do you have to restart the
  phone?
 
  thanks
 
  robin
 
 
  ps: here is the link to the paper on powerconsumption of the freerunner:
 
  http://www.ssrg.nicta.com.au/publications/papers/Carroll_Heiser_10.pdf
 
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 I use SHR most of the time, but the same thing should apply.  I just 
 meant to change the GUI to call 'airplane mode' 'woods mode' because my 
 phones go in the woods and I don't fly very much at all.  I suspect 
 something is wrong with airplane mode on both qtmoko and SHR for gta04 
 if airplane mode doesn't use less power.  Transmitting would be the 
 biggest power draw and even if the modem remained powered up power 
 consumption should drop unless it is transmitting.
 
 On gta02, I could turn 'airplane mode' off and on and it usually 
 worked.  I never spent a lot of time watching power consumption on 
 gta02, but I did keep track of battery life.  On gta04, we are still 
 figuring out power management and I had some charging issues so I was 
 dumping 'current_now' once a second in various configurations.  A 
 somewhat unrelated thing  I noticed and should report is that the 'idle 
 dim' state of fsodeviced actually uses more power.  The process of 
 smoothly dimming the display wakes up the CPU and by the time it settles 
 back down, it is time to turn off the display anyway.
 
 I didn't mean to steer this away from qtmoko, but I think most of the 
 power related issues we are seeing are happening at a low level and 
 apply to all distros.

On a GTA02 you power off the GSM chip by writing
  AT@POFF
to the modem.  This definitely reduces power usage quite a lot.
You then typically write '0' to the 'power_on' and 'reset' sysfs files,
but that isn't so important I think.

If you are using gsm0710muxd, it will do all that for you when you tell it to.
You need to use some D-Bus command that I'm not familiar with.
Something like

 bus-send --system --print-reply --type=method_call \
   --dest=org.pyneo.muxer /org/pyneo/Muxer \
 org.freesmartphone.GSM.MUX.SetPower bool:false

maybe.

NeilBrown


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