On Thu, Jun 09, 2011 at 12:44:26PM -0400, William Roberts wrote: > Peter I tried your suggestions still with no luck, X is still using those > other event nodes: > > --------xorg.conf------------------------------------- > Section "ServerFlags" > Option "AutoAddDevices" "false" > EndSection
please read the man page what AutoAddDevices actually does. the mouse/kbd driver take the merged kernel devices, hence all your devices will be active. the InputClass sections have no effect when AutoAddDevices is off. Cheers, Peter > > Section "Device" > Identifier "vfb" > Driver "fbdev" > EndSection > > 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 > > -------------------------xorg log--------------------------------------- > Build Date: 19 February 2011 03:00:40PM > xorg-server 2:1.7.7-13 (Cyril Brulebois <[email protected]>) > Current version of pixman: 0.16.4 > Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. > Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan 1 00:14:19 2005 > (==) Using config file: "/etc/X11/xorg.conf" > (==) Using system config directory "/usr/share/X11/xorg.conf.d" > (==) No Layout section. Using the first Screen section. > (==) No screen section available. Using defaults. > (**) |-->Screen "Default Screen Section" (0) > (**) | |-->Monitor "<default monitor>" > (==) No device specified for screen "Default Screen Section". > Using the first device section listed. > (**) | |-->Device "vfb" > (==) No monitor specified for screen "Default Screen Section". > Using a default monitor configuration. > (**) Option "AutoAddDevices" "false" > (**) Not automatically adding devices > (==) Automatically enabling devices > (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. > Entry deleted from font path. > (==) FontPath set to: > /usr/share/fonts/X11/misc, > /usr/share/fonts/X11/100dpi/:unscaled, > /usr/share/fonts/X11/75dpi/:unscaled, > /usr/share/fonts/X11/Type1, > /usr/share/fonts/X11/100dpi, > /usr/share/fonts/X11/75dpi, > /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, > built-ins > (==) ModulePath set to "/usr/lib/xorg/modules" > (==) |-->Input Device "<default pointer>" > (==) |-->Input Device "<default keyboard>" > (==) No Layout section. Using the default mouse configuration. > (==) No Layout section. Using the default keyboard configuration. > (II) Loader magic: 0x1a8f58 > (II) Module ABI versions: > X.Org ANSI C Emulation: 0.4 > X.Org Video Driver: 6.0 > X.Org XInput driver : 7.0 > X.Org Server Extension : 2.0 > (--) using VT number 1 > > (II) Open APM successful > (II) LoadModule: "extmod" > (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so > (II) Module extmod: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.0.0 > Module class: X.Org Server Extension > ABI class: X.Org Server Extension, version 2.0 > (II) Loading extension SELinux > (II) Loading extension MIT-SCREEN-SAVER > (II) Loading extension XFree86-VidModeExtension > (II) Loading extension XFree86-DGA > (II) Loading extension DPMS > (II) Loading extension XVideo > (II) Loading extension XVideo-MotionCompensation > (II) Loading extension X-Resource > (II) LoadModule: "dbe" > (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so > (II) Module dbe: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.0.0 > Module class: X.Org Server Extension > ABI class: X.Org Server Extension, version 2.0 > (II) Loading extension DOUBLE-BUFFER > (II) LoadModule: "glx" > (II) Loading /usr/lib/xorg/modules/extensions/libglx.so > (II) Module glx: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.0.0 > ABI class: X.Org Server Extension, version 2.0 > (==) AIGLX enabled > (II) Loading extension GLX > (II) LoadModule: "record" > (II) Loading /usr/lib/xorg/modules/extensions/librecord.so > (II) Module record: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.13.0 > Module class: X.Org Server Extension > ABI class: X.Org Server Extension, version 2.0 > (II) Loading extension RECORD > (II) LoadModule: "dri" > (II) Loading /usr/lib/xorg/modules/extensions/libdri.so > (II) Module dri: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.0.0 > ABI class: X.Org Server Extension, version 2.0 > (II) Loading extension XFree86-DRI > (II) LoadModule: "dri2" > (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so > (II) Module dri2: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.1.0 > ABI class: X.Org Server Extension, version 2.0 > (II) Loading extension DRI2 > (II) LoadModule: "fbdev" > (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so > (II) Module fbdev: vendor="X.Org Foundation" > compiled for 1.7.6.901, module version = 0.4.2 > ABI class: X.Org Video Driver, version 6.0 > (II) LoadModule: "mouse" > (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so > (II) Module mouse: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.5.0 > Module class: X.Org XInput Driver > ABI class: X.Org XInput driver, version 7.0 > II) LoadModule: "kbd" > (II) Loading /usr/lib/xorg/modules/input/kbd_drv.so > (II) Module kbd: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.4.0 > Module class: X.Org XInput Driver > ABI class: X.Org XInput driver, version 7.0 > (II) FBDEV: driver for framebuffer: fbdev > (WW) Falling back to old probe method for fbdev > (II) Loading sub module "fbdevhw" > (II) LoadModule: "fbdevhw" > (II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so > (II) Module fbdevhw: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 0.0.2 > ABI class: X.Org Video Driver, version 6.0 > (II) FBDEV(0): using default device > (II) Running in FRAMEBUFFER Mode > (II) FBDEV(0): Creating default Display subsection in Screen section > "Default Screen Section" for depth/fbbpp 24/32 > (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32 > (==) FBDEV(0): RGB weight 888 > (==) FBDEV(0): Default visual is TrueColor > (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0) > (II) FBDEV(0): hardware: Virtual FB (video memory: 9000kB) > (II) FBDEV(0): checking modes against framebuffer device... > (II) FBDEV(0): checking modes against monitor... > (--) FBDEV(0): Virtual size is 480x800 (pitch 480) > (**) FBDEV(0): Built-in mode "current": 25.2 MHz, 39.3 kHz, 46.3 Hz > (II) FBDEV(0): Modeline "current"x0.0 25.18 480 504 600 640 800 809 811 > 850 -hsync -vsync -csync (39.3 kHz) > (==) FBDEV(0): DPI set to (96, 96) > (II) Loading sub module "fb" > (II) LoadModule: "fb" > (II) Loading /usr/lib/xorg/modules/libfb.so > (II) Module fb: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.0.0 > ABI class: X.Org ANSI C Emulation, version 0.4 > (**) FBDEV(0): using shadow framebuffer > (II) Loading sub module "shadow" > (II) LoadModule: "shadow" > (II) Loading /usr/lib/xorg/modules/libshadow.so > (II) Module shadow: vendor="X.Org Foundation" > compiled for 1.7.7, module version = 1.1.0 > ABI class: X.Org ANSI C Emulation, version 0.4 > (==) Depth 24 pixmap format is 32 bpp > (==) FBDEV(0): Backing store disabled > (==) FBDEV(0): DPMS enabled > (==) RandR enabled > (II) Initializing built-in extension Generic Event Extension > (II) Initializing built-in extension SHAPE > (II) Initializing built-in extension MIT-SHM > (II) Initializing built-in extension XInputExtension > (II) Initializing built-in extension XTEST > (II) Initializing built-in extension BIG-REQUESTS > (II) Initializing built-in extension SYNC > (II) Initializing built-in extension XKEYBOARD > (II) Initializing built-in extension XC-MISC > (II) Initializing built-in extension SECURITY > (II) Initializing built-in extension XINERAMA > (II) Initializing built-in extension XFIXES > (II) Initializing built-in extension RENDER > (II) Initializing built-in extension RANDR > (II) Initializing built-in extension COMPOSITE > (II) Initializing built-in extension DAMAGE > SELinux: Disabled on system, not enabling in X server > (II) AIGLX: Screen 0 is not DRI2 capable > (II) AIGLX: Screen 0 is not DRI capable > (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so > (II) GLX: Initialized DRISWRAST GL provider for screen 0 > (WW) <default pointer>: No Device specified, looking for one... > (II) <default pointer>: Setting Device option to "/dev/input/mice" > (--) <default pointer>: Device: "/dev/input/mice" > (==) <default pointer>: Protocol: "Auto" > (**) Option "CorePointer" > (**) <default pointer>: always reports core events > (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50 > (**) <default pointer>: ZAxisMapping: buttons 4 and 5 > (**) <default pointer>: Buttons: 9 > (**) <default pointer>: Sensitivity: 1 > (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE) > (**) <default pointer>: (accel) keeping acceleration scheme 1 > (**) <default pointer>: (accel) acceleration profile 0 > (**) <default pointer>: (accel) acceleration factor: 2.000 > (**) <default pointer>: (accel) acceleration threshold: 4 > (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2" > (II) <default pointer>: ps2EnableDataReporting: succeeded > (**) Option "CoreKeyboard" > (**) <default keyboard>: always reports core events > (**) Option "Protocol" "standard" > (**) <default keyboard>: Protocol: standard > (**) Option "XkbRules" "base" > (**) <default keyboard>: XkbRules: "base" > (**) Option "XkbModel" "pc105" > (**) <default pointer>: Sensitivity: 1 > (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE) > (**) <default pointer>: (accel) keeping acceleration scheme 1 > (**) <default pointer>: (accel) acceleration profile 0 > (**) <default pointer>: (accel) acceleration factor: 2.000 > (**) <default pointer>: (accel) acceleration threshold: 4 > (II) <default pointer>: Setting mouse protocol to "ExplorerPS/2" > (II) <default pointer>: ps2EnableDataReporting: succeeded > (**) Option "CoreKeyboard" > (**) <default keyboard>: always reports core events > (**) Option "Protocol" "standard" > (**) <default keyboard>: Protocol: standard > (**) Option "XkbRules" "base" > (**) <default keyboard>: XkbRules: "base" > (**) Option "XkbModel" "pc105" > (**) <default keyboard>: XkbModel: "pc105" > (**) Option "XkbLayout" "us" > (**) <default keyboard>: XkbLayout: "us" > (**) Option "CustomKeycodes" "off" > (**) <default keyboard>: CustomKeycodes disabled > (II) XINPUT: Adding extended input device "<default keyboard>" (type: > KEYBOARD) > (II) UnloadModule: "mouse" > (II) UnloadModule: "kbd" > > > Again thank you for your help > > > > On Tue, Jun 7, 2011 at 7:18 PM, Peter Hutterer > <[email protected]>wrote: > > > 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! > > > > > _______________________________________________ > > > [email protected]: X.Org support > > > Archives: http://lists.freedesktop.org/archives/xorg > > > Info: http://lists.freedesktop.org/mailman/listinfo/xorg > > > Your subscription address: [email protected] > > > > > > > -- > Respectfully, > > William C Roberts > 585-455-1883 _______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.freedesktop.org/mailman/listinfo/xorg Your subscription address: [email protected]
