You are not logged in.

#1 2011-03-16 07:31:45

Jebususu
Member
Registered: 2011-02-27
Posts: 74

UDEV rule broken?

So yesterdau I did a complete reinstall, and when using the same xorg.conf as before, when using a UDEV rule for my house (that previously worked flawlessly) the mouse becomes unresponsive, but, upon doing 'cat /dev/input/mx518' and moving my mouse around, I get lots of spam output, so the mouse is clearly being picked up under /dev/input/mx518, but for some reason X refuses to use it? UDEV rule / Xorg.conf below, I'm truly lost as to where I am going wrong sad

jebus@psy ~
> cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Wed Sep 29 10:20:38 PDT 2010

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "mx518" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/local/"
    FontPath        "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/OTF/"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
    Load           "extmod"
    Load           "dri2"
    Load           "dri"
    Load           "dbe"
    Load           "record"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "mx518"
    Driver         "mouse"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "false"
    Option         "Buttons" "7"
    Option         "ButtonMapping" "1 2 3 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    Modeline        "640x480_155.00"  70.44  640 680 752 864  480 481 484 526  -HSync +Vsync
    Modeline        "800x600_144.00"  102.31  800 856 944 1088  600 601 604 653  -HSync +Vsync
    HorizSync       30.0 - 96.0
    VertRefresh     50.0 - 160.0
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 6700 XL"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1280x1024_85 +0+0; nvidia-auto-select +0+0; 640x480_155 +0+0; 800x600_144 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
KERNEL=="event[0-9]*", SYSFS{../name}=="Logitech USB-PS/2 Optical Mouse", NAME="input/mx518"

And here is the log for xorg,

> cat /var/log/Xorg.0.log
[   529.358] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[   529.360] 
X.Org X Server 1.9.4.901 (1.9.5 RC 1)
Release Date: 2011-03-04
[   529.360] X Protocol Version 11, Revision 0
[   529.360] Build Operating System: Linux 2.6.37-ARCH i686 
[   529.360] Current Operating System: Linux psy 2.6.37-ARCH #1 SMP PREEMPT Tue Mar 8 08:08:06 UTC 2011 i686
[   529.361] Kernel command line: root=/dev/sda1 ro vga=773
[   529.361] Build Date: 14 March 2011  10:39:42AM
[   529.361]  
[   529.369] Current version of pixman: 0.20.2
[   529.370]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   529.370] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   529.371] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 16 07:16:53 2011
[   529.399] (==) Using config file: "/etc/X11/xorg.conf"
[   529.399] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   529.419] (==) ServerLayout "X.org Configured"
[   529.419] (**) |-->Screen "Screen0" (0)
[   529.419] (**) |   |-->Monitor "Monitor0"
[   529.419] (**) |   |-->Device "Videocard0"
[   529.419] (**) |-->Input Device "mx518"
[   529.419] (**) |-->Input Device "Keyboard0"
[   529.419] (**) Option "Xinerama" "0"
[   529.419] (==) Automatically adding devices
[   529.419] (==) Automatically enabling devices
[   529.496] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   529.496]     Entry deleted from font path.
[   529.509] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   529.509]     Entry deleted from font path.
[   529.509]     (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   529.510] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   529.510]     Entry deleted from font path.
[   529.510]     (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   529.510] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   529.510]     Entry deleted from font path.
[   529.510] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   529.510]     Entry deleted from font path.
[   529.510]     (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   529.510] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   529.510]     Entry deleted from font path.
[   529.510]     (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   529.510] (**) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/local/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/
[   529.510] (**) ModulePath set to "/usr/lib/xorg/modules"
[   529.510] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   529.510] (WW) Disabling mx518
[   529.510] (WW) Disabling Keyboard0
[   529.510] (II) Loader magic: 0x81f3280
[   529.510] (II) Module ABI versions:
[   529.510]     X.Org ANSI C Emulation: 0.4
[   529.510]     X.Org Video Driver: 8.0
[   529.510]     X.Org XInput driver : 11.0
[   529.510]     X.Org Server Extension : 4.0
[   529.511] (--) PCI:*(0:1:0:0) 10de:0147:1462:0350 rev 162, Mem @ 0xf4000000/67108864, 0xd8000000/134217728, 0xfa000000/16777216, BIOS @ 0x????????/131072
[   529.511] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   529.511] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[   529.511] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[   529.511] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   529.511] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[   529.511] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[   529.511] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[   529.511] (II) LoadModule: "extmod"
[   529.533] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[   529.540] (II) Module extmod: vendor="X.Org Foundation"
[   529.540]     compiled for 1.9.4.901, module version = 1.0.0
[   529.540]     Module class: X.Org Server Extension
[   529.540]     ABI class: X.Org Server Extension, version 4.0
[   529.540] (II) Loading extension MIT-SCREEN-SAVER
[   529.540] (II) Loading extension XFree86-VidModeExtension
[   529.540] (II) Loading extension XFree86-DGA
[   529.540] (II) Loading extension DPMS
[   529.540] (II) Loading extension XVideo
[   529.540] (II) Loading extension XVideo-MotionCompensation
[   529.540] (II) Loading extension X-Resource
[   529.541] (II) LoadModule: "dri2"
[   529.541] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[   529.555] (II) Module dri2: vendor="X.Org Foundation"
[   529.555]     compiled for 1.9.4.901, module version = 1.2.0
[   529.555]     ABI class: X.Org Server Extension, version 4.0
[   529.555] (II) Loading extension DRI2
[   529.555] (II) LoadModule: "dri"
[   529.555] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[   529.556] (II) Module dri: vendor="X.Org Foundation"
[   529.556]     compiled for 1.9.4.901, module version = 1.0.0
[   529.556]     ABI class: X.Org Server Extension, version 4.0
[   529.556] (II) Loading extension XFree86-DRI
[   529.556] (II) LoadModule: "dbe"
[   529.557] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[   529.557] (II) Module dbe: vendor="X.Org Foundation"
[   529.557]     compiled for 1.9.4.901, module version = 1.0.0
[   529.557]     Module class: X.Org Server Extension
[   529.557]     ABI class: X.Org Server Extension, version 4.0
[   529.557] (II) Loading extension DOUBLE-BUFFER
[   529.557] (II) LoadModule: "record"
[   529.557] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[   529.558] (II) Module record: vendor="X.Org Foundation"
[   529.558]     compiled for 1.9.4.901, module version = 1.13.0
[   529.558]     Module class: X.Org Server Extension
[   529.558]     ABI class: X.Org Server Extension, version 4.0
[   529.558] (II) Loading extension RECORD
[   529.558] (II) LoadModule: "glx"
[   529.558] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   530.088] (II) Module glx: vendor="NVIDIA Corporation"
[   530.088]     compiled for 4.0.2, module version = 1.0.0
[   530.089]     Module class: X.Org Server Extension
[   530.089] (II) NVIDIA GLX Module  173.14.28  Wed Sep 29 10:17:05 PDT 2010
[   530.089] (II) Loading extension GLX
[   530.089] (II) LoadModule: "nvidia"
[   530.100] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   530.139] (II) Module nvidia: vendor="NVIDIA Corporation"
[   530.140]     compiled for 4.0.2, module version = 1.0.0
[   530.140]     Module class: X.Org Video Driver
[   530.154] (II) NVIDIA dlloader X Driver  173.14.28  Wed Sep 29 09:55:18 PDT 2010
[   530.161] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   530.161] (--) using VT number 3

