[maemo-developers] [maemo-developers] Maemo Alarm/Notifier Interface
From: Nils Faerber nils.faerber at kernelconcepts.deDate: Mon Jan 16 15:24:00 EET 2006
- Previous message: [maemo-developers] Maemo Alarm/Notifier Interface
- Next message: [maemo-developers] Maemo Alarm/Notifier Interface
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Igor Stoppa schrieb: > On Fri, 2006-01-13 at 16:11 +0100, ext Nils Faerber wrote: > Igor Stoppa schrieb: >> [snip] >>Obviously they have different wakeup latencies but all of them are >>insignificant, when compared to the delay that would be introduced by a >>traditional suspend-to-disk, which is the closer state to the "poweroff" >>that youu are mentioning. > Well, power-off is something like shutdown in the first place, not > necessarily connected to suspend to disk - you could simply reboot the > device loosing your state. >> That's not really desired in a consumer device. I just meant the runtime-state, i.e. all running applications will simply be closed. All data will of course be preserved. > But as someone ales already pointed out I would also accept and even > expect that a device that is switched off (770 power button -> switch > off) will indeed keep being switched off despite of any occuring alarms. > The user should know what he does when switching off his/her device. So > I think we can basically ignore the power off problem and concentrate on > the other above mentioned power/sleep states. >> Again, we are talking about something that is actually meant to be sold, >> so it has to behave nicely. Personally I like to have my alarms to be >> fire & forget. What's the point of setting an alarm if I have to >> remember to take care of the thing that should remind me of it? > >> Even if we can achieve roughly 10 days of standby time, that's not much >> compared to the power saving that can be achieved by effectively >> switching off the device over very long periods of inactivity. >> That would be compromised by such an approach of delivering alarms only >> when the device is on. Well, judging from the rest of the software of the 770 I do not see the off case as a regular use case. It is to me more something like a state to safe the battery from 100% depletion. >> These small details make the difference between a "device for hackers >> only" and a device that can leverage the benefits of running linux and >> yet provide a good user experience even to the regular users. Well, comparing with today's other PDA like devices this behaviour seems pretty normal for me - a switched off PocketPC will be off, no matter what (even worse, some of them cannot be switched of at all in the first place causing their batteries to be drained 100% whan not taken care of! This is very bad with devices with fixed built in batteries which is why I guess that Nokia implemented the Switch-Off). I also guess that most Palms and alike behave the same - off is off. Only exception from that rule I know of are (some) mobile phones. I see that it would be a nice feature but I also see that it is too much hassle to implement. Please observe that not only the switch-on from power-off case is a problem but also how to handle the reverse direction. After having half booted the machine to signal the alarm you would have to automatically shut it down again. Then think about plane rides - say the offline mode is not activated, i.e. the wireless modules have been on at shut-down time. Now you travel in a plane and an alarm goes off in your pocket, bootig the device up. Shall the radio be activated according to last saved state or should it be switched off? What about user experience here? Last time the user shut the device off the radio was on but now it is shut off? Why? No, sorry, I still see the switch-off case as far too problematic to deal with, at least at this point. Since 90% of the system has to be booted again to signal an alarm (GUI + DSP sound) it will cause a lot of hassle to get this right. The resume from suspend will be good enough as a start and can, if someone really wants to, be extended to wake from off. > That is just a bit in some regsiter - a very trivial kernel > modification. The more problem would be to write an OMAP RTC compatible > driver for the 1710 (if not yet existent, which it IMHO is not) since > there is not documentation for the 1710 publically available. >> I checked it some time ago for a basic wakeup functionality and apart >> for a few changes that functionality was already provided. Oh, great! Though the typical /proc/drivers/rtc is missing on the 770 so I guess that this 1710 RTC driver does not exist in the 770 kernel (build) yet. Cheers nils faerber - -- kernel concepts Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen Mob: +49-176-21024535 - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDy55vJXeIURG1qHgRAgzzAJ9eqOn/GIPbqHUKekD8vyve/cmPaACeNKTl ugKTtw571ApbvGFg8Jw0EQw= =R+Ho -----END PGP SIGNATURE-----
- Previous message: [maemo-developers] Maemo Alarm/Notifier Interface
- Next message: [maemo-developers] Maemo Alarm/Notifier Interface
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]