Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Battery/Charging
  • Assigned To No-one
  • Operating System Archos Recorder
  • Severity Low
  • Priority Very Low
  • Reported Version Version 3.2
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by tspoon - 2009-04-02
Last edited by dreamlayers - 2009-04-06

FS#10091 - Boots instead of charging screen ('Car Mode' is 'off')

With 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.

Closed by  dreamlayers
2009-04-06 01:49
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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing