This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Mouse Scroll Wheel only works in Web Browser.

Tags: None
(comma "," separated)
wrender
Registered Member
Posts
108
Karma
1
OS
Randomly When I first boot up or if I log back into my laptop mouse scroll wheel will only work in Firefox. No where else. Not in dolphin or the launcher menu. I can't figure out why. I have to reboot and hope it works which is annoying.

This is fully updated KDE Neon User edition.

ps. this has been going on for a while but I figured it was just a small bug that would get fixed but months later it is still going.


wrender, proud to be a member of KDE forums since 2008-Oct.
NoNameNoBlame
Karma
0
Start "xev" in terminal-window.

Set mouse-pointer into xev's window.

Scroll up and down.

Terminal should show Button4/Button5 events.

Does it?

Edit:

Close xev's window again.
Now, scroll in terminal-window up and down.
Does it?
wrender
Registered Member
Posts
108
Karma
1
OS
When I run the xev program and scroll in it's window, it shows an event happening in the Konsole. But when I close xev it still only works in Firefox.

However If I open up the KDE SystemSettings> MouseControls and toggle "ReverseScrollDirection" on and off the mouse scroll wheel starts working everywhere. (I just randomly tried it).


wrender, proud to be a member of KDE forums since 2008-Oct.
NoNameNoBlame
Karma
0
Let's have a look at Your mouse-hardware-drivers:

Example: (Not from Linux, but it's the same procedure)

Code: Select all
$ cat /var/log/Xorg.0.log | grep '/dev/'
[    56.137] (II) config/devd: adding input device (null) (/dev/kbdmux)
[    56.436] (II) config/devd: adding input device (null) (/dev/sysmouse)
[    56.443] (**) Option "Device" "/dev/sysmouse"
[    56.444] (II) config/devd: device /dev/ums0 already opened
[    56.444] (II) config/devd: device /dev/psm0 already opened


Post Your data here, please.
wrender
Registered Member
Posts
108
Karma
1
OS
Code: Select all
[    10.090] (II) xfree86: Adding drm device (/dev/dri/card1)
[    10.090] (II) xfree86: Adding drm device (/dev/dri/card0)
[    10.098] (**) OutputClass "Nvidia Prime" setting /dev/dri/card1 as PrimaryGPU
[    10.105] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[    10.105] (II) Applying OutputClass "Nvidia Prime" to /dev/dri/card1
[    10.130] (II) modeset(G0): using drv /dev/dri/card0
[    10.131] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[    10.131] (II) Applying OutputClass "Nvidia Prime" options to /dev/dri/card1
[    11.541] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    11.541] (**) evdev: Power Button: Device: "/dev/input/event3"
[    11.542] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[    11.542] (**) evdev: Video Bus: Device: "/dev/input/event5"
[    11.542] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[    11.542] (**) evdev: Video Bus: Device: "/dev/input/event6"
[    11.543] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    11.543] (**) evdev: Power Button: Device: "/dev/input/event1"
[    11.543] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    11.543] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    11.543] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[    11.544] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event21)
[    11.544] (II) config/udev: Adding input device Logitech K750 (/dev/input/event10)
[    11.544] (**) evdev: Logitech K750: Device: "/dev/input/event10"
[    11.545] (II) config/udev: Adding input device Integrated_Webcam_HD: Integrate (/dev/input/event12)
[    11.545] (**) evdev: Integrated_Webcam_HD: Integrate: Device: "/dev/input/event12"
[    11.546] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event8)
[    11.546] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event8"
[    11.546] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event9)
[    11.546] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event9"
[    11.547] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse1)
[    11.547] (II) config/udev: Adding input device DELL0802:00 06CB:7E92 Touchpad (/dev/input/event14)
[    11.547] (**) Option "Device" "/dev/input/event14"
[    11.773] (II) config/udev: Adding input device DELL0802:00 06CB:7E92 Touchpad (/dev/input/mouse2)
[    11.773] (II) config/udev: Adding input device HDA Intel PCH Headphone Mic (/dev/input/event15)
[    11.774] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event16)
[    11.775] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event17)
[    11.776] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event18)
[    11.776] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event19)
[    11.777] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event20)
[    11.778] (II) config/udev: Adding input device Intel HID events (/dev/input/event11)
[    11.778] (**) evdev: Intel HID events: Device: "/dev/input/event11"
[    11.780] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event13)
[    11.780] (**) evdev: Dell WMI hotkeys: Device: "/dev/input/event13"
[    11.782] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    11.782] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event4"
[    11.783] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)
[    11.784] (**) Option "Device" "/dev/input/event7"
[    11.885] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)



