Support and General Use > Hardware
Sansа Clip Zip - Improve battery life
Mihail Zenkov:
--- Quote from: saratoga on June 01, 2015, 08:11:42 PM ---Yes I'll commit those shortly.
--- End quote ---
Thanks!
--- Quote from: saratoga on June 01, 2015, 08:11:42 PM ---I can't login into gerrit though
--- End quote ---
I have same problem.
What you think about usb problem?
http://forums.rockbox.org/index.php/topic,48549.msg233822.html#msg233822
I have look deeper into this problem.
On USB_INSERTED event (in usb.c) we call:
usb_stack_enable() -> usb_enable()
usb_set_host_present() -> usb_configure_drivers() -> usb_attach() -> usb_enable()
On USB_EXTRACTED event (in usb.c) we call:
usb_stack_enable() -> usb_enable()
usb_set_host_present() -> usb_configure_drivers()
So on USB_EXTRACTED we don't call second time usb_enable(false). Not sure how right to fix it and why we call usb_enable twice on USB_ISERTED.
saratoga:
Sorry I have never even looked at the USB stack, but a few people on IRC do know quite a bit about it.
LolaPalocz:
I just compiled latest git rockbox with amsv2_scaling_v8.patch for sansa clip zip.
I've just started using it, so no report on stability (it's fine for now).
Just an observation :
- when audio is playing, menu navigation is a bit slow (0.5 / 1 second lag) when browsing directories with lots of files and directories in them (> 30).
- when audio is not playing, it's fast (no lag noticed) as before when browsing the same directories.
There may also be some black screen for 0.5/1 second while activating backlight/displaying current working directory content.
(I "may" notice a lower lag if i disable some sound processing settings, so it may be related to cpu use)
So, it's no big deal, and i will probably get used to it, if battery is saved.
But if I wanted to trade a bit of power saving for a bit more responsiveness in file browsing, what would i need to change in this patch ?
Thanks (for all your work !)
Mihail Zenkov:
--- Quote from: LolaPalocz on June 03, 2015, 04:28:37 PM ---But if I wanted to trade a bit of power saving for a bit more responsiveness in file browsing, what would i need to change in this patch ?
--- End quote ---
We discussed this before:
http://forums.rockbox.org/index.php/topic,48549.msg233424.html#msg233424
But we still don't have patch for this.
LolaPalocz:
Yes, i had read this. But these reports were about clip+ or clipv2. Just thought I let you know there's still a noticable side effect with (my) clip zip.
(I also had one freeze this morning while switching tracks - will report later if it happens again).
My question was actually what I can quickly modifiy (for my own usage) in this patch.
Reading the patch, there seem to be 4 "tunables" :
CPU_FREQ and CPUFREQ_DEFAULT 38400000
AS3525_PLLA_FREQ 192000000
ascodec_write_pmu(0x17, 2, 0x80 | 111);
ascodec_write_pmu(0x17, 1, 0x80 | 19);
So, which one(s) could I increase to get a little bit more responsiveness ?
Also, couldn't cpu_boost(1) be called when backlight is activated and cpu_boost(0) called when it goes off (assuming people always have some kind of timeout for backlight) ?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version