option Ignore not working
Peter Hutterer
peter.hutterer at who-t.net
Tue Jun 7 16:18:13 PDT 2011
On Tue, Jun 07, 2011 at 10:28:05AM -0400, William Roberts wrote:
> I am trying to get X to ignore a bunch of event nodes that other
> applications are using in a raw form. I want X to watch /dev/input/mice
> /dev/input/mouse0 and /dev/input/event5 ONLY. Below is my xorg.conf file:
Please attach your Xorg.log so we can see what's going on here.
>
> Section "ServerFlags"
> Option "AutoAddDevices" "false"
> EndSection
if you're not auto-adding devices, you don't need to ignore any since the
server will only add devices that are listed in the config file.
Also, IIRC the below can also be partially simplified
Section "InputClass"
Identifier "ignore all"
MatchDevicePath "/dev/input/event*"
Option "Ignore" "on"
EndSection
Section "InputClass"
Identifier "unignore Number 5"
MatchDevicePath "/dev/input/event5"
Option "Ignore" "off"
EndSection
Cheers,
Peter
>
> Section "InputClass"
> Identifier "ign0"
> MatchDevicePath "/dev/input/event0"
> Driver "evdev"
> Option "Ignore" "on"
> EndSection
>
> Section "InputClass"
> Identifier "ign1"
> MatchDevicePath "/dev/input/event1"
> Driver "evdev"
> Option "Ignore" "on"
> EndSection
>
> Section "InputClass"
> Identifier "ign3"
> MatchDevicePath "/dev/input/event3"
> Driver "evdev"
> Option "Ignore" "on"
> EndSection
>
> Section "InputClass"
> Identifier "ign4"
> MatchDevicePath "/dev/input/event4"
> Driver "evdev"
> Option "Ignore" "on"
> EndSection
> Section "Device"
> Identifier "vfb"
> Driver "fbdev"
> EndSection
>
> Section "InputDevice"
> Identifier "mouse0"
> Driver "mouse"
> Option "Protocol" "auto"
> Option "Device" "/dev/input/mice"
> EndSection
>
> Section "InputDevice"
> Identifier "kb0"
> Driver "evdev"
> Option "XkbLayout" "us,cz"
> Option "XkbVariant" ",qwerty"
> Option "Device" "/dev/input/event5"
> EndSection
>
> Thank you for your help in advance!
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: peter.hutterer at who-t.net
More information about the xorg
mailing list