Active Topics

 


Reply
Thread Tools
Posts: 173 | Thanked: 160 times | Joined on Jan 2010 @ London, UK
#1
I forgot to restart my phone when rebooting it this morning so after power down, had left it off. Then the alarm went off!? It looked as graphical as the normal times it goes off, but when I selected snooze, I was prompted by an option to turn the phone on at which point I twigged!

I selected yes and the NOKIA logo appeared and it slowly (well not that bad) booted up normally. How on earth did it display that much graphical complexity, and play a musical* alarm sound all from firmware? I'm fairly certain it hadn't booted up to be able to do the alarm and then was resetting to normal boot when I asked it to boot up fully, but that's one option.

Perhaps the firmware is way more advanced than I assumed, either way I'm impressed and confused. Can anyone shed any light?

*To be honest this is the default audio.
 
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#2
I'd guess it runs a daemon on the CPU which sleeps until the alarm should go off... So when the alarm is supposed to go off, it loads a bit of the gui and loads the alarm file and plays it.
 
Posts: 193 | Thanked: 92 times | Joined on May 2010 @ galveston, tx
#3
I think it's a background process similar to the one which is started when the phone is turned off and the charger is connected.
 
Posts: 164 | Thanked: 20 times | Joined on Jan 2010 @ Bucks, UK
#4
All phones do this, even basic £20 phones can do it
 
Posts: 81 | Thanked: 10 times | Joined on May 2010 @ Germany
#5
Cool, that's a nice feature. Had not yet given it a try. Good to know that it works. :-)

I missed that feature on my previous phone (windows mobile 6.1 .. ugh!) and loved it on all my phones before these windows dongles.

nexus
 
Posts: 81 | Thanked: 10 times | Joined on May 2010 @ Germany
#6
@Jezz

not all.
expensive windows mobile phones can't do it (XDA/HTC touch diamond).

nexus
 
Posts: 53 | Thanked: 9 times | Joined on Feb 2010
#7
Also if you phone powers down due to a dead battery it will store enough still in it to sound an alarm i believe.
 

The Following User Says Thank You to jasonisdavid For This Useful Post:
Posts: 173 | Thanked: 160 times | Joined on Jan 2010 @ London, UK
#8
The ability to control the backlighting and other I/O, detect proximity event changes, handle positional data on the touch screen and graphically display buttons and localised language words on the buttons is F*CK loads of OS capability. It also plays music!

This is not impossible to work out the changable stuff then flash in to a limited little OS of it's own along with the firmware. You could hardwire what you expect the firmware to handle so it just runs some preprepared cpu instructions to trigger all the right stuff. I'm just amazed this is done.

It does make some more sense to configure the internal low power clock with a time to wake up the device, then try a very fast boot, not many init scripts, do the alarm capability and then on request to power up, just reset in to a full OS. It seems a pity to to utilised the booted kernel but the lack of runthrough of init scripts might make that more messy.

I'd estimate that it takes about 75% of the Linux based OS (maemo) to handle playing an alarm wav and pick up the screen pressed option. It's stupid to say £20 phone does the same, their OSes boot in 1-3 seconds and have trivial keypad button hardware, screen and alarm noise functionality so the firmware IS the OS.
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#9
Lol... running with fbcon you actually see when you shotdown that the phone actually boots back up into some form of a sleep mode. I'm guessing just enough to actually run things that it needs to.
__________________
For any repos or anything else I might have working on my N900 see:
http://wiki.maemo.org/User:Ruskie
A quick list of what I have in the repos
zsh|xmms2|fcron|gtar|gcoreutils
 
Posts: 889 | Thanked: 537 times | Joined on Mar 2010 @ scotland
#10
yeah nokias have done this for a while now. my n95 sure did and pretty sure my 5230 did aswell. i'm no expert but of course the internal chronometer is always running, and has a command to wake up the os at alarmed times.
__________________
sarcasm may be the lowest form of wit, but its the only wit i have.

its a sad day when i can't slip at least one hitchhiker reference in somewhere.
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:53.