Hi.

As Niels said, certain drivers only work for fbdev. You could use linux
input instead of keyboard and mice drivers. But it also needs fbdev.

And there are some suggestions for your system.
You have to enable virtual terminal in devmem system to make keyboard/mice
work.
Copy vt.c, vt.h from systems/fbdev, and do some necessary modifications.
Such as commenting out some unnecessary functions for framebuffer.

Then, add member VirtualTerminal *vt to struct DevMemData. And to initialize
vt in function system_initialize() in devmem.c. You also need to implement
system_input_filter(), the code in fbdev.c could be a good reference.

In inputdrivers/linux_input.c, change macro LINUX_INPUT_USE_FBDEV to
(LINUX_INPUT_USE_FBDEV || the name you want).

At last run "dfbinput -k" to test if you could get the keymap.

Good luck :-)

On Wed, Dec 3, 2008 at 5:18 PM, Bajimohanreddy Bandi <
[EMAIL PROTECTED]> wrote:

> Hi,
>
>     i am running my demo application with davinci driver in DirectFB
> export
> DFBARGS=system=devmem,video-phys=0x83000000,video-length=691200,accelerator=6400,mode=1024x768
>
>
> in this case i was not able to use keyboard and Mouse.
> if i use DFBARGS=system=fbdev
>        in this case i can use key board and mouse.
> please can any one tell me how to use keyboard and mouse with davinci
> driver.
>
> Thanks
> Mohan.
>
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>
>


-- 
Best regards,

Edmond
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to