[Om2008.9] AtChat talking every second to SIM

2008-10-21 Thread Matthias Apitz

Hello,

I was looking a bit through the output of logread and I'm asking me if
it is normal (and necessary in the sense of power consumption) that 'qpe'
is talking every second to the SIM to ask for the signal level of the GSM:

Oct 21 11:34:28 om-gta02 user.notice root: AtChat :  T : AT+CSQ 
Oct 21 11:34:28 om-gta02 user.notice root: AtChat :  F : +CSQ: 20,99  
Oct 21 11:34:28 om-gta02 user.notice root: AtChat :  F : OK 
Oct 21 11:34:30 om-gta02 user.notice root: AtChat :  T : AT+CSQ 
Oct 21 11:34:30 om-gta02 user.notice root: AtChat :  F : +CSQ: 20,99  
Oct 21 11:34:30 om-gta02 user.notice root: AtChat :  F : OK 
Oct 21 11:34:32 om-gta02 user.notice root: AtChat :  T : AT+CSQ 
Oct 21 11:34:32 om-gta02 user.notice root: AtChat :  F : +CSQ: 20,99  
Oct 21 11:34:32 om-gta02 user.notice root: AtChat :  F : OK 
Oct 21 11:34:34 om-gta02 user.notice root: AtChat :  T : AT+CSQ 
Oct 21 11:34:34 om-gta02 user.notice root: AtChat :  F : +CSQ: 20,99  
Oct 21 11:34:34 om-gta02 user.notice root: AtChat :  F : OK 

Any comment? Thx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

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


Re: [Om2008.9] AtChat talking every second to SIM

2008-10-21 Thread Lorn Potter
Matthias Apitz wrote:
 Hello,
 
 I was looking a bit through the output of logread and I'm asking me if
 it is normal (and necessary in the sense of power consumption) that 'qpe'
 is talking every second to the SIM to ask for the signal level of the GSM:
 
 Oct 21 11:34:28 om-gta02 user.notice root: AtChat :  T : AT+CSQ 
 Oct 21 11:34:28 om-gta02 user.notice root: AtChat :  F : +CSQ: 20,99  
 Oct 21 11:34:28 om-gta02 user.notice root: AtChat :  F : OK 
 Oct 21 11:34:30 om-gta02 user.notice root: AtChat :  T : AT+CSQ 
 Oct 21 11:34:30 om-gta02 user.notice root: AtChat :  F : +CSQ: 20,99  
 Oct 21 11:34:30 om-gta02 user.notice root: AtChat :  F : OK 
 Oct 21 11:34:32 om-gta02 user.notice root: AtChat :  T : AT+CSQ 
 Oct 21 11:34:32 om-gta02 user.notice root: AtChat :  F : +CSQ: 20,99  
 Oct 21 11:34:32 om-gta02 user.notice root: AtChat :  F : OK 
 Oct 21 11:34:34 om-gta02 user.notice root: AtChat :  T : AT+CSQ 
 Oct 21 11:34:34 om-gta02 user.notice root: AtChat :  F : +CSQ: 20,99  
 Oct 21 11:34:34 om-gta02 user.notice root: AtChat :  F : OK 
 
 Any comment? Thx

every second (or two, as the case may be) might be a bit extreme, but 
this is just getting the signal quality.


-- 
Lorn 'ljp' Potter
Software Engineer, Systems Group, Qt Software, Nokia Pty Ltd

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


Re: [Om2008.9] AtChat talking every second to SIM

2008-10-21 Thread Cédric Berger
On Tue, Oct 21, 2008 at 11:58, Lorn Potter [EMAIL PROTECTED] wrote:

 Matthias Apitz wrote:
  Hello,
 
  I was looking a bit through the output of logread and I'm asking me if
  it is normal (and necessary in the sense of power consumption) that 'qpe'
  is talking every second to the SIM to ask for the signal level of the GSM:



  Any comment? Thx

 every second (or two, as the case may be) might be a bit extreme, but
 this is just getting the signal quality.


I also noticed that without sim card, it keeps trying to communicate
with it continuously. I do not know if it is resource consuming ? (is
gsm off in such a case ? Or does it suck battery a little more ?)
Polling SIM module wihtout card so often is not needed, especially
since we cannot change SIM card without taking battery out (granted it
could be done when plugged in)

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


Re: [Om2008.9] AtChat talking every second to SIM

2008-10-21 Thread Matthias Apitz
El día Tuesday, October 21, 2008 a las 12:24:57PM +0200, Cédric Berger escribió:

  every second (or two, as the case may be) might be a bit extreme, but
  this is just getting the signal quality.
 
 
 I also noticed that without sim card, it keeps trying to communicate
 with it continuously. I do not know if it is resource consuming ? (is
 gsm off in such a case ? Or does it suck battery a little more ?)
 Polling SIM module wihtout card so often is not needed, especially
 since we cannot change SIM card without taking battery out (granted it
 could be done when plugged in)

On an idle FR with SIM and registered to network this polling costs
around 3.1-3.5% of CPU:

Cpu(s):  4.2%us,  2.4%sy,  0.0%ni, 93.5%id,  0.0%wa,  0.0%hi,  0.0%si, 0.0%st
  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
  
 1461 root  20   0 82060  23m  15m S  3.1 19.3   1:22.81 qpe
  

I was wondering if this could be configured somewhere...

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

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