evdev.c doesn't compile
peter.hutterer at who-t.net
Wed Oct 7 15:13:59 PDT 2009
On Wed, Oct 07, 2009 at 06:38:16PM +0200, Fabrice DELENTE wrote:
> 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. 18.104.22.168 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"
> Do I need to change something in this section, or do I need to add an evdev
when using evdev, the keyboard and mouse sections in the configuration are
ignored. you can either change driver in the above to "evdev", or better,
use HAL to get the devices at startup time.
More information about the xorg