1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware
Paul Sauro 4bde992ca3 pp502x: Fully shut down storage power on older(4g/photo, mini, mini2g) iPods
On these older iPods, power was not being shut down completely, which led to a backfeed situation leading to decreased battery life and some stability issues.

This was particuarly apparent when using SD card adapters that do not
respect the ATA power management commands (ie all of them), as they never enter a low-power state on their own.

With this change, there are reports of battery life exceeding 20 hours of continuous playback (~30% increase with CF cards, 3x improvement with SD cards) and appears to resolve intermittent wakeup stability issues with SD adapters.

Change-Id: I46cfff7a59bb18a448989812303f30869df24d2d
2025-02-07 09:49:50 -05:00
..
asm build: Various LTO fixes 2024-11-24 08:43:23 -05:00
common add itoa(), replace snprintf("%d") calls 2025-02-03 01:23:49 -05:00
drivers short circuit is_diacritic for 5-15% text drawing speed-up 2025-01-31 21:48:44 -05:00
export Remove NVRAM infavor of a separate cfg file 2025-01-21 00:04:32 -05:00
include add itoa(), replace snprintf("%d") calls 2025-02-03 01:23:49 -05:00
kernel kernel: Add queue_full() API call 2024-10-06 11:17:54 -04:00
libc isdigit replace with a slightly faster and shorter conditional 2025-02-02 13:57:58 -05:00
target pp502x: Fully shut down storage power on older(4g/photo, mini, mini2g) iPods 2025-02-07 09:49:50 -05:00
usbstack storage: rename MAX_LOG_SECTOR_SIZE to MAX_VIRT_SECTOR_SIZE 2024-11-09 16:32:40 -05:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c
backlight.c [Bugfix] call lcd_awake() unconditioanlly on shutdown for devices with HAVE_LCD_SLEEP 2025-01-05 10:59:46 -05:00
bidi.c
buflib_malloc.c buflib_malloc: fixed signed/unsigned comparison 2023-01-16 16:57:23 +00:00
buflib_mempool.c buflib: Add pinned get/put data functions 2023-01-15 11:06:27 +00:00
chunk_alloc.c [BugFix] chunk_alloc pass NULL to buflib_shrink 2023-03-09 20:15:38 -05:00
COPYING
core_alloc.c buflib: Add CONFIG_BUFLIB_BACKEND for selecting a buflib backend 2023-01-15 10:04:13 +00:00
debug.c
eeprom_settings.c
enc_base.c
events.c events.c clean-up 2022-12-30 07:23:29 -05:00
firmware.make build: Various LTO fixes 2024-11-24 08:43:23 -05:00
font.c short circuit is_diacritic for 5-15% text drawing speed-up 2025-01-31 21:48:44 -05:00
font_cache.c
general.c
hangul.c
linuxboot.c buflib_shrink use NULL to signal start isn't changing 2023-01-13 09:50:29 -05:00
load_code.c
logf.c
lru.c
panic.c panicf: Add version info 2025-01-01 20:48:03 -05:00
pcm.c Rework auto playback frequency switch 2023-10-28 15:11:07 -04:00
pcm_mixer.c
pcm_sampr.c
pcm_sw_volume.c
powermgmt.c powermgmt: adjust sleep timer behavior 2025-02-02 13:00:30 -05:00
profile.c
README
rolo.c ErosQNative: Add v3 LCD support, conditional on bootloader 2024-09-02 13:29:43 -04:00
rom.lds
screendump.c
scroll_engine.c Fix red fbc8b2156f 2024-08-28 21:26:06 -04:00
sdmmc.c
sound.c Remove NVRAM infavor of a separate cfg file 2025-01-21 00:04:32 -05:00
SOURCES add itoa(), replace snprintf("%d") calls 2025-02-03 01:23:49 -05:00
storage.c ata: Rework how flushing, sleeping, and power off interacts 2024-10-31 12:51:54 -04:00
system.c
timer.c
tuner.c
usb.c

See docs/README