Re: QTopia 4.3.2 resume on incomming SMS bug

2008-09-01 Thread Holger Freyther
On Monday 01 September 2008 02:44:47 Lorn Potter wrote:

 zecke:
 The fix for this seems to be this:

Looks like 
http://git.openmoko.org/?p=qtopia.git;a=commit;h=a11f4b79b057a5bf219c80abf27bd2d57c67ae5f

The only difference is that our log message still says 'W' while we handled 
the Notification properly.

anyway thanks for thinking of us :)

z.

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


Re: QTopia 4.3.2 resume on incomming SMS bug

2008-08-31 Thread Clemens Kirchgatterer
Daniel Selinger [EMAIL PROTECTED] wrote:

 The only thing i recognized is, when receiving an sms while in
 suspend, the phone resumes, but doesn't notify me about an incoming
 sms, and when i go to the messaging app, there is nothing new in the
 inbox. In fact i know 'something' arrived, because the phone woke up
 from suspend.
 
 All messages which were received during suspend 'arrive' when the
 first sms comes in while the phone is awake.
 
 Sent 3 sms during suspend (always waited between until the phone
 suspended again), no alert. Wake the phone up manually, no alert.
 Send the first sms while awake. Phone alerts me that i have received 4
 new sms messages.
 
 Maybe someone can tell me where to report bugs in the QTopia image.

this sounds awully like:

https://docs.openmoko.org/trac/ticket/1792

hope this helps.

clemens

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


Re: QTopia 4.3.2 resume on incomming SMS bug

2008-08-31 Thread Thomas B.
On Sun, Aug 31, 2008 at 11:16:14AM +0200, Clemens Kirchgatterer wrote:
 Daniel Selinger [EMAIL PROTECTED] wrote:
 
  The only thing i recognized is, when receiving an sms while in
  suspend, the phone resumes, but doesn't notify me about an incoming
  sms, and when i go to the messaging app, there is nothing new in the
  inbox. In fact i know 'something' arrived, because the phone woke up
  from suspend.
  
  All messages which were received during suspend 'arrive' when the
  first sms comes in while the phone is awake.
  
  Sent 3 sms during suspend (always waited between until the phone
  suspended again), no alert. Wake the phone up manually, no alert.
  Send the first sms while awake. Phone alerts me that i have received 4
  new sms messages.
  
  Maybe someone can tell me where to report bugs in the QTopia image.
 
 this sounds awully like:
 
 https://docs.openmoko.org/trac/ticket/1792
 
 hope this helps.

Sounds similar, but I doubt that it is the same issue, because #1792 was
caused by an Openmoko specific patch to the Qtopia source, which
probably isn't included in the original Qtopia.

Anyway, a hint for diagnosing this problem is to get log data to see how
and where it fails. I guess logging isn't enabled by default in Qtopia,
but AFAIK it can be enabled by copying
/opt/Qtopia/etc/default/Trolltech/Log.conf to
~/Settings/Trolltech/Log.conf and enabling some logging options there
(in particular AtChat for the communication with the GSM modem). The
logs can then be read with logread.

HTH,
Thomas


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


Re: QTopia 4.3.2 resume on incomming SMS bug

2008-08-31 Thread Lorn Potter
Thomas B. wrote:
 On Sun, Aug 31, 2008 at 11:16:14AM +0200, Clemens Kirchgatterer wrote:
 Daniel Selinger [EMAIL PROTECTED] wrote:

 The only thing i recognized is, when receiving an sms while in
 suspend, the phone resumes, but doesn't notify me about an incoming
 sms, and when i go to the messaging app, there is nothing new in the
 inbox. In fact i know 'something' arrived, because the phone woke up
 from suspend.

 All messages which were received during suspend 'arrive' when the
 first sms comes in while the phone is awake.

 Sent 3 sms during suspend (always waited between until the phone
 suspended again), no alert. Wake the phone up manually, no alert.
 Send the first sms while awake. Phone alerts me that i have received 4
 new sms messages.

 Maybe someone can tell me where to report bugs in the QTopia image.
 this sounds awully like:

 https://docs.openmoko.org/trac/ticket/1792

 hope this helps.
 
 Sounds similar, but I doubt that it is the same issue, because #1792 was
 caused by an Openmoko specific patch to the Qtopia source, which
 probably isn't included in the original Qtopia.
 
 Anyway, a hint for diagnosing this problem is to get log data to see how
 and where it fails. I guess logging isn't enabled by default in Qtopia,
 but AFAIK it can be enabled by copying
 /opt/Qtopia/etc/default/Trolltech/Log.conf to
 ~/Settings/Trolltech/Log.conf and enabling some logging options there
 (in particular AtChat for the communication with the GSM modem). The
 logs can then be read with logread.

zecke:
The fix for this seems to be this:

 //depot/qtopia/4.3/src/libraries/qtopiacomm/serial/qatchat.cpp#6 (text) 


859c859,865
 qLog(AtChat)  W :  d-line;
---
  // Notifications are still processed in case an important 
  event
  // like an incoming SMS arrives during the wakeup process.
  QString command;
  if ( d-matcher-lookup( d-line, command ) == 
  QPrefixMatcher::Notification )
  qLog(AtChat)  d-notifyChar  :  d-line;
  else
  qLog(AtChat)  W :  d-line;




-- 
Lorn 'ljp' Potter
Software Engineer, Systems Group, Trolltech, a Nokia company


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


QTopia 4.3.2 resume on incomming SMS bug

2008-08-28 Thread Daniel Selinger

Don't know really where to post this, so i do it here, maybe someone
can point me to the right place.

QTopia 4.3.2 suspended and resumed perfectly for me for a whole day
now, which is the most i ever got out of my freerunner until now
without breaking gsm or sleeping forever at some point.
Resume works perfectly with calls.

The only thing i recognized is, when receiving an sms while in suspend,
the phone resumes, but doesn't notify me about an incoming sms, and
when i go to the messaging app, there is nothing new in the inbox.
In fact i know 'something' arrived, because the phone woke up from
suspend.

All messages which were received during suspend 'arrive' when the first
sms comes in while the phone is awake.

Sent 3 sms during suspend (always waited between until the phone
suspended again), no alert. Wake the phone up manually, no alert.
Send the first sms while awake. Phone alerts me that i have received 4
new sms messages.

Maybe someone can tell me where to report bugs in the QTopia image.

rgds Daniel


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