X Server is logging all keyboards and mouse events
Peter Hutterer
peter.hutterer at who-t.net
Tue Jan 11 16:12:38 PST 2011
On Tue, Jan 11, 2011 at 04:26:02PM -0200, Guilherme Melo wrote:
> I'm using X Server version 1.6.99.1 under a Nokia N900.
> The Xorg.0.log contains several lines like this:
>
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 28, 1, 33
would likely be in your evdev codebase, search for xf86Msg(X_INFO). doesn't
look like a msg I recognise though, might be a distro-specific addition.
Cheers,
Peter
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 28, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 272, 0, 0, 330, 1,
> 234
> (II) BTN_LEFT
> (II) button (value): 1(1)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 272, 1, 0, 330, 0,
> 234
> (II) BTN_LEFT
> (II) button (value): 1(0)
>
> Every time I press a key or touch the screen (left mouse button) it logs the
> event.
> So the log file soon becomes big enough to fill the partition where it's
> located.
>
> I have no idea when this started to happen, but it does not happen with a
> firmware fresh install.
>
> Any idea about how I could tell the server to stop logging this?
>
> I attached my xorg.conf and log files. Please let me know if you need
> anything else.
>
>
> Thanks in advance,
> Guilherme
> (WW) Failed to open protocol names file /usr/lib/xorg/protocol.txt(++) Log file: "/tmp/Xorg.0.log", Time: Tue Jan 11 15:43:07 2011
> (==) Using config file: "/etc/X11/xorg.conf"
> (==) No Layout section. Using the first Screen section.
> (==) No screen section available. Using defaults.
> (**) |-->Screen "Default Screen Section" (0)
> (**) | |-->Monitor "<default monitor>"
> (==) No monitor specified for screen "Default Screen Section".
> Using a default monitor configuration.
> (==) Automatically adding devices
> (==) Automatically enabling devices
> (WW) `fonts.dir' not found (or not valid) in "/".
> Entry deleted from font path.
> (Run 'mkfontdir' on "/").
> (==) FontPath set to:
> built-ins
> (==) ModulePath set to "/usr/lib/xorg/modules"
> (II) Cannot locate a core pointer device.
> (II) Cannot locate a core keyboard device.
> (II) The server relies on HAL to provide the list of input devices.
> If no devices become available, reconfigure HAL or disable AllowEmptyInput.
> (--) using VT number 2
>
> (WW) xf86OpenConsole: setpgid failed: Operation not permitted
> (WW) xf86OpenConsole: setsid failed: Operation not permitted
> (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
> (II) Module extmod: vendor="X.Org Foundation"
> compiled for 1.6.99.1, module version = 1.0.0
> (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
> (II) Module dbe: vendor="X.Org Foundation"
> compiled for 1.6.99.1, module version = 1.0.0
> (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
> (II) Module record: vendor="X.Org Foundation"
> compiled for 1.6.99.1, module version = 1.13.0
> (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
> (II) Module dri2: vendor="X.Org Foundation"
> compiled for 1.6.99.1, module version = 1.0.0
> (==) Matched fbdev for the autoconfigured driver
> (==) Assigned the driver to the xf86ConfigLayout
> (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
> (II) Module fbdev: vendor="X.Org Foundation"
> compiled for 1.6.99.1, module version = 0.4.0
> (II) FBDEV: driver for framebuffer: fbdev
> (WW) Falling back to old probe method for fbdev
> (II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so
> (II) Module fbdevhw: vendor="X.Org Foundation"
> compiled for 1.6.99.1, module version = 0.0.2
> (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 16/16
> (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
> (==) FBDEV(0): RGB weight 565
> (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
> (==) FBDEV(0): Default visual is TrueColor
> (II) FBDEV(0): hardware: omapfb (video memory: 1920kB)
> (II) FBDEV(0): Output LCD has no monitor section
> (II) FBDEV(0): Output LCD connected
> (II) FBDEV(0): Using exact sizes for initial modes
> (II) FBDEV(0): Output LCD using initial mode 800x480
> (II) FBDEV(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
> (II) Loading /usr/lib/xorg/modules/libfb.so
> (II) Module fb: vendor="X.Org Foundation"
> compiled for 1.6.99.1, module version = 1.0.0
> (==) FBDEV(0): DPI set to (96, 96)
> (II) FBDEV(0): Pitch updated to 2048 after ModeInit
> (II) Loading /usr/lib/xorg/modules/libexa.so
> (II) Module exa: vendor="X.Org Foundation"
> compiled for 1.6.99.1, module version = 2.4.0
> (II) EXA(0): Driver allocated offscreen pixmaps
> (II) EXA(0): Driver registered support for the following operations:
> (II) Solid
> (II) Copy
> (II) FBDEV(0): [DRI2] Setup complete
> (==) FBDEV(0): Backing store disabled
> (II) FBDEV(0): RandR 1.2 enabled, ignore the following RandR disabled message.
> (--) RandR disabled
> (II) FBDEV(0): Setting screen physical size to 211 x 127
> (II) config/hal: waiting for HAL...
> (II) config/hal: initialised context in 4400 milliseconds.
> (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
> (II) Module evdev: vendor="X.Org Foundation"
> compiled for 1.6.99.1, module version = 2.1.99
> (**) TSC2005 touchscreen: Device: "/dev/input/event3"
> (**) TSC2005 touchscreen: Calibration factors: 172 3880 3780 235 0 0
> (II) TSC2005 touchscreen: Found x and y absolute axes
> (II) TSC2005 touchscreen: Found absolute touchscreen
> (II) TSC2005 touchscreen: Configuring as touchscreen
> (**) TSC2005 touchscreen: (accel) acceleration profile 0
> (**) TSC2005 touchscreen: (accel) filter chain progression: 2.00
> (**) TSC2005 touchscreen: (accel) filter stage 0: 20.00 ms
> (**) TSC2005 touchscreen: (accel) set acceleration profile 0
> (**) omap_twl4030keypad: Device: "/dev/input/event1"
> (II) omap_twl4030keypad: Found keys
> (II) omap_twl4030keypad: Configuring as keyboard
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 330, 1, 234
> (II) BTN_LEFT
> (II) button (value): 1(1)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 272, 1, 0, 330, 0, 234
> (II) BTN_LEFT
> (II) button (value): 1(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 272, 0, 0, 330, 1, 234
> (II) BTN_LEFT
> (II) button (value): 1(1)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 272, 1, 0, 330, 0, 234
> (II) BTN_LEFT
> (II) button (value): 1(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 103, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 103, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 108, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 108, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 103, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 103, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 108, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 108, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 31, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 31, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 22, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 22, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 32, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 32, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 24, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 24, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 57, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 57, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 23, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 23, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 33, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 33, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 22, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 22, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 25, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 25, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 57, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 57, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 22, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 22, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 31, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 31, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 48, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 48, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 100, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 100, 2, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 25, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 25, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 100, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 28, 1, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 0, 0, 0, 28, 0, 33
> (II) button (value): 0(0)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 272, 0, 0, 330, 1, 234
> (II) BTN_LEFT
> (II) button (value): 1(1)
> (II) EV_KEY (code, value, ignored, ev.code, val, flags): 272, 1, 0, 330, 0, 234
> (II) BTN_LEFT
> (II) button (value): 1(0)
> _______________________________________________
> 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