wrender, proud to be a member of KDE forums since 2008-Oct.
NoNameNoBlame
Karma
0
Your '**' entries come from config-file, because:

Code: Select all
$ cat /var/log/Xorg.0.log | grep -A2 Markers: | sed -E 's/^[^[:alpha:]]+//'

Markers: (--) probed, (**) from config file, (==) default setting,
from command line, (!!) notice, (II) informational,
WW) warning, (EE) error, (NI) not implemented, (??) unknown.



Maybe Your X Window System is misconfigured in its conf-file(s)?

You can find out, where it/they is/are, like this:

Code: Select all
$ cat /var/log/Xorg.0.log | grep X11 | sed -E 's/^[^[:alpha:]]+//'

Using config directory: "/usr/local/etc/X11/xorg.conf.d"



---

EDIT:
If nobody else seems to want to correct my stupid mistake above,
then I have to do it myself:

Code: Select all
$ cat /var/log/Xorg.0.log | grep -A2 Markers: | grep -o -E 'Mark.*|\(.*'

Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

wrender
Registered Member
Posts
108
Karma
1
OS
I appreciate the help but I am not sure what command you wish for me to enter... :<


wrender, proud to be a member of KDE forums since 2008-Oct.
NoNameNoBlame
Karma
0
I want You to have a look at at Your mouse configuration.

Example: My KDE neon User Edition installation
updated 5 minutes ago.

1) Where's the configuration?

$ cat /var/log/Xorg.0.log | grep -o Using.*X11.*
Using system config directory "/usr/share/X11/xorg.conf.d"

2) Let's check its contents:

$ ls /usr/share/X11/xorg.conf.d

40-libinput.conf


3) within this:
Post this file's contents here.

This is my only file for input/mouse/trackpad devices.
Maybe, You have others, too.

My scrolling works perfectly. Maybe, You have other settings.
Maybe not. Without looking, we won't find out.

4) Step 1 is important. Don't skip it.
wrender
Registered Member
Posts
108
Karma
1
OS
The struggle is real for me... I don't really understand the first part... :'(

Is this what I'm suppose to enter for step one?

cat /var/log/Xorg.0.log | grep -o /usr/share/X11/xorg.conf.d



This is what I have right now...

Code: Select all
-rw-r--r-- 1 root root   92 Mar 20  2018 10-amdgpu.conf
-rw-r--r-- 1 root root 1099 Mar  7  2017 10-evdev.conf
-rw-r--r-- 1 root root  199 Feb 15 06:00 10-nvidia.conf
-rw-r--r-- 1 root root 1350 Oct 25  2018 10-quirks.conf
-rw-r--r-- 1 root root   92 Mar 20  2018 10-radeon.conf
-rw-r--r-- 1 root root  590 Mar  7  2017 11-evdev-quirks.conf
-rw-r--r-- 1 root root  364 Mar  7  2017 11-evdev-trackpoint.conf
-rw-r--r-- 1 root root  329 May  4 17:53 11-nvidia-prime.conf
-rw-r--r-- 1 root root  945 Apr 11  2018 40-libinput.conf
lrwxrwxrwx 1 root root   13 Apr 29 08:37 41-evdev.conf -> 10-evdev.conf
lrwxrwxrwx 1 root root   20 Apr 29 08:37 42-evdev-quirks.conf -> 11-evdev-quirks.conf
lrwxrwxrwx 1 root root   24 Apr 29 08:37 42-evdev-trackpoint.conf -> 11-evdev-trackpoint.conf
-rw-r--r-- 1 root root  590 Mar  7  2017 51-synaptics-quirks.conf
-rw-r--r-- 1 root root 1751 Mar  7  2017 70-synaptics.conf
-rw-r--r-- 1 root root 3025 Apr  3  2018 70-wacom.conf



wrender, proud to be a member of KDE forums since 2008-Oct.
NoNameNoBlame
Karma
0
1) Your posting was helpful. I'll tell You why:
You have a lot of different conf-files here which
all of them configure input devices. Probably, they contain
conflicting information, and the later ones my overwrite
earlier ones, which may be correct but invalidated by this
later overwriting.

