Hi, I have a mini2440 with a 7' LCD running a custom Angstrom distribution with kernel 2.6.31.1. I am running Xorg with framebuffer. I'm trying to make my backlight always on without success. Here are some options that are set in my kernel config: CONFIG_FB_S3C2410=y CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_LCD_CLASS_DEVICE=y CONFIG_LCD_PLATFORM=y CONFIG_BACKLIGHT_CLASS_DEVICE=y CONFIG_BACKLIGHT_PWM=y CONFIG_FB=y CONFIG_FB_MODE_HELPERS=y CONFIG_FB_TILEBLITTING=y CONFIG_FRAMEBUFFER_CONSOLE=y Does anyone have an idea how can I do it? Thank you, Cyrille
Set backlight always on
Thank you for your answer. I tried your suggestion but if I remove CONFIG_FRAMEBUFFER_CONSOLE, X doesn't start anymore and my screen is all scrambled (just like if you set a wrong screen as kernel parameter: mini2440=0tb). If I try with qemu, the screen stays black during bootup and when I start X, qemu crash. However, if I set mini2440 to 0tb as kernel parameter in qemu (I cannot test with a real lcd), all is running great.
When you disable CONFIG_FRAMEBUFFER_CONSOLE you need this patch: Index: linux-3.0/drivers/video/s3c2410fb.c =================================================================== --- linux-3.0.orig/drivers/video/s3c2410fb.c +++ linux-3.0/drivers/video/s3c2410fb.c @@ -982,6 +982,9 @@ static int __devinit s3c24xxfb_probe(str dev_err(&pdev->dev, "failed to add debug attribute\n"); } #endif +#ifndef CONFIG_FRAMEBUFFER_CONSOLE + s3c2410fb_set_par(fbinfo); +#endif pr_info("fb%d: %s frame buffer device\n", fbinfo->node, fbinfo->fix.id);