LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2009, 06:19 AM   #1
coffeecoffee
Member
 
Registered: Feb 2009
Posts: 58

Rep: Reputation: 16
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
 
Old 10-08-2009, 01:43 PM   #2
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
try vga=769 (640x480) the LCD should handle that
 
Old 10-08-2009, 07:52 PM   #3
coffeecoffee
Member
 
Registered: Feb 2009
Posts: 58

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by smeezekitty View Post
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.
 
Old 10-08-2009, 09:05 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
try 788
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel i810 video mode to use at boot prompt for high res video in Xwin will_kranz Linux - Newbie 0 02-17-2009 11:07 AM
Setting Security Mode to Open on Boot mrtheduke Linux - Wireless Networking 2 03-26-2007 07:36 AM
Change/Setting Host Video Mode MSwal2846 Linux - Newbie 1 06-20-2006 08:51 PM
Setting up video in text mode to 50 lines Paulo Ges Linux - General 1 02-26-2003 09:01 AM
I want to boot my redhat8.0 in video mode,how to do it? prad Linux - General 11 12-12-2002 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration