LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting video mode on boot vs after?? (https://www.linuxquestions.org/questions/linux-newbie-8/setting-video-mode-on-boot-vs-after-760509/)

coffeecoffee 10-08-2009 05:19 AM

Setting video mode on boot vs after??
 
Hi

I have a PC with a specialised mini-LCD panel that I need to set up the framebuffer for. Basically, when the PC first boots everything is fine. But I have added "vga=789" to my kernel options and so toward the beginning of the boot process the screen flickers as it attempts to change the framebuffer mode to 789 (which is 800x600x32). However it fails and the LCD ends up just displaying a weird bright light. I know the PC is working because when I boot to a regular computer monitor the screen works.

I have a datasheet with all the LCD device timings on it (hsync etc) and I know in /etc/fb.modes you can set these parameters so the framebuffer works perfectly with the hardware. This isn't accessed at boot time though.

My question is, how can I get linux to reference the /etc/fb.modes file on boot? Or atleast specify the correct LCD resolution and timings on boot?

Any help appreciated.

Thanks

smeezekitty 10-08-2009 12:43 PM

try vga=769 (640x480) the LCD should handle that

coffeecoffee 10-08-2009 06:52 PM

Quote:

Originally Posted by smeezekitty (Post 3712496)
try vga=769 (640x480) the LCD should handle that

Well the LCD needs to run at 800x600 for my application and the datasheet states that the LCD can handle this resolution... I just need to specify the refresh rate etc.

smeezekitty 10-08-2009 08:05 PM

try 788


All times are GMT -5. The time now is 04:56 PM.