• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Battery/Charging
  • Assigned To No-one
  • Operating System iPod Nano
  • Severity Low
  • Priority Very Low
  • Reported Version Version 3.3
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by lazerdye - 2009-09-06
Last edited by torne - 2010-02-10

FS#10591 - iPod nano reboots on idle poweroff when plugged into JBL on stage

I have a 1st gen iPod nano with Rockbox 3.3 installed using rockbox utility. I have idle time set to 1 minute. When the nano is not plugged into anything, it shuts down normally after 1 minute. When it is plugged into my JBL on stage, it powers down but immediately boots back up in an endless cycle.

This issue sounds similar to bug 8372, but as nano appears to power down normally when not plugged in, I believe this is a separate issue.

Closed by  torne
2010-02-10 13:40
Reason for closing:  Fixed
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

This has been fixed in r24581 - the correct GPIOs were already checked but CONFIG_CHARGING had not been enabled.

Your JBL on stage powers (or charges) the iPod, right? This prevents the iPod from shutting down. The original firmware may appear to shut down, but it actually just goes into sleep mode.

The bug I see is that Rockbox should know that the iPod can’t shut down, and it should not allow you to attempt to shut it down. In firmware/export/config-ipodnano.h, it seems CONFIG_CHARGING should be set to CHARGING_MONITOR. All of the bits are properly checked in power-ipod.c and there is a Nano-specific percent_to_volt_charge table in powermgmt-ipod-pcf.c.

Here is a patch. I am unable to test it because I don’t have a Nano. System → Rockbox Info should show “Charging” instead of the runtime when the battery is charging. Further information is available via System → Debug (Keep Out) → View battery (scroll to different screens via the wheel). The patch should also enable a separate backlight timeout when plugged in and the car adapter mode option.

Note that all of this does not in any way affect charging functionality. It just affects what Rockbox knows about the current state and how Rockbox uses that knowledge. I’m pretty sure the Nano has hardware controlled charging, but I’m leaving the related FIXME comment nevertheless.


Available keyboard shortcuts


Task Details

Task Editing