Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: sleep timer
From: Linus Nielsen Feltzing (linus_at_haxx.se)
Date: 2004-06-14


BlueChip wrote:

> My best thought on this is to trap the power-off request long enough
> before the hardware sees it, to affect any shut-down protocols that may
> be appropriate.

That works very well for the FM/V2, but the hardware timeout on the
older models may be very short, less than a second on my recorder.

> Trap OFF at 2S, get the voice to say "off" to let the user know the trap
> has happened; they can then release the OFF button before the hardware
> takes control and trust that Rockbox will finish the process.

That's exactly how it works for the FM/V2 in the original firmware, but
I don't think it'll work on the older models, since the user isn't
likely to let go of the OFF button that fast. ANd as I said above, my
recorder shuts off in about 1 second.

We should still implement it on the FM/V2 platforms, though.

> The biggest drawback I can see with this, is that the speech "off" would
> need to be ready in RAM at all times; as loading it off disk may take
> too long and all is lost.
>
> Perhaps we could register bash the MAS volume or something and create
> some form of beep?

Perhaps. I don't think it's *that* important, as long as the shutdown
sequence is long enough to allow the user to release the button in time.

Linus

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa