Rockbox mail archiveSubject: Re: Starting RockBox from the hard drive with connected power supply...
Re: Starting RockBox from the hard drive with connected power supply...
From: [IDC]Dragon <idc-dragon_at_gmx.de>
Date: Thu, 23 Oct 2003 16:08:27 +0200 (MEST)
> > 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
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
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
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.
-- 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! +++Received on 2003-10-23