Rockbox mail archive
Subject: Re: AJB wake up in car application
From: c s (rb_dev_at_yahoo.com)
Date: 2004-03-26
--- Matthias Klumpp <Matthias.Klumpp_at_gmx.de> wrote:
> Is there already any possibility to realize such a
> wake up ?
>
> If, yes:
> What has to be done?
To do this you have to remove the call to the function
that causes Rockbox to go into the charging screen
when power is applied to a powered down Rockbox, and
flash your Archos with the executable created with
that modification. For this to work though, you MUST
have a "flashed" Rockbox, otherwise you will always
boot to the Archos charging screen when power is
applied.
Remove this block of code in main.c and a flashed
Rockbox will act as if the on button was pressed when
power is applied:
----------------
if (coldstart && charger_inserted())
{
rc = charging_screen(); /* display a "charging"
screen */
if (rc == 1 || rc == 2) /* charger removed or
"Off/Stop" pressed */
power_off();
/* "On" pressed or USB connected: proceed */
}
-----------------
=====
Craig
rb_dev_at_yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Page was last modified "Jan 10 2012" The Rockbox Crew
|