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: Starting RockBox from the hard drive with connected power supply...
From: [IDC]Dragon (idc-dragon_at_gmx.de)
Date: 2003-10-23


> > We had that discussion, I still don't think it's practical. The software
> > doesn't know that the battery is too weak to power up the disk before it
> > has tried. In case it truly is too low, the operation has probably just
> > committed suicide by causing its own power fail.
>
> We need to test it before we reject it. I don't want the charging screen
> if it isn't absolutely necessary. It puts too many limits on power-up
> options.

Well, the suicide point has been "tested" back those days when there was no
charging screen. But I don't remember if the box just went out, or if it
restarted.
You don't think that Rockbox with no disk doesn't put too many limits?

I'm not shure I understand where you want to bring in the smarts. Maybe with
a persistent flag in RTC RAM like this:
1. if RTC flag is set, remember disk is not avail and goto 4.
2. set the flag, as an indication we're trying spinup
2. spinup
3. (if we're still alive) remember that we can use the disk
4. clear the flag
5. carry on with "normal" operation, charging, etc.

This could work if the power fail caused by the disk gives a clean reboot,
not a poweroff or brownout. But you need an unsuccessful iteration before you
reach diskless mode, clumsy I think.

Jörg

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++



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