FS#5695 - Fix a backlight flicker issue on X5

Attached to Project: Rockbox
Opened by Rani Hod (RaeNye) - Saturday, 22 July 2006, 22:16 GMT
Task Type Patches
Category LCD
Status Closed
Assigned To No-one
Operating System iAudio X5
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Don't turn on backlight before it's needed (unless it's a bootloader)
This task depends upon

Closed by  Rani Hod (RaeNye)
Thursday, 27 July 2006, 19:56 GMT
Reason for closing:  Out of Date
Additional comments about closing:  deprecated by #5727
Comment by Michael Sevakis (MikeS) - Sunday, 23 July 2006, 14:38 GMT
I added this to the driver work I'm doing except (frames rates are much better now too :) it turns off the backlight just before chip reset (screen whites out during reset) and then back on afterward IF it was on at the time. The LCD driver now always turns on the BL after the reset in a bootloader build. I tried what you did but decided not to reference __backlight_X() in main.c since it must be delt with in lcd-x5.c anyway! :)

I should also mention that I've gotten that repeated BL blinking thing you were talking about and it appears related to when you plug/unplug the unit after a powerdown (timing is everything). It happened once after a OF flash when I unplugged after it went back to charge mode.

Comment by Michael Sevakis (MikeS) - Sunday, 23 July 2006, 19:14 GMT
Actually more specifically I decided to keep it out of main() so that it works without a bootloader update.
Comment by Michael Sevakis (MikeS) - Sunday, 23 July 2006, 20:20 GMT
And I can fix the backlight flash during poweroff when the LCD chip is OFF (just did it). Yes, I dare play with the pcf50606! No "almost brick" yet, thank goodness. :D
Comment by Michael Sevakis (MikeS) - Sunday, 23 July 2006, 20:36 GMT
Never mind. I get too excited and ahead of myself when I ~think~ something is working! I am dumb! I swear if it's possible I'll lick it.