2)
Config files could be below /etc/X11, or they could be
below /usr/share/X11/xorg.conf.d.

That's the reason for my telling You to not skip
the first step: We have to know which ones are in use
and which ones are not.

3)
You have:
evdev.conf
evdev-quirks.conf
evdev-trackpoint.conf
libinput.conf
then You have evdev.conf once again with a later sequence-number
evdev-quirks.conf again
evdev-trackpoint again
synaptics-quirks.conf
synaptics.conf
wacom.conf

This looks a bit crazy. How did all those files get there?
Multiple times?

I only have libinput.conf on my KDE neon.
That's one single file.

I'd suggest, for testing purpose You rename all *.conf files
I've listed here into *.conf_OFF.

Only keep libinput.conf.

Then Logout/Login and see whether this helped.
User avatar
thunder422
Registered Member
Posts
81
Karma
1
OS
NoNameNoBlame wrote:This looks a bit crazy. How did all those files get there?
Multiple times?

NoName: He gave you the output of the "ll /usr/share/X11/xorg.conf.d" command. My system has the same files as his with same time stamps except I don't have 11-nvidia-prime.conf and the time and size of 10-nvidia.conf is different (looks like he has a laptop, mine is a desktop). My mouse scroll wheel works fine everywhere.

Wrender: What NoName wants you to do is provide that contents of 40-libinput.conf, by doing this command:
Code: Select all
cat /usr/share/X11/xorg.conf.d/40-libinput.conf


Currently running KDE Neon 5.22.5 and 5.19.4 (with Windows 10 in a VM); migrated from Linux Mint 17.3
wrender
Registered Member
Posts
108
Karma
1
OS
$ cat /usr/share/X11/xorg.conf.d/40-libinput.conf
# Match on all types of devices but joysticks
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection

Section "InputClass"
Identifier "libinput keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection

Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection

Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection

Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection



wrender, proud to be a member of KDE forums since 2008-Oct.
NoNameNoBlame
Karma
0
1) Your file contents are the same as mine. Looks good.

2) I still suggest renaming and testing what happens.

3) But before doing this, consider this:

Code: Select all
$ man xorg.conf | ul | grep -A 3 -i 'Option.*auto.*devices'
Option "AutoAddDevices" "boolean"
       If this option is disabled, then no devices will be added from the
       HAL or udev backends. Enabled by default.

Option "AutoEnableDevices" "boolean"
       If this option is disabled, then the devices will be added (and the
       DevicePresenceNotify event sent), but not enabled, thus leaving
       policy up to the client.  Enabled by default.


These should be ENABLED. Else libinput.conf won't work.
Check Your *.conf-files for this.

4)

If You want to know more:
a) man xorg.conf
b) Enter "/", and type "InputClass"+RETURN
c) "n" and "N" jumps between found locations within the text.
d) "q" for quitting the viewer.
NoNameNoBlame
Karma
0
Maybe, it helps to check this:

Example

Code: Select all
$ xinput | grep -i pointer

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ sysmouse                                  id=7    [slave  pointer  (2)]


$ xinput list-props 7 | grep -i wheel

        Button Labels (290):    "Button Left" (145), "Button Middle" (146), "Button Right" (147), "Button Wheel Up" (148), "Button Wheel Down" (149)


This would be an exemplary result with a working
libinput.conf setting.
wrender
Registered Member
Posts
108
Karma
1
OS
Code: Select all
$ xinput | grep -i pointer
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech K750                             id=11   [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                     id=14   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=19   [slave  pointer  (2)]
⎜   ↳ DELL0802:00 06CB:7E92 Touchpad            id=15   [slave  pointer  (2)]


wrender, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]