Re: Received SMS going unnoticed

2009-11-13 Thread Xavier Cremaschi
But are the accelerometers enabled when FR is in sleep mode ? Because if 
you have to wake up the FR to enable them then it's faster to read your 
phone screen :P

Xavier.


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


Re: Received SMS going unnoticed

2009-11-13 Thread Petr Vanek
But are the accelerometers enabled when FR is in sleep mode ? Because
if you have to wake up the FR to enable them then it's faster to read
your phone screen :P

you can set a threshold on the accels to generate interrupt to wake the
phone, upon waking, it could check if there was a missed call or a
message, if yes, then vibrate...

petr


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


Re: Received SMS going unnoticed

2009-11-13 Thread Josh
On Friday November 13, 2009, Petr Vanek wrote:
 But are the accelerometers enabled when FR is in sleep mode ? Because
 if you have to wake up the FR to enable them then it's faster to read
 your phone screen :P

 you can set a threshold on the accels to generate interrupt to wake the
 phone, upon waking, it could check if there was a missed call or a
 message, if yes, then vibrate...

I really like this idea.  If some event happens (such as a received SMS, 
missed call, etc), use the accelerometers to see if the phone is moved for 
some number of seconds afterward.  If not, then configure them to wake the 
phone the next time it is moved before going into suspend.  When movement 
wakes it up, notify the user to check for a missed event (turn on 
display/blink LED/vibrate/whatever).

Josh

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


Re: Received SMS going unnoticed

2009-11-13 Thread arne anka
 I really like this idea.  If some event happens (such as a received SMS,
 missed call, etc), use the accelerometers to see if the phone is moved  
 for
 some number of seconds afterward.  If not, then configure them to wake  
 the
 phone the next time it is moved before going into suspend.  When movement
 wakes it up, notify the user to check for a missed event (turn on
 display/blink LED/vibrate/whatever).


what is supposed to happen, if you have the phone in, say, your backpack?


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


Received SMS going unnoticed

2009-11-12 Thread Ben Wilson
Hi,

I've been using SHR unstable for my everyday phone for a while and i was 
wondering what solutions people
are using to stop sms messages arriving without being noticed.

I leave me phone running and on charge next to the PC when i'm at home 
so the battery is always full when i go out.
What's happening is I get a sms and of course the sound plays but i'm 
not there to hear it.
With the auto screen poweroff I don't even notice when I return to the 
PC, can be a few hours before i tap the phone and notice.

I could turn off auto screen poweroff, so when I return the new message 
is visible on the phone but then the LCD would be running pretty much 
all day/night which is probably not so good for its lifespan.

What would be ideal is for it to keep playing the new message sound 
every few minutes while the new message popup is being displayed. Does 
anyone have a cron script or anything to solve this problem.

Thanks
Ben.

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


Re: Received SMS going unnoticed

2009-11-12 Thread Davide Scaini
maybe a led flashing... we have 3 leds!
d

On Thu, Nov 12, 2009 at 9:40 PM, Ben Wilson b...@abcom.co.nz wrote:

 Hi,

 I've been using SHR unstable for my everyday phone for a while and i was
 wondering what solutions people
 are using to stop sms messages arriving without being noticed.

 I leave me phone running and on charge next to the PC when i'm at home
 so the battery is always full when i go out.
 What's happening is I get a sms and of course the sound plays but i'm
 not there to hear it.
 With the auto screen poweroff I don't even notice when I return to the
 PC, can be a few hours before i tap the phone and notice.

 I could turn off auto screen poweroff, so when I return the new message
 is visible on the phone but then the LCD would be running pretty much
 all day/night which is probably not so good for its lifespan.

 What would be ideal is for it to keep playing the new message sound
 every few minutes while the new message popup is being displayed. Does
 anyone have a cron script or anything to solve this problem.

 Thanks
 Ben.

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

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


Re: Received SMS going unnoticed

2009-11-12 Thread Ben Wilson
Unfortunately, i have gta01, no leds

Ben.

Davide Scaini wrote:
 maybe a led flashing... we have 3 leds!
 d

 On Thu, Nov 12, 2009 at 9:40 PM, Ben Wilson b...@abcom.co.nz 
 mailto:b...@abcom.co.nz wrote:

 Hi,

 I've been using SHR unstable for my everyday phone for a while and
 i was
 wondering what solutions people
 are using to stop sms messages arriving without being noticed.

 I leave me phone running and on charge next to the PC when i'm at home
 so the battery is always full when i go out.
 What's happening is I get a sms and of course the sound plays but i'm
 not there to hear it.
 With the auto screen poweroff I don't even notice when I return to the
 PC, can be a few hours before i tap the phone and notice.

 I could turn off auto screen poweroff, so when I return the new
 message
 is visible on the phone but then the LCD would be running pretty much
 all day/night which is probably not so good for its lifespan.

 What would be ideal is for it to keep playing the new message sound
 every few minutes while the new message popup is being displayed. Does
 anyone have a cron script or anything to solve this problem.

 Thanks
 Ben.

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


 

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


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.425 / Virus Database: 270.14.62/2499 - Release Date: 11/12/09 
 14:33:00

   

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


Re: Received SMS going unnoticed

2009-11-12 Thread Davide Scaini
d'ho! :P
I can understand... I cannot help you because i'm not using the fr as phone
(waiting buzz fix), but this is indeed an interesting point to discuss
about.
d

