Rockbox mail archive
Subject: Re: AJB wake up in car application
I've actually done this myself.
The settings are not all saved in RTC. Some are saved on disk.
So the settings are loaded after the disk check. Simply add
one more setting load before charging screen is useless because,
unfortunately, the car mode setting is saved on disk. So I have
to exchanged the car mode setting with flip_display setting,
which is saved in RTC. By doing that, you save the car mode
setting in RTC. Load settings before charging screen and add a
check before entering.
I think powering up when power returns is more reasonable in
car adapter mode.
>>One feature is missing. That is to wake the AJB up, when power returns.
>>Currently I need to have the AJB within reach, to press ON if I want to
>>switch it on.
>>For such an application I would recommend to let the power permanently
>>connected to the AJB (that's my prerequisite).
>>Is there already any possibility to realize such a wake up ?
>>What has to be done?
>This is generally possible. The Firmware has to be modified such that the
>"Car-Adaptor-Mode" Setting is read from the RTC before the decission to go
>to charge-screen is made.
>I looked into the code, and the problem is: settings are loaded after that
>decission (which makes sense).
>We (or better one of the core coders) should do a bypass to read single
>settings from the RTC and for that purpose.
Page was last modified "Jan 10 2012" The Rockbox Crew