Support and General Use > Hardware

Sansа Clip Zip - Improve battery life

<< < (54/65) > >>

oid_maps:

--- Quote from: Mihail Zenkov on December 15, 2015, 06:19:22 AM ---Another patch with bigger delay:

--- End quote ---

Yes, that does the job, thanks.

Why are the delays important? Race conditions?

Does it make sense if I try to "tweak" the delays as low as possible, or is it negligible effect if the delay is a bit bigger than necessary?

Mihail Zenkov:

--- Quote from: oid_maps on December 24, 2015, 11:55:36 AM ---Yes, that does the job, thanks.

--- End quote ---
Thanks for report and testing :)


--- Quote from: oid_maps on December 24, 2015, 11:55:36 AM ---Why are the delays important? Race conditions?

--- End quote ---
Fuze v2 have hold and power button on same pin. We need some hack to detect hold state. This hack sensitive to delays.


--- Quote from: oid_maps on December 24, 2015, 11:55:36 AM ---Does it make sense if I try to "tweak" the delays as low as possible, or is it negligible effect if the delay is a bit bigger than necessary?

--- End quote ---
Yes, it will be good. When we check buttons state we disable irq. So better have this delays low as possible.

oid_maps:

--- Quote from: Mihail Zenkov on December 24, 2015, 02:23:12 PM ---
--- Quote from: oid_maps on December 24, 2015, 11:55:36 AM ---Does it make sense if I try to "tweak" the delays as low as possible, or is it negligible effect if the delay is a bit bigger than necessary?

--- End quote ---
Yes, it will be good. When we check buttons state we disable irq. So better have this delays low as possible.

--- End quote ---
There are two delays; the second one in your patches is half the time of the first one. How do the delays interact? Should I try arbitrary combinations of both (so it is a two-dimensional problem), should I keep the factor 2 (which makes it an one-dimensional problem), or should the second one be in some, but not strict, relationship to the first one?

Mihail Zenkov:
First, try find lower value for first delay. Then try same for second delay.

oid_maps:
When just changing the patch and compiling with changed values, everything "up to date" -- which binary to upgrade to the device? fuzpa.bin, or the .rockbox/-tree? (Currently, I copy both over to the device.)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version