You are not logged in.

#1 2017-01-13 11:03:17

julienfalque
Member
Registered: 2016-06-17
Posts: 43

[SOLVED] Mouse acceleration broken

Hi,

I just upgraded the packages on my laptop and mouse acceleration does not work anymore.
Using xset has no effect and my Xorg config file seems to be ignored, here it is:

Section "InputClass"
    Identifier "mouse"
    MatchIsPointer "yes"

    Option "AccelerationProfile"     "2"
    Option "VelocityScale"           "17"
EndSection

Pacman's log:

[2017-01-13 09:20] [PACMAN] Running 'pacman --color auto -S -u'
[2017-01-13 09:20] [PACMAN] starting full system upgrade
[2017-01-13 09:20] [ALPM] transaction started
[2017-01-13 09:20] [ALPM] upgraded boost-libs (1.62.0-4 -> 1.63.0-1)
[2017-01-13 09:20] [ALPM] upgraded cantarell-fonts (1:0.0.25-2 -> 1:0.0.25-3)
[2017-01-13 09:20] [ALPM] upgraded docker (1:1.12.5-1 -> 1:1.12.6-1)
[2017-01-13 09:20] [ALPM] upgraded libcmis (0.5.1-4 -> 0.5.1-5)
[2017-01-13 09:20] [ALPM] upgraded libixion (0.11.1-4 -> 0.11.1-5)
[2017-01-13 09:20] [ALPM] upgraded libnl (3.2.28-1 -> 3.2.29-1)
[2017-01-13 09:20] [ALPM] upgraded liborcus (0.11.2-4 -> 0.11.2-5)
[2017-01-13 09:20] [ALPM] upgraded libtool (2.4.6-6 -> 2.4.6-7)
[2017-01-13 09:20] [ALPM] upgraded lightdm (1:1.18.3-1 -> 1:1.20.0-2)
[2017-01-13 09:20] [ALPM] upgraded sed (4.2.2-4 -> 4.3-1)
[2017-01-13 09:20] [ALPM] upgraded xf86-input-evdev (2.10.4-1 -> 2.10.4-2)
[2017-01-13 09:20] [ALPM] upgraded xf86-input-mouse (1.9.2-1 -> 1.9.2-3)
[2017-01-13 09:20] [ALPM] upgraded xf86-input-synaptics (1.8.99.1-1 -> 1.9.0-1)
[2017-01-13 09:20] [ALPM-SCRIPTLET] >>> xf86-input-synaptics driver is on maintenance mode and
[2017-01-13 09:20] [ALPM-SCRIPTLET]     xf86-input-libinput driver must be prefered over.
[2017-01-13 09:20] [ALPM] upgraded xf86-video-intel (1:2.99.917+746+g169c74f-1 -> 1:2.99.917+747+g028c946d-1)
[2017-01-13 09:20] [ALPM] installed libxfont2 (2.0.1-1)
[2017-01-13 09:20] [ALPM] upgraded xorg-server-common (1.18.4-1 -> 1.19.1-1)
[2017-01-13 09:20] [ALPM] installed xf86-input-libinput (0.23.0-1)
[2017-01-13 09:20] [ALPM] upgraded xorg-server (1.18.4-1 -> 1.19.1-1)
[2017-01-13 09:20] [ALPM] upgraded xorg-server-xephyr (1.18.4-1 -> 1.19.1-1)
[2017-01-13 09:20] [ALPM] transaction completed
[2017-01-13 09:20] [ALPM] running 'fontconfig.hook'...
[2017-01-13 09:20] [ALPM] running 'systemd-sysusers.hook'...
[2017-01-13 09:20] [ALPM] running 'systemd-tmpfiles.hook'...
[2017-01-13 09:20] [ALPM] running 'texinfo-install.hook'...
[2017-01-13 09:20] [ALPM] running 'xorg-mkfontdir.hook'...

Also, xf86-input-evdev is now an orphan package, I'm guessing this is related to my issue but I'm not sure.

Last edited by julienfalque (2017-01-16 08:14:54)

Offline

#2 2017-01-13 11:59:33

xvzf
Member
Registered: 2014-05-18
Posts: 86

Re: [SOLVED] Mouse acceleration broken

I wasn't able to move the mouse at all, however my profile is a little different.

Similar problem, see here: https://bbs.archlinux.org/viewtopic.php?id=221881

Downgrading the packages fixed it for now. Maybe there's a bug in some packages!

Offline

#3 2017-01-13 18:10:00

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] Mouse acceleration broken

The options you use in your config are for the "evdev" Xorg input driver. With this new update, you need to add a line like this to your config to continue to use evdev:

Driver "evdev"

This is because the update installed "xf86-input-libinput" as it is a new dependency for the "xorg-server" package. Libinput gets chosen over evdev for a mouse by default when both are installed. If you want to keep using evdev, you need to explicitly ask for it in your config with that "Driver" setting.

Offline

#4 2017-01-16 08:13:48

julienfalque
Member
Registered: 2016-06-17
Posts: 43

Re: [SOLVED] Mouse acceleration broken

Thank you @Ropid, this fixed the issue.

Is libinput the recommended driver for input devices and evdev deprecated?

Offline

#5 2017-01-16 08:17:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Mouse acceleration broken

julienfalque wrote:

Is libinput the recommended driver for input devices and evdev deprecated?

https://www.archlinux.org/news/xorg-ser … -in-extra/


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2017-01-16 09:48:20

julienfalque
Member
Registered: 2016-06-17
Posts: 43

Re: [SOLVED] Mouse acceleration broken

@jasonwryan Yeah I saw this, but does it mean I should take some time to configure Xorg to use libinput instead of evdev, or is it ok to keep using evdev?

Offline

#7 2017-01-16 23:46:25

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] Mouse acceleration broken

It is OK for now to use evdev, but sometime it will be deprecated and won't work at all.  I don't know how far out that will be, though.

Offline

Board footer

Powered by FluxBB