This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10091 - Boots instead of charging screen ('Car Mode' is 'off')
Attached to Project:
Rockbox
Opened by Alun Thomas (tspoon) - Thursday, 02 April 2009, 22:02 GMT+2
Last edited by Boris Gjenero (dreamlayers) - Monday, 06 April 2009, 03:49 GMT+2
Opened by Alun Thomas (tspoon) - Thursday, 02 April 2009, 22:02 GMT+2
Last edited by Boris Gjenero (dreamlayers) - Monday, 06 April 2009, 03:49 GMT+2
|
DetailsWith 3.2 loaded, Rockbox starts automatically when the DC jack is inserted, even though the 'Car Mode' Setting is set to 'off'. It normally would show the charging screen and not boot into rockbox.
|
This task depends upon
Closed by Boris Gjenero (dreamlayers)
Monday, 06 April 2009, 03:49 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed in r20634
Monday, 06 April 2009, 03:49 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed in r20634
Are you starting Rockbox from flash? Does charger detection work?
Yes I have set the 'P' and 'C' (plugged and charging) flags to show on my wps, and they are functioning correctly. I am starting from flash, with bootloader 3.0, although it also does for bootloader 2.0, but not if I return to an earlier release of rockbox in flash.
The return value of charger_inserted() is based on periodic polling of hardware by power_thread(). When init() checks whether to go to the charging screen, power_thread() has not yet checked charger status for the first time, and so charger_inserted() returns false. This patch checks the status of the hardware directly via power_input_status().
Thanks boris, I'm not set up to compile right now, but hopefully your work will result in a quick fix in the daily builds.
Here's a build with the patch: http://drop.io/dreamlayers/asset/rockbox-20608m-recorderv1-fs10091-zip