[Libdlo] udlfb 0.2

Rabeeh Khoury rabeeh at marvell.com
Thu Jun 4 08:26:36 PDT 2009


> On Mon, 2009-06-01 at 18:03 +0300, Rabeeh Khoury wrote:
>   
>> Got the driver working with Sheevaplug + mimo monitor 710.
>> I needed to hack the driver to force it to use 800x480 since seems EDID
>> from the monitor is wrong -
>>
>>     fb_parse_edid(dev_info->edid, &info->var);
>> #if 1 /* Forced */
>>     info->var.xres = 800;
>>     info->var.yres = 480;
>> #endif
>>
>>     printk("EDID XRES %d YRES %d\n", info->var.xres, info->var.yres);
>>
>>
>> Anyhow, after hacking the driver I have a console, but when running X it
>> fails with errors -
>>
>> (EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode
>> (EE) FBDEV(0): mode initialization failed
>>
>> I'm using Ubuntu-Jaunty for arm.
>>
>>     
>
>
>
>
> Hi Rabeeh, can you try the xorg driver i posted ?
>
>
> I am now working on the sheevaplug you send me, so from now on i will
> not release code that does not work on this platform.
>   
Works like magic :)

I posted a link -
http://plugcomputer.org/plugforum/index.php?topic=379.0

Note that I still had to do the MIMO monitor 710 detection force in 
order to work, and also add linux/vmalloc.h to your includes since it's 
not included by default on ARM -


--- drivers/video/udlfb.c.orig    2009-06-04 17:44:05.000000000 +0300
+++ drivers/video/udlfb.c    2009-06-04 17:45:00.000000000 +0300
@@ -19,6 +19,7 @@
 #include <linux/mm.h>
 #include <linux/fb.h>
 #include <linux/mutex.h>
+#include <linux/vmalloc.h>
 
 #include "dlfb.h"
 
@@ -623,6 +624,10 @@
     }
 
     fb_parse_edid(dev_info->edid, &info->var);
+#if 1 /* Forced */
+        info->var.xres = 800;
+        info->var.yres = 480;
+#endif
 
     printk("EDID XRES %d YRES %d\n", info->var.xres, info->var.yres);
 

Rabeeh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/libdlo/attachments/20090604/20dd8f15/attachment.html 


More information about the Libdlo mailing list