Summary: | x11-drivers/xf86-input-evdev-1.2.0 causes Emulate3Buttons to fail | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nick Andrade <SDNick484> |
Component: | Current packages | Assignee: | Piotr JaroszyĆski (RETIRED) <peper> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | aslvrstn, naak |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Nick Andrade
2008-01-08 06:41:58 UTC
I just found that by downgrading to xf86-input-evdev from 1.2.0 to 1.1.5-r2 and hal from 0.5.10 to 0.5.9.1-r3, then re-emerging xorg-server-1.4.0.90, the issue goes away and the mouse works as expected. Perhaps there's a way to disable the XINPUT hotplugging, but I couldn't find a clear way on x/freedesktop.org or through google searches. Also if it helps, I'm using 2.6.23-tuxonice-r1 with CONFIG_INPUT_EVDEV=y Finally, I noticed I made a mistake in the initial logs I provided. The log output I was getting with xf86-input-evdev-1.2.0 was: <<<<< (**) |-->Input Device "Mouse1" (II) LoadModule: "mouse" (II) Loading /usr/lib/xorg/modules/input//mouse_drv.so (II) Module mouse: vendor="X.Org Foundation" (==) RADEON(0): Silken mouse enabled (**) Mouse1: Device: "/dev/input/mice" (**) Mouse1: Protocol: "ImPS/2" (**) Mouse1: always reports core events (**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50 (**) Mouse1: ZAxisMapping: buttons 4 and 5 (**) Mouse1: Buttons: 9 (**) Mouse1: Sensitivity: 1 (II) evaluating device (Mouse1) (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (II) Mouse1: ps2EnableDataReporting: succeeded (II) AlpsPS/2 ALPS GlidePoint: Found 5 mouse buttons (II) AlpsPS/2 ALPS GlidePoint: Configured 4 mouse buttons. (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS GlidePoint" (type: MOUSE) (**) PS/2 Mouse: always reports core events (II) PS/2 Mouse: Found 2 relative axes. (II) PS/2 Mouse: Configuring as pointer. (II) PS/2 Mouse: Found 3 mouse buttons (II) PS/2 Mouse: Configured 4 mouse buttons. (II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE) (**) PS/2 Mouse: 2 valuators. (**) PS/2 Mouse: Configuring in Absolute mode. (**) PS/2 Mouse: Registering 4 buttons. (II) PS/2 Mouse: Init (II) PS/2 Mouse: On (II) PS/2 Mouse: Off >>>>> When I set Driver "mouse" in my xorg.conf. I receive the log I initially provided: <<<<< (EE) Mouse1: cannot load bits (EE) PreInit returned NULL for "Mo >>>>> When I have: Drive "evdev" I think I got related bug, after update to x11-drivers/xf86-input-evdev-1.2.0. My xorg.conf is set not to use evdev but it loads after all with unwanted settings and causes keyboard ignore cursor movements, del key maybe more. xorg.conf Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "AutoRepeat" "500 5" Option "XkbModel" "pc105" Option "XkbRules" "xorg" Option "XkbLayout" "us" Option "XkbVariant" ",winkeys" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" # Option "Protocol" "ImPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection cut from Xorg.0.log (**) Option "Protocol" "auto" (**) Mouse0: Device: "/dev/input/mice" (**) Mouse0: Protocol: "auto" (**) Option "CorePointer" (**) Mouse0: always reports core events (**) Option "Device" "/dev/input/mice" (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50 (**) Option "ZAxisMapping" "4 5 6 7" (**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7 (**) Mouse0: Buttons: 11 (**) Mouse0: Sensitivity: 1 (**) Option "CoreKeyboard" (**) Keyboard0: always reports core events (**) Option "Protocol" "standard" (**) Keyboard0: Protocol: standard (**) Option "AutoRepeat" "500 5" (**) Option "XkbRules" "xorg" (**) Keyboard0: XkbRules: "xorg" (**) Option "XkbModel" "pc105" (**) Keyboard0: XkbModel: "pc105" (**) Option "XkbLayout" "us" (**) Keyboard0: XkbLayout: "us" (**) Option "XkbVariant" ",winkeys" (**) Keyboard0: XkbVariant: ",winkeys" (**) Option "CustomKeycodes" "off" (**) Keyboard0: CustomKeycodes disabled (II) evaluating device (Keyboard0) (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) (II) evaluating device (Mouse0) (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE) (--) Mouse0: PnP-detected protocol: "ExplorerPS/2" (II) Mouse0: ps2EnableDataReporting: succeeded Could not init font path element /usr/share/fonts/OTF, removing from list! (II) LoadModule: "evdev" (II) Loading /usr/lib64/xorg/modules/input//evdev_drv.so (II) Module evdev: vendor="X.Org Foundation" compiled for 1.4.0.90, module version = 1.2.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 2.0 (**) ImPS/2 Generic Wheel Mouse: always reports core events (II) ImPS/2 Generic Wheel Mouse: Found 3 relative axes. (II) ImPS/2 Generic Wheel Mouse: Configuring as pointer. (II) ImPS/2 Generic Wheel Mouse: Found 3 mouse buttons (II) ImPS/2 Generic Wheel Mouse: Configured 6 mouse buttons. (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE) (**) ImPS/2 Generic Wheel Mouse: 2 valuators. (**) ImPS/2 Generic Wheel Mouse: Configuring in Absolute mode. (**) ImPS/2 Generic Wheel Mouse: Registering 6 buttons. (II) ImPS/2 Generic Wheel Mouse: Init (II) ImPS/2 Generic Wheel Mouse: On (**) AT Translated Set 2 keyboard: always reports core events (**) Option "xkb_model" "evdev" (**) Option "xkb_layout" "us" (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD) evdev: leds are 0x0 for device 5 (II) AT Translated Set 2 keyboard: Init (II) AT Translated Set 2 keyboard: On evdev: leds are 0x0 for device 5 evdev: leds are 0x0 for device 5 evdev: leds are 0x2 for device 5 evdev: leds are 0x2 for device 5 evdev: leds are 0x2 for device 5 After trying to resolve the issue again, I have come to the conclusion this is a HAL bug, not an evdev one (or at least not entirely). I found that the following entry resolves my issue: Section "ServerFlags" Option "AutoAddDevices" "false" EndSection This option might not be viable for people who need things autodetected for Xorg, but it works for me. Ditto as Bug 205077 - this is not an evdev bug. See Bug 204128 Comment #20, namely the NO "InputDevice" section in xorg.conf at all - IMPORTANT!!! part ;) *** This bug has been marked as a duplicate of bug 200061 *** |