[   530.174] (II) Loading sub module "fb"
[   530.174] (II) LoadModule: "fb"
[   530.175] (II) Loading /usr/lib/xorg/modules/libfb.so
[   530.190] (II) Module fb: vendor="X.Org Foundation"
[   530.190]     compiled for 1.9.4.901, module version = 1.0.0
[   530.190]     ABI class: X.Org ANSI C Emulation, version 0.4
[   530.190] (II) Loading sub module "wfb"
[   530.190] (II) LoadModule: "wfb"
[   530.190] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   530.192] (II) Module wfb: vendor="X.Org Foundation"
[   530.192]     compiled for 1.9.4.901, module version = 1.0.0
[   530.192]     ABI class: X.Org ANSI C Emulation, version 0.4
[   530.192] (II) Loading sub module "ramdac"
[   530.192] (II) LoadModule: "ramdac"
[   530.192] (II) Module "ramdac" already built-in
[   530.193] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   530.193] (==) NVIDIA(0): RGB weight 888
[   530.193] (==) NVIDIA(0): Default visual is TrueColor
[   530.193] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   530.193] (**) NVIDIA(0): Option "TwinView" "0"
[   530.193] (**) NVIDIA(0): Option "MetaModes" "1280x1024_85 +0+0; nvidia-auto-select +0+0; 640x480_155 +0+0; 800x600_144 +0+0"
[   530.193] (**) NVIDIA(0): Option "TwinViewXineramaInfoOrder" "CRT-0"
[   530.194] (**) NVIDIA(0): Enabling RENDER acceleration
[   530.194] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
[   530.194] (II) NVIDIA(0):     enabled.
[   531.458] (II) NVIDIA(0): NVIDIA GPU GeForce 6700 XL (NV43) at PCI:1:0:0 (GPU-0)
[   531.458] (--) NVIDIA(0): Memory: 131072 kBytes
[   531.458] (--) NVIDIA(0): VideoBIOS: 05.43.02.76.a1
[   531.458] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   531.458] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[   531.459] (--) NVIDIA(0): Connected display device(s) on GeForce 6700 XL at PCI:1:0:0:
[   531.459] (--) NVIDIA(0):     Samsung SyncMaster (CRT-0)
[   531.459] (--) NVIDIA(0): Samsung SyncMaster (CRT-0): 400.0 MHz maximum pixel clock
[   531.459] (II) NVIDIA(0): Assigned Display Device: CRT-0
[   531.460] (II) NVIDIA(0): Validated modes:
[   531.460] (II) NVIDIA(0):     "1280x1024_85+0+0"
[   531.460] (II) NVIDIA(0):     "nvidia-auto-select+0+0"
[   531.460] (II) NVIDIA(0):     "640x480_155+0+0"
[   531.460] (II) NVIDIA(0):     "800x600_144+0+0"
[   531.460] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
[   531.461] (--) NVIDIA(0): DPI set to (92, 100); computed from "UseEdidDpi" X config
[   531.461] (--) NVIDIA(0):     option
[   531.461] (==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
[   531.462] (--) Depth 24 pixmap format is 32 bpp
[   531.465] (II) NVIDIA(0): Initialized GPU GART.
[   531.468] (II) NVIDIA(0): Unable to connect to the ACPI daemon; the ACPI daemon may not
[   531.468] (II) NVIDIA(0):     be running or the "AcpidSocketPath" X configuration option
[   531.468] (II) NVIDIA(0):     may not be set correctly.  When the ACPI daemon is
[   531.468] (II) NVIDIA(0):     available, the NVIDIA X driver can use it to receive ACPI
[   531.468] (II) NVIDIA(0):     events.  For details, please see the "ConnectToAcpid" and
[   531.468] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   531.469] (II) NVIDIA(0):     Config Options in the README.
[   531.469] (II) NVIDIA(0): Setting mode "1280x1024_85+0+0"
[   531.655] (II) Loading extension NV-GLX
[   531.688] (II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
[   531.719] (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
[   531.719] (==) NVIDIA(0): Backing store disabled
[   531.719] (==) NVIDIA(0): Silken mouse enabled
[   531.720] (==) NVIDIA(0): DPMS enabled
[   531.720] (II) Loading extension NV-CONTROL
[   531.720] (==) RandR enabled
[   531.720] (II) Initializing built-in extension Generic Event Extension
[   531.720] (II) Initializing built-in extension SHAPE
[   531.720] (II) Initializing built-in extension MIT-SHM
[   531.720] (II) Initializing built-in extension XInputExtension
[   531.720] (II) Initializing built-in extension XTEST
[   531.720] (II) Initializing built-in extension BIG-REQUESTS
[   531.720] (II) Initializing built-in extension SYNC
[   531.720] (II) Initializing built-in extension XKEYBOARD
[   531.720] (II) Initializing built-in extension XC-MISC
[   531.720] (II) Initializing built-in extension SECURITY
[   531.720] (II) Initializing built-in extension XINERAMA
[   531.720] (II) Initializing built-in extension XFIXES
[   531.720] (II) Initializing built-in extension RENDER
[   531.720] (II) Initializing built-in extension RANDR
[   531.720] (II) Initializing built-in extension COMPOSITE
[   531.720] (II) Initializing built-in extension DAMAGE
[   531.726] (II) Initializing extension GLX
[   532.049] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[   532.049] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   532.049] (II) LoadModule: "evdev"
[   532.050] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   532.059] (II) Module evdev: vendor="X.Org Foundation"
[   532.059]     compiled for 1.9.4, module version = 2.6.0
[   532.059]     Module class: X.Org XInput Driver
[   532.059]     ABI class: X.Org XInput driver, version 11.0
[   532.059] (**) Power Button: always reports core events
[   532.059] (**) Power Button: Device: "/dev/input/event4"
[   532.080] (--) Power Button: Found keys
[   532.080] (II) Power Button: Configuring as keyboard
[   532.080] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[   532.080] (**) Option "xkb_rules" "evdev"
[   532.080] (**) Option "xkb_model" "evdev"
[   532.080] (**) Option "xkb_layout" "us"
[   532.122] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   532.122] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   532.122] (**) Power Button: always reports core events
[   532.122] (**) Power Button: Device: "/dev/input/event2"
[   532.146] (--) Power Button: Found keys
[   532.146] (II) Power Button: Configuring as keyboard
[   532.146] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[   532.146] (**) Option "xkb_rules" "evdev"
[   532.146] (**) Option "xkb_model" "evdev"
[   532.146] (**) Option "xkb_layout" "us"
[   532.147] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
[   532.147] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[   532.147] (**) Sleep Button: always reports core events
[   532.147] (**) Sleep Button: Device: "/dev/input/event3"
[   532.186] (--) Sleep Button: Found keys
[   532.186] (II) Sleep Button: Configuring as keyboard
[   532.186] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
[   532.186] (**) Option "xkb_rules" "evdev"
[   532.186] (**) Option "xkb_model" "evdev"
[   532.186] (**) Option "xkb_layout" "us"
[   532.188] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event5)
[   532.188] (II) No input driver/identifier specified (ignoring)
[   532.189] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event6)
[   532.189] (II) No input driver/identifier specified (ignoring)
[   532.191] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/event7)
[   532.191] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[   532.191] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[   532.191] (**) Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event7"
[   532.213] (--) Logitech USB-PS/2 Optical Mouse: Found 12 mouse buttons
[   532.213] (--) Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)
[   532.213] (--) Logitech USB-PS/2 Optical Mouse: Found relative axes
[   532.213] (--) Logitech USB-PS/2 Optical Mouse: Found x and y relative axes
[   532.213] (II) Logitech USB-PS/2 Optical Mouse: Configuring as mouse
[   532.213] (II) Logitech USB-PS/2 Optical Mouse: Adding scrollwheel support
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   532.213] (II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical Mouse" (type: MOUSE)
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration profile 0
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4
[   532.213] (II) Logitech USB-PS/2 Optical Mouse: initialized for relative axes.
[   532.214] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/mouse0)
[   532.214] (II) No input driver/identifier specified (ignoring)
[   532.217] (II) config/udev: Adding input device X10 WTI RF receiver (/dev/input/event8)
[   532.217] (**) X10 WTI RF receiver: Applying InputClass "evdev pointer catchall"
[   532.217] (**) X10 WTI RF receiver: Applying InputClass "evdev keyboard catchall"
[   532.217] (**) X10 WTI RF receiver: always reports core events
[   532.217] (**) X10 WTI RF receiver: Device: "/dev/input/event8"
[   532.239] (--) X10 WTI RF receiver: Found 9 mouse buttons
[   532.240] (--) X10 WTI RF receiver: Found relative axes
[   532.240] (--) X10 WTI RF receiver: Found x and y relative axes
[   532.240] (--) X10 WTI RF receiver: Found keys
[   532.240] (II) X10 WTI RF receiver: Configuring as mouse
[   532.240] (II) X10 WTI RF receiver: Configuring as keyboard
[   532.240] (**) X10 WTI RF receiver: YAxisMapping: buttons 4 and 5
[   532.240] (**) X10 WTI RF receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   532.240] (II) XINPUT: Adding extended input device "X10 WTI RF receiver" (type: KEYBOARD)
[   532.240] (**) Option "xkb_rules" "evdev"
[   532.240] (**) Option "xkb_model" "evdev"
[   532.240] (**) Option "xkb_layout" "us"
[   532.240] (**) X10 WTI RF receiver: (accel) keeping acceleration scheme 1
[   532.240] (**) X10 WTI RF receiver: (accel) acceleration profile 0
[   532.240] (**) X10 WTI RF receiver: (accel) acceleration factor: 2.000
[   532.240] (**) X10 WTI RF receiver: (accel) acceleration threshold: 4
[   532.240] (II) X10 WTI RF receiver: initialized for relative axes.
[   532.241] (II) config/udev: Adding input device X10 WTI RF receiver (/dev/input/mouse1)
[   532.241] (II) No input driver/identifier specified (ignoring)
[   532.252] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[   532.252] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   532.252] (**) AT Translated Set 2 keyboard: always reports core events
[   532.252] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[   532.266] (--) AT Translated Set 2 keyboard: Found keys
[   532.266] (II) AT Translated Set 2 keyboard: Configuring as keyboard
[   532.266] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
[   532.266] (**) Option "xkb_rules" "evdev"
[   532.266] (**) Option "xkb_model" "evdev"
[   532.266] (**) Option "xkb_layout" "us"
[   532.267] (II) config/udev: Adding input device PC Speaker (/dev/input/event1)
[   532.267] (II) No input driver/identifier specified (ignoring)

