A strange question for LCD

3 messages, 3 authors, 2004-10-05 · open the first message on its own page

A strange question for LCD

From: z g <hidden>
Date: 2004-10-04 15:17:47

I have a LCD(LQ035q7db02). It supports 240X320(H X W). I have a frame 
buffer driver for it and it works well. But I have to change the display 
mode in 320X240 (H X W) . I don't know whether I can change the frame 
buffer driver to implement it. If can, how to change the driver. If anyone 
can help me? Thanks!




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

Re: A strange question for LCD

From: Michal 'hramrach' Suchanek <hidden>
Date: 2004-10-04 19:42:18

On Mon, Oct 04, 2004 at 03:15:40PM +0000, z g wrote:
I have a LCD(LQ035q7db02). It supports 240X320(H X W). I have a frame 
buffer driver for it and it works well. But I have to change the display 
mode in 320X240 (H X W) . I don't know whether I can change the frame 
buffer driver to implement it. If can, how to change the driver. If anyone 
can help me? Thanks!
Perhaps you want fbset?


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

Re: A strange question for LCD

From: Antonino A. Daplas <hidden>
Date: 2004-10-05 03:08:10

On Monday 04 October 2004 23:15, z g wrote:
I have a LCD(LQ035q7db02). It supports 240X320(H X W). I have a frame
buffer driver for it and it works well. But I have to change the display
mode in 320X240 (H X W) . I don't know whether I can change the frame
buffer driver to implement it. If can, how to change the driver. If anyone
can help me? Thanks!
You need to support 2 methods:

xxxfb_check_var()
- check the passed var structure for compatibility with the hardware. If
not, it's acceptable to return a modified var that is agreeable to the
driver. 

xxxfb_set_par()
- change the hardware state according to the contents of info->var.

Once you've added the above methods, you can choose the driver's initial
mode by various methods, or you can use fbset to change the resolution after
the driver loads.

Tony 




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help