Modifying framebuffer (/dev/graphics/fb0) parameters using a Loadable Kernel Module
Problem: I have to configure various LCD displays to be used by Android Platform. Almost in all cases there are no electrical specifications freely available for LCD displays on interest. But through experience and reverse engineering the parameters can be guessed reasonably well. I am trying to use Loadable Kernel Modules to fine tune the display parameters (any other suggestions are welcome too). Please find the relevant information below.
HW: Atmel SAMA5D31-EK (ARM 5 processor) SW: Andriod Linux (Target), Ubuntu (Host System), Sourcery CodeBench (Cross Compiler) Code Snippets from board-dt.c file Code:
static struct fb_videomode at91_tft_vga_modes[] = { Code:
set_fb_video(struct fb_videomode *mg_set_tft_vga_modes) I have read about making calls to platform_driver_register() and platform_driver_unregister(). Question: What am I missing? . Thank you for your help in advance. |
All times are GMT -5. The time now is 04:23 PM. |