Offline

#2 2011-03-16 08:05:50

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: UDEV rule broken?

Hi,

I too have had a problem with a previously working udev rule.

The rule was to map a static device node for my IR remote, and worked flawlessly on my Ubuntu media box. Since I changed the media box to Arch, the udev rule still maps my remote, but the device no longer worked.

I have ended up using the /dev/input/by-id node to get the remote working again, so this could be a similar problem to what you are experiencing.

So firstly, I would suggest not using the udev rule and letting xorg use the device automatically assigned (unless there is a specific reason you must map the mouse to another device node??).

From looking at the output of your x server above, it appears you have 2 devices being mapped as a mouse.

This one being mapped to nodes at /dev/input/event7 and /dev/input/mouse0

[   532.191] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/event7)
[   532.191] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[   532.191] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[   532.191] (**) Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event7"
[   532.213] (--) Logitech USB-PS/2 Optical Mouse: Found 12 mouse buttons
[   532.213] (--) Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)
[   532.213] (--) Logitech USB-PS/2 Optical Mouse: Found relative axes
[   532.213] (--) Logitech USB-PS/2 Optical Mouse: Found x and y relative axes
[   532.213] (II) Logitech USB-PS/2 Optical Mouse: Configuring as mouse
[   532.213] (II) Logitech USB-PS/2 Optical Mouse: Adding scrollwheel support
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   532.213] (II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical Mouse" (type: MOUSE)
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration profile 0
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000
[   532.213] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4
[   532.213] (II) Logitech USB-PS/2 Optical Mouse: initialized for relative axes.
[   532.214] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/mouse0)

