evdev.c doesn't compile

Fabrice DELENTE fdelente at mail.cpod.fr
Wed Oct 7 09:38:16 PDT 2009


On Wed, Oct 07, 2009 at 11:43:26AM -0400, Adam Jackson wrote:
> On Wed, 2009-10-07 at 17:17 +0200, Fabrice DELENTE wrote:
> > Hello.
> > 
> > I'm in the process of ugrading to xorg 1.7.0.
> > 
> > I need to recompile xf86-input-evdev, but I get these errors:
> > 
> > evdev.c: In function 'EvdevReopenTimer':
> > evdev.c:192: error: too few arguments to function 'DisableDevice'
> > evdev.c:206: error: too few arguments to function 'DisableDevice'
> 
> commit 54628989356793828fcbb5f62a091b962c7da4f9
> Author: Peter Hutterer <peter.hutterer at who-t.net>
> Date:   Wed May 13 12:51:52 2009 +1000
> 
>     Use xf86DisableDevice instead of the DIX' DisableDevice.
>     
>     DisableDevice has changed API in xi2, xf86DisableDevice hasn't. So let's use
>     this one so we can have one version for master and xi2.
>     
>     Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> 
> You need a newer evdev driver.  2.2.99.1 should work, although that
> patch should probably be propagated to 2.2 branch too.
> 
> - ajax


Ok, thanks, now it works!

However, I get a us layout while I am on a french keyboard, very annoying! I
tried changing the layout in /etc/X11/xorg.conf but I don`t have an evdev
section, but I have this section for the keyboard:

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"
    Option     "XkbLayout"     "fr"

EndSection

Do I need to change something in this section, or do I need to add an evdev
section?

Thanks!

-- 
Fabrice DELENTE



More information about the xorg mailing list