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
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
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