Rockbox Technical Forums

Rockbox Development => Feature Ideas => Topic started by: dreamlayers on February 22, 2009, 01:43:38 PM

Title: At shutdown, turn off backlight before shutting down LCD
Post by: dreamlayers on February 22, 2009, 01:43:38 PM
Right now, Rockbox doesn't turn off the backlight when shutting down.  After the LCD is shutdown or cleared, the screen is white.  In the dark, this sudden increase in brightness can be unplesant, especially when using a dark theme like Cabbie 2.0.

I vaguely recall that this is done to show that Rockbox shuts down properly.  When the backlight shuts off, you know the shutdown sequence isn't hanging and power has actually been shut off.  That bright white screen also helps show that the LCD has been shut off properly.

Can the backlight at least be turned off on targets which shut down reliably?  My 5G iPod never failed to shut down properly in normal use.
Title: Re: At shutdown, turn off backlight before shutting down LCD
Post by: Buschel on February 22, 2009, 02:23:58 PM
The white screen is used as you will experience LCD bleeding otherwise.

Funnily enough I wrote a flyspray entry for this bug once ago (http://www.rockbox.org/tracker/7755) and there was a fix for it (r16311).  The fix was reverted 5 hours later (r16312) because the flash should be visible as sign of correct shut down.

I dislike this flashing too. Maybe nowadays the mindset changed? ;-)
Title: Re: At shutdown, turn off backlight before shutting down LCD
Post by: chris_s on April 24, 2021, 06:54:22 PM
I know it's is an old thread, but maybe I'm not the only one who is searching for this: If you're willing to compile your own build, I've uploaded a simple patch (https://gerrit.rockbox.org/r/c/rockbox/+/3361) that can be applied to the latest dev build to solve this.