Rockbox General > Rockbox General Discussion

Screen dim whiling booting Apple OS

<< < (2/3) > >>

rangi_chip:
I figured it out...


--- Code: ---#ifndef HAVE_BACKLIGHT_INVERSION
    backlight_init(); /* Turns on the backlight */
#endif
--- End code ---
This was the code that was giving me trouble.

Doing away with all three lines fixed the problem.

LambdaCalculus:
Want to post a patch onto Flyspray for your fix?

Llorean:
That's not simply "just strange". The #ifndef / #endif pair are removed by the preprocessor anyway, so removing all the code should result in a functionally identical binary to just removing the one line.

Given that, you should probably investigate what's actually going wrong instead of coming up with hacked fixes that "work" but we don't know why, because we have no way of knowing if they're the right fix.

rangi_chip:
Sorry Llorean, I had muddled my bootloaders up. It wasn't as i said  :-[

It was the "backlight_init();" that was incorrect, so doing away with this line of code corrects the problem.
Doing away with the #ifndef / #endif aswell works too. My bad.

Llorean:
So the next step is determining what's wrong within backlight_init();

My guess is still as it was earlier, that backlight init is just setting the backlight to a dim value, then when the Apple OS boots it doesn't re-set the brightness to a new value until after it dims the first time.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version