Support and General Use > Plugins/Viewers

alarm plugin??

(1/2) > >>

Alter-Ego:
i was just wondering about it and my question is if it could be possible to autopower on
and play a song.
yes, i mean an alarm plugin or simply play a song without power on
and keep ipod turned on all night (connected to the wall)
i hope its added soon cuz im about to enter to school and
waking up with the symphony of destruction would be cool!!!

well keep on  rocking

aliask:
Yes, this is definitely possible - it's already been done on the Archos platforms with a clock function.

However, it requires RTC support in the bootloader, and this hasn't been done on any other platforms (yet!). H300 are probably going to get this sometime in the not-too-distant future, but as for iPods, I think it's a bit further away due to the lack of information about the iPod hardware (if anyone knows better, feel free to prove me wrong).

Yotto:
No RTC support?  I'm not a programmer (though I do dabble) so maybe I'm misunderstanding you.  It is possible to get the current time on iPods, as my WPS is displaying the correct time right now.  Isn't it then possible to ask every, say, 10 seconds if the hour/minute matches the alarm value, and then take an action (Play a specific song, just start playing, or whatever)?

Multiplex:
I haven't dived into the detail for Rockbox but the usual way this sort of thing is done is to program up the RTC with the alarm, then put the processor tp sleep till the RTC interupt wakes it up, you then have to go ans looke to see what caused the wakeup (on button or RTC) and take the appropriate action - normal startup or alarmclock function.

I think that this might need a hardware mod on the Archos to connect the interupt line.

aliask:

--- Quote from: Multiplex on August 17, 2006, 08:09:58 AM ---I haven't dived into the detail for Rockbox but the usual way this sort of thing is done is to program up the RTC with the alarm, then put the processor tp sleep till the RTC interupt wakes it up, you then have to go ans looke to see what caused the wakeup (on button or RTC) and take the appropriate action - normal startup or alarmclock function.

I think that this might need a hardware mod on the Archos to connect the interupt line.

--- End quote ---

This is my understanding of the situation. This requires bootloader compatibility, which isn't there for  anything other than the modded Archos at the moment.

Navigation

[0] Message Index

[#] Next page

Go to full version