and this one being mapped to /dev/input/event8 and /dev/input/mouse1

[   532.217] (II) config/udev: Adding input device X10 WTI RF receiver (/dev/input/event8)
[   532.217] (**) X10 WTI RF receiver: Applying InputClass "evdev pointer catchall"
[   532.217] (**) X10 WTI RF receiver: Applying InputClass "evdev keyboard catchall"
[   532.217] (**) X10 WTI RF receiver: always reports core events
[   532.217] (**) X10 WTI RF receiver: Device: "/dev/input/event8"
[   532.239] (--) X10 WTI RF receiver: Found 9 mouse buttons
[   532.240] (--) X10 WTI RF receiver: Found relative axes
[   532.240] (--) X10 WTI RF receiver: Found x and y relative axes
[   532.240] (--) X10 WTI RF receiver: Found keys
[   532.240] (II) X10 WTI RF receiver: Configuring as mouse
[   532.240] (II) X10 WTI RF receiver: Configuring as keyboard
[   532.240] (**) X10 WTI RF receiver: YAxisMapping: buttons 4 and 5
[   532.240] (**) X10 WTI RF receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   532.240] (II) XINPUT: Adding extended input device "X10 WTI RF receiver" (type: KEYBOARD)
[   532.240] (**) Option "xkb_rules" "evdev"
[   532.240] (**) Option "xkb_model" "evdev"
[   532.240] (**) Option "xkb_layout" "us"
[   532.240] (**) X10 WTI RF receiver: (accel) keeping acceleration scheme 1
[   532.240] (**) X10 WTI RF receiver: (accel) acceleration profile 0
[   532.240] (**) X10 WTI RF receiver: (accel) acceleration factor: 2.000
[   532.240] (**) X10 WTI RF receiver: (accel) acceleration threshold: 4
[   532.240] (II) X10 WTI RF receiver: initialized for relative axes.
[   532.241] (II) config/udev: Adding input device X10 WTI RF receiver (/dev/input/mouse1)

Have you had a look at your mouse config gui? X may be defaulting to the wrong device, hence the reason you get output from cat /dev/input/mx518 but otherwise the mouse is unresponsive.

Worth a look?

Cheers.

Offline

#3 2011-03-16 16:26:59

Bregol
Member
Registered: 2008-08-15
Posts: 175

Re: UDEV rule broken?

[   529.419] (**) |-->Input Device "mx518"

X adds mouse

[   529.510] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   529.510] (WW) Disabling mx518

X removes mouse

Section "InputDevice"
    Identifier     "mx518"
    Driver         "mouse"

This is why X did that... devices using 'mouse' driver were disabled

[   532.191] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/event7)
[   532.191] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[   532.191] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[   532.191] (**) Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event7"

X goes looking for any other devices and thinks it sees the mouse at event7 (not at your /dev/input/mx518).  Since the InputDevice section for your mouse is being ignored anyways (since it says to use the 'mouse' driver), perhaps it might add your mouse properly if you had that section use the 'evdev' driver instead and then you would be able to explicitly tell X in that section to look for your device at /dev/input/mx518.


Nai haryuvalyë melwa rë

Offline

Board footer

Powered by FluxBB