You are not logged in.

#1 2020-09-17 23:33:53

arboch
Member
Registered: 2020-09-04
Posts: 9

How to restore evdev driver to see addtl mouse settings in KDE Plasma?

Hi all,

I wanted to change the scroll settings for my mouse so that I could scroll more lines per mouse wheel scroll.
However, as it turns out, this setting is not present in the KDE Plasma mouse settings page if I'm using the libinput driver for my mouse (which appears to be the default).

From this thread's guidance I then created a file named 'xorg.conf' in my /etc/X11/xorg.conf.d/ folder with the following contents:

Section "InputClass"
        Identifier "evdev-mouse"
        MatchIsPointer "yes"
        Driver "evdev"
EndSection

However, upon a reboot I saw no change to my mouse settings page in KDE Plasma.
It's pretty clear that my mouse didn't configure with evdev drivers on startup, because running xinput list-props on the mouse gives me:

Device 'Razer Razer Naga 2014':
        Device Enabled (189):   1
        Coordinate Transformation Matrix (191): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Natural Scrolling Enabled (323):       0
        libinput Natural Scrolling Enabled Default (324):       0
        libinput Scroll Methods Available (325):        0, 0, 1
        libinput Scroll Method Enabled (326):   0, 0, 0
        libinput Scroll Method Enabled Default (327):   0, 0, 0
. . . etc.

Here's my log output for Xorg (filtered with grep):

[armen@archPC /]$ cat /var/log/Xorg.0.log | grep Applying | grep Razer
[     4.985] (**) Razer Razer Naga 2014: Applying InputClass "libinput pointer catchall"
[     4.985] (**) Razer Razer Naga 2014: Applying InputClass "evdev-mouse"
[     4.985] (**) Razer Razer Naga 2014: Applying InputClass "evdev-mouse"
[     5.168] (**) Razer Razer Naga 2014: Applying InputClass "evdev-mouse"
[     5.168] (**) Razer Razer Naga 2014: Applying InputClass "evdev-mouse"
[     5.227] (**) Razer Razer Naga 2014 Keyboard: Applying InputClass "libinput keyboard catchall"
[     5.227] (**) Razer Razer Naga 2014 Keyboard: Applying InputClass "evdev-keyboard"
[     5.272] (**) Razer Razer Naga 2014 Consumer Control: Applying InputClass "libinput keyboard catchall"
[     5.272] (**) Razer Razer Naga 2014 Consumer Control: Applying InputClass "evdev-keyboard"
[     5.325] (**) Razer Razer Naga 2014 System Control: Applying InputClass "libinput keyboard catchall"
[     5.326] (**) Razer Razer Naga 2014 System Control: Applying InputClass "evdev-keyboard"
[     5.368] (**) Razer Razer Naga 2014: Applying InputClass "libinput keyboard catchall"
[     5.368] (**) Razer Razer Naga 2014: Applying InputClass "evdev-keyboard"
[     5.852] (**) Razer Razer Naga 2014 Consumer Control: Applying InputClass "libinput keyboard catchall"
[     5.852] (**) Razer Razer Naga 2014 Consumer Control: Applying InputClass "evdev-keyboard"

Disregarding the fact that for some reason my sole mouse is treated as multiple devices for some reason (and also as a keyboard???) I'm not quite sure why the mouse is still listed as having 'libinput' drivers in xinput.
Shouldn't my config file be working? Any help would be greatly appreciated.

Last edited by arboch (2020-09-17 23:36:12)

Offline

#2 2020-09-18 01:40:47

solskog
Member
Registered: 2020-09-05
Posts: 462

Re: How to restore evdev driver to see addtl mouse settings in KDE Plasma?

# pacman -S xf86-input-evdev
$ man evdev
$ cat /etc/X11/xorg.conf.d/10-mouse.conf
Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchProduct "Razer Razer Nagae 2014"
        MatchIsPointer "yes"
        Driver "evdev"
        MatchDevicePath "/dev/input/event*"
        Option "VertScrollDelta" "1"
        Option "HorizScrollDelta" "1"
        Option "DialDelta" "1"
EndSection

Restart Xorg ...

$ xinput list-props ID
You will see many new lines and one of them is:
...
Evdev Scrolling Distance (301): 1, 1, 1
...
Then you can set with:
$ xinput --set-prop ID 'Evdev Scrolling Distance' NEWDIGIT NEWDIGIT NEWDIGT

Last edited by solskog (2020-09-18 03:41:42)

Offline

#3 2020-09-21 17:38:32

arboch
Member
Registered: 2020-09-04
Posts: 9

Re: How to restore evdev driver to see addtl mouse settings in KDE Plasma?

solskog wrote:
# pacman -S xf86-input-evdev
$ man evdev
$ cat /etc/X11/xorg.conf.d/10-mouse.conf
Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchProduct "Razer Razer Nagae 2014"
        MatchIsPointer "yes"
        Driver "evdev"
        MatchDevicePath "/dev/input/event*"
        Option "VertScrollDelta" "1"
        Option "HorizScrollDelta" "1"
        Option "DialDelta" "1"
EndSection

Restart Xorg ...

$ xinput list-props ID
You will see many new lines and one of them is:
...
Evdev Scrolling Distance (301): 1, 1, 1
...
Then you can set with:
$ xinput --set-prop ID 'Evdev Scrolling Distance' NEWDIGIT NEWDIGIT NEWDIGT

Apologies for the late reply, but it seems that I didn't have the evdev drivers installed. Doing

pacman -S xf86-input-evdev

fixed that. I am now successfully using the evdev drivers.
However, the issue that I'm still having is that I can't seem to get the evdev settings panel to show up in KDE Plasma's mouse settings GUI; it still shows the libinput settings, and I can't customize my mouse acceleration or pointer speed.
I could always just manually change the properties in xinput, but do you know how I might be able to get the evdev settings to show up in KDE Plasma? I reinstalled systemsettings and kcmutils and rebooted and nothing has changed.

EDIT: I also just tried configuring the evdev scrolling distance as you said, but anything I do only makes my mouse scroll less/slower. I want my mouse to virtually scroll more lines per physical scroll, not the other way around. Is there some way to accomplish that?
EDIT 2: I've been digging around and I guess it's not possible to have the mouse scroll faster without emulating multiple mouse scroll movements like with imwheel.

Last edited by arboch (2020-09-21 20:27:39)

Offline

Board footer

Powered by FluxBB