linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* A strange question for LCD
@ 2004-10-04 15:15 z g
  2004-10-04 19:39 ` Michal 'hramrach' Suchanek
  2004-10-05  3:07 ` Antonino A. Daplas
  0 siblings, 2 replies; 3+ messages in thread
From: z g @ 2004-10-04 15:15 UTC (permalink / raw)
  To: linux-fbdev-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A strange question for LCD
  2004-10-04 15:15 A strange question for LCD z g
@ 2004-10-04 19:39 ` Michal 'hramrach' Suchanek
  2004-10-05  3:07 ` Antonino A. Daplas
  1 sibling, 0 replies; 3+ messages in thread
From: Michal 'hramrach' Suchanek @ 2004-10-04 19:39 UTC (permalink / raw)
  To: linux-fbdev-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: A strange question for LCD
  2004-10-04 15:15 A strange question for LCD z g
  2004-10-04 19:39 ` Michal 'hramrach' Suchanek
@ 2004-10-05  3:07 ` Antonino A. Daplas
  1 sibling, 0 replies; 3+ messages in thread
From: Antonino A. Daplas @ 2004-10-05  3:07 UTC (permalink / raw)
  To: linux-fbdev-devel, z g

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-05  3:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-04 15:15 A strange question for LCD z g
2004-10-04 19:39 ` Michal 'hramrach' Suchanek
2004-10-05  3:07 ` Antonino A. Daplas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).