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: AJB wake up in car application

Re: AJB wake up in car application

From: c s <rb_dev_at_yahoo.com>
Date: Thu, 25 Mar 2004 21:13:27 -0800 (PST)

--- 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
Received on 2004-03-26

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy