This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9883 - Correct the function for forcing the backlight ON and add a func to force it OFF
Attached to Project:
Rockbox
Opened by Alexander Levin (fml2) - Sunday, 08 February 2009, 13:08 GMT+2
Last edited by Teruaki Kawashima (teru) - Monday, 24 January 2011, 13:40 GMT+2
Opened by Alexander Levin (fml2) - Sunday, 08 February 2009, 13:08 GMT+2
Last edited by Teruaki Kawashima (teru) - Monday, 24 January 2011, 13:40 GMT+2
|
DetailsThe implementation of the force_backlight_on was not correct IMO. If the current setting value is OFF then calling the function wouldn't have any effect.
|
This task depends upon
Closed by Teruaki Kawashima (teru)
Monday, 24 January 2011, 13:40 GMT+2
Reason for closing: Accepted
Additional comments about closing: bl_helper.diff is committed as r29128.
Monday, 24 January 2011, 13:40 GMT+2
Reason for closing: Accepted
Additional comments about closing: bl_helper.diff is committed as r29128.
This would hit only targets where the screen is readable without backlight. And if the user decided against backlight at all, it shouldn't be turned off, not even forced, I suppose. On the other targets (where you need backlight to read the screen), disabling backlight at all isn't a valuable option anyway (except for blind users maybe) and thus this wouldn't change anything.
Personally, on my H300, I configure backlight on a 20s timeout, plus off if HOLD is on. I'd want it to stay on during the plugin, but turn off when I enable the hold switch (and back on again when I disable it, of course).
* rename backlight_force_on to backlight_ignore_timeout to make the name suit what the function does.
* add function backlight_force_on that actually forces baclight to turn on and use this in lamp plugin.
in the other words, nothing is changed except lamp plugin always turn on the backlight.
i'd like to commit this in few days if no one object to.
if there are other plugins which make sense to force backlight on, then we can change them later.