dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: charging questions

Re: charging questions

From: Andrew Hart <>
Date: Fri, 23 Jun 2006 11:10:39 -0400

Interesting. Two days ago, I compiled up a 20060621 cvs update for
my Iriver H340. After installing this build, I can no longer turn
off Rockbox while the AC adapter is plugged in. Rockbox pauses a
moment and simply rereads the currently selected file in the file browser.

I am sure I have never had any difficulties with this before now. To
turn it off, I have to momentarily unplug it, hold stop, wait to hear
the drive spin up and down and the audio switch off so I know it's
actually going to shut down properly. then I can plug it back into
the power. Though, sometimes after plugging it back into the power,
the Iriver firmware boot spontaneously. I'm watching this trying to
determine if there's something I'm doing that's causing the original
firmware to start, but I didn't notice this happening before
INSTALLING THIS BUILD. It seems that if I hold stop, wait for the
drive to spin down and plug in the AC adapter, there is a pause for a
few seconds and the Iriver firmware starts. I need to do some more
concerted testing to see if this happens every time, but it is
happening a lot.
I'll update cvs and recompile later today or on the week-end when I
have time to see if that makes a difference.

Anyone else seeing anything like these little probs?


At 10:21 PM 22/06/2006, you wrote:
>Hi all,
>I am curious about a few points regarding Rockbox and charging:
>* Why is HAVE_POWEROFF_WHILE_CHARGING not defined for the Iriver
>H300? Is this to stop the Iriver firmware from booting subsequent to
>Rockbox power down with the charger inserted?
>* The Rockbox code, in clean_shutdown() and several other places,
>prevents Rockbox from powering down if HAVE_POWEROFF_WHILE_CHARGING
>is not defined and the charger is inserted. Rockbox not completely
>powering down makes sense, but why is charging_screen() not called
>instead of leaving the Rockbox browser, WPS, etc. displayed?
>Currently, as I understand it, charging_screen() is only called when
>the charger is inserted while Rockbox is powered off.
>* How much work actually remains to get the charging screen to work
>on the Iriver H300? I understand the bootloader would have to be
>modified, but are the basics already there (reporting of charging
>state, battery level, etc.)?
>James Teh
>MSN Messenger:
>Yahoo: jcs_teh
Received on 2006-06-23

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