On Thu, Nov 12, 2009 at 11:09 PM, Ben Wilson b...@abcom.co.nz wrote:

 Unfortunately, i have gta01, no leds

 Ben.

 Davide Scaini wrote:
  maybe a led flashing... we have 3 leds!
  d
 
  On Thu, Nov 12, 2009 at 9:40 PM, Ben Wilson b...@abcom.co.nz
  mailto:b...@abcom.co.nz wrote:
 
  Hi,
 
  I've been using SHR unstable for my everyday phone for a while and
  i was
  wondering what solutions people
  are using to stop sms messages arriving without being noticed.
 
  I leave me phone running and on charge next to the PC when i'm at
 home
  so the battery is always full when i go out.
  What's happening is I get a sms and of course the sound plays but i'm
  not there to hear it.
  With the auto screen poweroff I don't even notice when I return to
 the
  PC, can be a few hours before i tap the phone and notice.
 
  I could turn off auto screen poweroff, so when I return the new
  message
  is visible on the phone but then the LCD would be running pretty much
  all day/night which is probably not so good for its lifespan.
 
  What would be ideal is for it to keep playing the new message sound
  every few minutes while the new message popup is being displayed.
 Does
  anyone have a cron script or anything to solve this problem.
 
  Thanks
  Ben.
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org mailto:community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
  
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
  
 
 
  No virus found in this incoming message.
  Checked by AVG - www.avg.com
  Version: 8.5.425 / Virus Database: 270.14.62/2499 - Release Date:
 11/12/09 14:33:00
 
 

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

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


Re: Received SMS going unnoticed

2009-11-12 Thread arne anka
basically it should be possible, to write a rule for oeventsd in  
rules.yaml (incoming sms should be an event supported).
if not, you could opimd-cli and do something like

opimd-cli messages query MessageRead 0 | grep Numer of results: | awk  
'{print $4}'

which would print the number of unread (which 0 means, imo) messages  
(Numer is the correct typo :-), but better check again).
as long as the resulting number != 0, you could trigger a vibration.

DISPLAY=:0 qdbus --system org.freesmartphone.odeviced  
/org/freesmartphone/Device/LED/neo1973_vibrator   
org.freesmartphone.Device.LED.SetBlinking 60 3000


i still don't know, how to call directly via bash/dbus call, which would  
be a tad less resource consuming.

DISPLAY=:0 qdbus --system org.freesmartphone.opimd  
/org/freesmartphone/PIM/Messages/Queries   
org.freesmartphone.PIM.MessageQuery.GetResultCount

produces an error:
ValueError: invalid literal for int() with base 10: ''


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


Re: Received SMS going unnoticed

2009-11-12 Thread Ben Wilson
Thanks

That looks like a good place to start, i'll have a go at it.

Ben.

arne anka wrote:
 basically it should be possible, to write a rule for oeventsd in  
 rules.yaml (incoming sms should be an event supported).
 if not, you could opimd-cli and do something like

 opimd-cli messages query MessageRead 0 | grep Numer of results: | awk  
 '{print $4}'

 which would print the number of unread (which 0 means, imo) messages  
 (Numer is the correct typo :-), but better check again).
 as long as the resulting number != 0, you could trigger a vibration.

 DISPLAY=:0 qdbus --system org.freesmartphone.odeviced  
 /org/freesmartphone/Device/LED/neo1973_vibrator   
 org.freesmartphone.Device.LED.SetBlinking 60 3000


 i still don't know, how to call directly via bash/dbus call, which would  
 be a tad less resource consuming.

 DISPLAY=:0 qdbus --system org.freesmartphone.opimd  
 /org/freesmartphone/PIM/Messages/Queries   
 org.freesmartphone.PIM.MessageQuery.GetResultCount

 produces an error:
 ValueError: invalid literal for int() with base 10: ''


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


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.425 / Virus Database: 270.14.62/2499 - Release Date: 11/12/09 
 14:33:00

   

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


Re: Received SMS going unnoticed

2009-11-12 Thread Robin Paulson
2009/11/13 Ben Wilson b...@abcom.co.nz:
 What would be ideal is for it to keep playing the new message sound
 every few minutes while the new message popup is being displayed. Does
 anyone have a cron script or anything to solve this problem.

personally, i would find it very useful to tie this in to the
vibrators, so when i pick the phone up, it notifies me again of a
text/missed call.

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


Re: Received SMS going unnoticed

2009-11-12 Thread Robin Paulson
2009/11/13 Ben Wilson b...@abcom.co.nz:
 Good idea,
 Could use the accelerometers to sense it being picked up.
 Couldn't do it in gta01 though, since it doesn't have the sensors.

d'oh! yeah, i meant accelerometers, not vibrators. of course, the
notification would follow whatever is defined in the settings|profiles

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


Re: Received SMS going unnoticed

2009-11-12 Thread Ben Wilson
Good idea,
Could use the accelerometers to sense it being picked up.
Couldn't do it in gta01 though, since it doesn't have the sensors.

Ben.

Robin Paulson wrote:
 2009/11/13 Ben Wilson b...@abcom.co.nz:
   
 What would be ideal is for it to keep playing the new message sound
 every few minutes while the new message popup is being displayed. Does
 anyone have a cron script or anything to solve this problem.
 

 personally, i would find it very useful to tie this in to the
 vibrators, so when i pick the phone up, it notifies me again of a
 text/missed call.

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


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.425 / Virus Database: 270.14.62/2499 - Release Date: 11/12/09 
 14:33:00

   

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