Re: option Ignore not working

2011-06-09 Thread William Roberts
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

Section Device
Identifiervfb
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 k...@debian.org)
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

Re: option Ignore not working

2011-06-09 Thread Peter Hutterer
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
 Identifiervfb
 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 k...@debian.org)
 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 

Re: option Ignore not working

2011-06-07 Thread Łukasz Maśko
Dnia wtorek, 7 czerwca 2011, William Roberts napisał:
 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:
[...]
 Thank you for your help in advance!

Try Option Ignore yes.
-- 
Łukasz Maśko   GG:   2441498_o)
Lukasz.Masko(at)ipipan.waw.pl   /\\
Registered Linux User #61028   _\_V
Ubuntu: staroafrykańskie słowo oznaczające Nie umiem zainstalować Debiana
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: option Ignore not working

2011-06-07 Thread Peter Hutterer
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@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.hutte...@who-t.net

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com