You are not logged in.

#1 2021-06-10 07:28:33

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

[SOLVED] Mouse scroll wheel does whatever on my Arch

Hello.

Since I installed my Arch distrib, I was unable to solve a problem I got with my mouse, notably with its middle button: it does whatever as much on Linux programs as on Wine-powered ones.
When I scroll up/down the wheel button, i.e. on Firefox, the scroll view is going to the top, then the bottom, as if it was purely random. No need to say it makes navigation on Firefox, Brave or Dolphin just HORRIBLE.
I tested my mouse on others PC, it was perfectly working. So I'm pretty sure the problem is linked to my Arch config.

I'd like to use my mouse without getting on nerves each time I'm using the scroll button, so is there a way to reconfigure it correctly?
Thanks in advance.

Last edited by byjove01 (2021-08-16 07:28:44)

Offline

#2 2021-06-10 07:45:29

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

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

Can you share more details?

That other PC you tested it on was Linux as well or was it Windows or Mac?

If it was Linux, then how do the setups compare between the two PCs?

If it wasn't Linux, then search online for the exact name of your mouse model plus "linux problem" and see if you can find other people with the same problem.

Offline

#3 2021-06-10 11:17:44

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

Ropid wrote:

Can you share more details?

That other PC you tested it on was Linux as well or was it Windows or Mac?

If it was Linux, then how do the setups compare between the two PCs?

If it wasn't Linux, then search online for the exact name of your mouse model plus "linux problem" and see if you can find other people with the same problem.

The other PC I tested this mouse on was using Manjaro Linux, but I also tested it on Windows-powered ones : I don't think it's related to the mouse, really.
Made the search you advised, but I didn't find anything related to my mouse. (VicTsing Gaming Wireless Mouse, ref. ID being PC066C)

Offline

#4 2021-06-10 13:06:02

seth
Member
Registered: 2012-09-03
Posts: 23,231

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

Outputs of

lsusb
xinput list-props <mouse id here, check "xinput">
xev -event mouse # then wheel up/down once over the xev window

Offline

#5 2021-06-10 13:26:16

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

seth wrote:

Outputs of

lsusb
xinput list-props <mouse id here, check "xinput">
xev -event mouse # then wheel up/down once over the xev window
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0480:0820 Toshiba America Inc Canvio Advance Disk
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 25a7:fa70 Areson Technology Corp 2.4G Wireless Receiver
Bus 001 Device 004: ID 062a:5918 MosArt Semiconductor Corp. 2.4G Keyboard Mouse
Bus 001 Device 005: ID 1b1c:0a4f Corsair CORSAIR HS70 Pro Wireless Gaming Headset
Bus 001 Device 003: ID 2109:2813 VIA Labs, Inc. VL813 Hub
Bus 001 Device 002: ID 2109:2813 VIA Labs, Inc. VL813 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device 'Corsair CORSAIR HS70 Pro Wireless Gaming Headset Consumer Control':
        Device Enabled (161):   1
        Coordinate Transformation Matrix (163): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (285):     1, 0
        libinput Send Events Mode Enabled (286):        0, 0
        libinput Send Events Mode Enabled Default (287):        0, 0
        Device Node (288):      "/dev/input/event22"
        Device Product ID (289):        6940, 2639

With "xev -event mouse", nothing happens in the window when using the scroll whell, or even any mouse button.

Offline

#6 2021-06-10 13:38:31

seth
Member
Registered: 2012-09-03
Posts: 23,231

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

The xinput output is from your headset. You're mouse is the "MosArt" thing.
You need to move the mouse into the xev window and that alone should™ produce quite some output (in the shell where you ran xev)

Sanity checkl: "loginctl session-status"? (ie. is this a wayland session)

Offline

#7 2021-06-10 13:46:13

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

OOF. Sorry, I'm dumb, I was thinking something was going wrong but I didn't got what.

Device 'MOSART Semi. 2.4G Keyboard Mouse':
        Device Enabled (161):   1
        Coordinate Transformation Matrix (163): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (285):     1, 0
        libinput Send Events Mode Enabled (286):        0, 0
        libinput Send Events Mode Enabled Default (287):        0, 0
        Device Node (288):      "/dev/input/event17"
        Device Product ID (289):        1578, 22808
2 - byjove (1000)
           Since: Thu 2021-06-10 13:09:29 CEST; 2h 36min ago
          Leader: 793 (sddm-helper)
            Seat: seat0; vc1
         Display: :0
         Service: sddm; type x11; class user
         Desktop: KDE
           State: active
            Unit: session-2.scope
                  ├─ 793 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth502c073f-a453-44d5-ad72-888fe908c467 --id 1 --start /usr/bin/startplasma-x11 --user byjove
                  ├─ 807 /usr/bin/gnome-keyring-daemon --daemonize --login
                  ├─ 813 /usr/bin/kwalletd5 --pam-login 7 8
                  ├─ 814 /usr/bin/startplasma-x11
                  ├─ 866 /usr/lib/kf5/start_kdeinit
                  ├─ 867 kdeinit5: Running...
                  ├─ 868 /usr/lib/kf5/klauncher --fd=9
                  ├─ 882 /usr/bin/kded5
                  ├─ 886 /usr/bin/kwin_x11
                  ├─ 911 /usr/bin/ksmserver
                  ├─ 920 /usr/bin/plasmashell
                  ├─ 926 /usr/bin/xembedsniproxy
                  ├─ 929 /usr/lib/polkit-kde-authentication-agent-1
                  ├─ 931 /usr/lib/org_kde_powerdevil
                  ├─ 933 /usr/bin/kaccess
                  ├─ 962 /usr/bin/gmenudbusmenuproxy
                  ├─1262 /usr/lib/geoclue-2.0/demos/agent
                  ├─1264 /usr/bin/python /usr/bin/discover-overlay
                  ├─1269 /usr/bin/ksmoothdock
                  ├─1278 /usr/share/skypeforlinux/skypeforlinux --executed-from=/home/byjove --pid=1271
                  ├─1293 /usr/share/skypeforlinux/skypeforlinux --type=zygote --no-zygote-sandbox
                  ├─1294 /usr/share/skypeforlinux/skypeforlinux --type=zygote
                  ├─1296 /usr/share/skypeforlinux/skypeforlinux --type=zygote
                  ├─1335 /usr/share/skypeforlinux/skypeforlinux --type=gpu-process --field-trial-handle=5122695178167307586,7048016884545025573,131072 --enable-features=WebComponentsV0Ena>
                  ├─1340 /usr/share/skypeforlinux/skypeforlinux --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=5122695178167307586,7048016884545025573>
                  ├─1379 /usr/share/skypeforlinux/skypeforlinux --type=renderer --autoplay-policy=no-user-gesture-required --disable-background-timer-throttling --ms-disable-indexeddb-tra>
                  ├─2109 file.so [kdeinit5] file local:/run/user/1000/klaunchersrKbFA.1.slave-socket local:/run/user/1000/kded5qIXDLq.1.slave-socket
                  ├─2110 file.so [kdeinit5] file local:/run/user/1000/klaunchersrKbFA.1.slave-socket local:/run/user/1000/kded5fKakEw.2.slave-socket
                  └─3767 file.so [kdeinit5] file local:/run/user/1000/klaunchersrKbFA.1.slave-socket local:/run/user/1000/dolphinRinUrB.15.slave-socket

juin 10 15:41:00 pchost-1 kwin_x11[886]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 43152, resource id: 79695621, major code: 15 (QueryTree), minor code: 0
juin 10 15:41:00 pchost-1 kwin_x11[886]: kwin_core: XCB error: 3 (BadWindow), sequence: 43194, resource id: 14973806, major code: 129 (SHAPE), minor code: 8 (GetRectangles)
juin 10 15:41:02 pchost-1 kwin_x11[886]: file:///usr/share/kwin/aurorae/MenuButton.qml:11: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
juin 10 15:41:02 pchost-1 kwin_x11[886]: file:///usr/share/kwin/aurorae/MenuButton.qml:11: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
juin 10 15:41:02 pchost-1 kwin_x11[886]: file:///usr/share/kwin/aurorae/MenuButton.qml:11: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
juin 10 15:41:02 pchost-1 kwin_x11[886]: file:///usr/share/kwin/aurorae/MenuButton.qml:11: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
juin 10 15:41:07 pchost-1 kwin_x11[886]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 46425, resource id: 79696356, major code: 15 (QueryTree), minor code: 0
juin 10 15:41:07 pchost-1 kwin_x11[886]: kwin_core: XCB error: 3 (BadWindow), sequence: 46474, resource id: 14974119, major code: 129 (SHAPE), minor code: 8 (GetRectangles)
juin 10 15:44:49 pchost-1 kwin_x11[886]: kwin_core: XCB error: 152 (BadDamage), sequence: 64412, resource id: 14984436, major code: 143 (DAMAGE), minor code: 2 (Destroy)
juin 10 15:44:57 pchost-1 kwin_x11[886]: kwin_core: XCB error: 3 (BadWindow), sequence: 3190, resource id: 14979207, major code: 129 (SHAPE), minor code: 8 (GetRectangles)

Offline

#8 2021-06-10 13:53:58

seth
Member
Registered: 2012-09-03
Posts: 23,231

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

It's weird that there'S no accel profile, what's the output of "xinput"?

The session is KDE on X11, does xev still not record any events when you move the mouse on it?
What about

xev -event button

Offline

#9 2021-06-10 14:21:35

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

seth wrote:

It's weird that there'S no accel profile, what's the output of "xinput"?

The session is KDE on X11, does xev still not record any events when you move the mouse on it?
What about

xev -event button
Outer window is 0x5200001, inner window is 0x5200002

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11060356, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11060356, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11060360, (106,88), root:(977,565),
    state 0x10, button 4, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11060360, (106,88), root:(977,565),
    state 0x810, button 4, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11060484, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11060484, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11060676, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11060676, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11060868, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11060868, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11061028, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11061028, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11061108, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11061108, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11061894, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11061894, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11061974, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11061974, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062070, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062070, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062086, (106,88), root:(977,565),
    state 0x10, button 4, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062086, (106,88), root:(977,565),
    state 0x810, button 4, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062198, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062198, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062326, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062326, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062422, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062422, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062614, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062614, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062710, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062710, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062790, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062790, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062838, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11062838, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11063488, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11063488, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11063616, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11063616, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11063760, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11063760, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11063888, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11063888, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064016, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064016, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064080, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064080, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064192, (106,88), root:(977,565),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064192, (106,88), root:(977,565),
    state 0x1010, button 5, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064240, (106,88), root:(977,565),
    state 0x10, button 4, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064240, (106,88), root:(977,565),
    state 0x810, button 4, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064244, (106,88), root:(977,565),
    state 0x10, button 4, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064244, (106,88), root:(977,565),
    state 0x810, button 4, same_screen YES

ButtonPress event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064244, (106,88), root:(977,565),
    state 0x10, button 4, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x5200001,
    root 0x6c5, subw 0x0, time 11064244, (106,88), root:(977,565),
    state 0x810, button 4, same_screen YES

ClientMessage event, serial 25, synthetic YES, window 0x5200001,
    message_type 0x142 (WM_PROTOCOLS), format 32, message 0x143 (WM_DELETE_WINDOW)

Here's the output.

Offline

#10 2021-06-10 14:25:22

seth
Member
Registered: 2012-09-03
Posts: 23,231

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

Down, Up, MAAAAAANY Down, 3x up - is that from one up/down each or did you just scroll around a bit?

Offline

#11 2021-06-10 15:52:29

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

seth wrote:

Down, Up, MAAAAAANY Down, 3x up - is that from one up/down each or did you just scroll around a bit?

Sorry, forgot to say it. I was trying to slide down during the whole time.

Offline

#12 2021-06-10 15:54:01

seth
Member
Registered: 2012-09-03
Posts: 23,231

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

"Slide" - do you use the scrollbutton feature (ie. you don't spin a wheel, but press a button and move the mouse)?

Offline

#13 2021-06-10 16:02:34

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

seth wrote:

"Slide" - do you use the scrollbutton feature (ie. you don't spin a wheel, but press a button and move the mouse)?

Spinning the mouse wheel.

Offline

#14 2021-06-10 16:17:48

seth
Member
Registered: 2012-09-03
Posts: 23,231

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

The xev output suggest that the button bounces (5->4 takes only 4ms, you're not that fast; and the final 3 button 4 events occur at the same timestamp)
The only interesting question is where this happens, ie. whether you get it at "evtest" or "libinput debug-events" (you'll have to run both as root or sudo)

I'll though assume that it's the HW, but an open question remains why the debouncer doesn't catch that (the usb IDs don't show up in the /usr/share/libinput quirks)

Offline

#15 2021-06-10 17:13:27

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

seth wrote:

The xev output suggest that the button bounces (5->4 takes only 4ms, you're not that fast; and the final 3 button 4 events occur at the same timestamp)
The only interesting question is where this happens, ie. whether you get it at "evtest" or "libinput debug-events" (you'll have to run both as root or sudo)

I'll though assume that it's the HW, but an open question remains why the debouncer doesn't catch that (the usb IDs don't show up in the /usr/share/libinput quirks)

-event1   DEVICE_ADDED     Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED     Power Button                      seat0 default group2  cap:k
-event22  DEVICE_ADDED     Corsair CORSAIR HS70 Pro Wireless Gaming Headset Consumer Control seat0 default group3  cap:k
-event17  DEVICE_ADDED     MOSART Semi. 2.4G Keyboard Mouse  seat0 default group4  cap:k
-event18  DEVICE_ADDED     MOSART Semi. 2.4G Keyboard Mouse  seat0 default group4  cap:p left scroll-nat scroll-button
-event19  DEVICE_ADDED     MOSART Semi. 2.4G Keyboard Mouse Consumer Control seat0 default group4  cap:kp scroll-nat
-event20  DEVICE_ADDED     MOSART Semi. 2.4G Keyboard Mouse System Control seat0 default group4  cap:k
-event25  DEVICE_ADDED     Compx 2.4G Wireless Receiver      seat0 default group5  cap:k
-event26  DEVICE_ADDED     Compx 2.4G Wireless Receiver Mouse seat0 default group5  cap:p left scroll-nat scroll-button
-event28  DEVICE_ADDED     Compx 2.4G Wireless Receiver Keyboard seat0 default group5  cap:kp scroll-nat
-event25  KEYBOARD_KEY     +0.000s      *** (-1) pressed
 event25  KEYBOARD_KEY     +1.327s      *** (-1) pressed

Here is what I got. I evidently put Ctrl+C before I could move the mouse.

Offline

#16 2021-06-10 19:05:55

seth
Member
Registered: 2012-09-03
Posts: 23,231

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

There's no wheel event in this at all?

Offline

#17 2021-06-10 19:15:06

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

seth wrote:

There's no wheel event in this at all?

I'm really an idiot. Sorry.

[byjove@pchost-1 byjove]$ sudo libinput debug-events
-event1   DEVICE_ADDED     Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED     Power Button                      seat0 default group2  cap:k
-event22  DEVICE_ADDED     Corsair CORSAIR HS70 Pro Wireless Gaming Headset Consumer Control seat0 default group3  cap:k
-event17  DEVICE_ADDED     MOSART Semi. 2.4G Keyboard Mouse  seat0 default group4  cap:k
-event18  DEVICE_ADDED     MOSART Semi. 2.4G Keyboard Mouse  seat0 default group4  cap:p left scroll-nat scroll-button
-event19  DEVICE_ADDED     MOSART Semi. 2.4G Keyboard Mouse Consumer Control seat0 default group4  cap:kp scroll-nat
-event20  DEVICE_ADDED     MOSART Semi. 2.4G Keyboard Mouse System Control seat0 default group4  cap:k
-event25  DEVICE_ADDED     Compx 2.4G Wireless Receiver      seat0 default group5  cap:k
-event26  DEVICE_ADDED     Compx 2.4G Wireless Receiver Mouse seat0 default group5  cap:p left scroll-nat scroll-button
-event28  DEVICE_ADDED     Compx 2.4G Wireless Receiver Keyboard seat0 default group5  cap:kp scroll-nat
-event18  POINTER_AXIS     +0.000s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.048s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.128s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.336s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.400s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.448s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.480s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.496s      vert -15.00/-1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.512s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.560s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_MOTION   +0.564s        0.00/  0.30 ( +0.00/ +1.00)
 event18  POINTER_MOTION   +0.568s        0.00/  0.88 ( +0.00/ +1.00)
 event18  POINTER_MOTION   +0.576s       -2.00/  1.00 ( -2.00/ +1.00)
 event18  POINTER_MOTION   +0.580s       -1.00/  0.00 ( -1.00/ +0.00)
 event18  POINTER_MOTION   +0.592s        0.00/  1.00 ( +0.00/ +1.00)
 event18  POINTER_MOTION   +0.608s       -2.00/  2.00 ( -2.00/ +2.00)
 event18  POINTER_MOTION   +0.612s        1.03/  2.06 ( +1.00/ +2.00)
 event18  POINTER_MOTION   +0.624s        0.00/  1.03 ( +0.00/ +1.00)
 event18  POINTER_AXIS     +0.640s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.704s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.720s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.784s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.788s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +0.816s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_MOTION   +1.106s        0.00/ -0.70 ( +0.00/ -1.00)
 event18  POINTER_AXIS     +1.544s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +1.576s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +1.626s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +1.630s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +1.690s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +1.694s      vert -15.00/-1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +1.706s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +1.738s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +1.786s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +1.818s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +1.850s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +1.994s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +2.523s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +2.539s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +2.571s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +2.575s      vert -15.00/-1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +2.587s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +2.603s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_MOTION   +2.607s        0.00/  0.32 ( +0.00/ +1.00)
 event18  POINTER_AXIS     +2.619s      vert -15.00/-1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +2.623s      vert -15.00/-1* horiz 0.00/0 (wheel)
 event18  POINTER_MOTION   +2.627s       -0.66/  0.66 ( -1.00/ +1.00)
 event18  POINTER_MOTION   +2.631s       -1.00/  1.00 ( -1.00/ +1.00)
 event18  POINTER_AXIS     +2.635s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_MOTION   +2.639s        0.00/  2.00 ( +0.00/ +2.00)
 event18  POINTER_MOTION   +2.643s        0.00/  1.00 ( +0.00/ +1.00)
 event18  POINTER_AXIS     +2.651s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_MOTION   +2.655s        0.00/  1.00 ( +0.00/ +1.00)
 event18  POINTER_AXIS     +2.667s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +2.671s      vert -15.00/-1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +2.683s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +2.699s      vert 15.00/1* horiz 0.00/0 (wheel)
 event18  POINTER_AXIS     +2.715s      vert 15.00/1* horiz 0.00/0 (wheel)
-event25  KEYBOARD_KEY     +4.407s      *** (-1) pressed
 event25  KEYBOARD_KEY     +4.447s      *** (-1) pressed

Offline

#18 2021-06-10 19:21:44

seth
Member
Registered: 2012-09-03
Posts: 23,231

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

There's some forth and back there - I assume this is supposed to be unidirectional scrolling?
You can test "sudo evtest" but it'll be there as well and simply something the wheel generates.

When did you test the other distros? Yesterday or last year? Same receiver dongle or different?
You could try a different usb port (front w/ back in case there's some weird interference…) and to disable usb autosuspend, https://wiki.archlinux.org/title/Power_ … utosuspend (-1, make sure no power management daemon is resetting that)

Offline

#19 2021-06-10 20:29:05

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

The "sudo evtest" didn't give me real results until I used the controller ID 18 :

Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x62a product 0x5918 version 0x110
Input device name: "MOSART Semi. 2.4G Keyboard Mouse"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 272 (BTN_LEFT)
    Event code 273 (BTN_RIGHT)
    Event code 274 (BTN_MIDDLE)
    Event code 275 (BTN_SIDE)
    Event code 276 (BTN_EXTRA)
  Event type 2 (EV_REL)
    Event code 0 (REL_X)
    Event code 1 (REL_Y)
    Event code 6 (REL_HWHEEL)
    Event code 8 (REL_WHEEL)
    Event code 11 (REL_WHEEL_HI_RES)
    Event code 12 (REL_HWHEEL_HI_RES)
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1623356854.581554, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356854.581554, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356854.581554, -------------- SYN_REPORT ------------
Event: time 1623356854.597552, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356854.597552, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356854.597552, -------------- SYN_REPORT ------------
Event: time 1623356854.757578, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356854.757578, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356854.757578, -------------- SYN_REPORT ------------
Event: time 1623356854.853580, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356854.853580, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356854.853580, -------------- SYN_REPORT ------------
Event: time 1623356854.999602, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356854.999602, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356854.999602, -------------- SYN_REPORT ------------
Event: time 1623356855.095610, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356855.095610, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356855.095610, -------------- SYN_REPORT ------------
Event: time 1623356855.239630, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356855.239630, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356855.239630, -------------- SYN_REPORT ------------
Event: time 1623356855.319636, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356855.319636, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356855.319636, -------------- SYN_REPORT ------------
Event: time 1623356855.399647, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356855.399647, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356855.399647, -------------- SYN_REPORT ------------
Event: time 1623356855.463653, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356855.463653, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356855.463653, -------------- SYN_REPORT ------------
Event: time 1623356855.575665, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356855.575665, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356855.575665, -------------- SYN_REPORT ------------
Event: time 1623356856.617795, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356856.617795, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356856.617795, -------------- SYN_REPORT ------------
Event: time 1623356856.745802, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356856.745802, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356856.745802, -------------- SYN_REPORT ------------
Event: time 1623356856.809813, type 2 (EV_REL), code 8 (REL_WHEEL), value 1
Event: time 1623356856.809813, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 120
Event: time 1623356856.809813, -------------- SYN_REPORT ------------
Event: time 1623356856.813807, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356856.813807, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356856.813807, -------------- SYN_REPORT ------------
Event: time 1623356856.953829, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356856.953829, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356856.953829, -------------- SYN_REPORT ------------
Event: time 1623356857.081845, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356857.081845, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356857.081845, -------------- SYN_REPORT ------------
Event: time 1623356857.177854, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356857.177854, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356857.177854, -------------- SYN_REPORT ------------
Event: time 1623356857.257864, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356857.257864, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356857.257864, -------------- SYN_REPORT ------------
Event: time 1623356857.353875, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356857.353875, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356857.353875, -------------- SYN_REPORT ------------
Event: time 1623356857.465891, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356857.465891, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356857.465891, -------------- SYN_REPORT ------------
Event: time 1623356857.529897, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356857.529897, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356857.529897, -------------- SYN_REPORT ------------
Event: time 1623356858.484009, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356858.484009, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356858.484009, -------------- SYN_REPORT ------------
Event: time 1623356858.516010, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356858.516010, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356858.516010, -------------- SYN_REPORT ------------
Event: time 1623356858.520011, type 2 (EV_REL), code 8 (REL_WHEEL), value -3
Event: time 1623356858.520011, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -360
Event: time 1623356858.520011, -------------- SYN_REPORT ------------
Event: time 1623356858.532010, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356858.532010, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356858.532010, -------------- SYN_REPORT ------------
Event: time 1623356858.536009, type 2 (EV_REL), code 8 (REL_WHEEL), value -3
Event: time 1623356858.536009, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -360
Event: time 1623356858.536009, -------------- SYN_REPORT ------------
Event: time 1623356858.548012, type 2 (EV_REL), code 8 (REL_WHEEL), value 1
Event: time 1623356858.548012, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 120
Event: time 1623356858.548012, -------------- SYN_REPORT ------------
Event: time 1623356858.552009, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356858.552009, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356858.552009, -------------- SYN_REPORT ------------
Event: time 1623356858.580017, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356858.580017, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356858.580017, -------------- SYN_REPORT ------------
Event: time 1623356858.628024, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356858.628024, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356858.628024, -------------- SYN_REPORT ------------
Event: time 1623356858.692031, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356858.692031, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356858.692031, -------------- SYN_REPORT ------------
Event: time 1623356858.724034, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356858.724034, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356858.724034, -------------- SYN_REPORT ------------
Event: time 1623356858.820046, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356858.820046, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356858.820046, -------------- SYN_REPORT ------------
Event: time 1623356858.884053, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356858.884053, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356858.884053, -------------- SYN_REPORT ------------
Event: time 1623356858.948060, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356858.948060, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356858.948060, -------------- SYN_REPORT ------------
Event: time 1623356859.478128, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356859.478128, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356859.478128, -------------- SYN_REPORT ------------
Event: time 1623356859.526129, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356859.526129, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356859.526129, -------------- SYN_REPORT ------------
Event: time 1623356859.542128, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356859.542128, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356859.542128, -------------- SYN_REPORT ------------
Event: time 1623356859.654143, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356859.654143, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356859.654143, -------------- SYN_REPORT ------------
Event: time 1623356859.718149, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356859.718149, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356859.718149, -------------- SYN_REPORT ------------
Event: time 1623356859.782159, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356859.782159, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356859.782159, -------------- SYN_REPORT ------------
Event: time 1623356859.798156, type 2 (EV_REL), code 8 (REL_WHEEL), value 1
Event: time 1623356859.798156, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 120
Event: time 1623356859.798156, -------------- SYN_REPORT ------------
Event: time 1623356859.802159, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356859.802159, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356859.802159, -------------- SYN_REPORT ------------
Event: time 1623356859.878169, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356859.878169, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356859.878169, -------------- SYN_REPORT ------------
Event: time 1623356859.882167, type 2 (EV_REL), code 8 (REL_WHEEL), value 1
Event: time 1623356859.882167, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value 120
Event: time 1623356859.882167, -------------- SYN_REPORT ------------
Event: time 1623356860.262217, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356860.262217, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356860.262217, -------------- SYN_REPORT ------------
Event: time 1623356860.294220, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356860.294220, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356860.294220, -------------- SYN_REPORT ------------
Event: time 1623356860.358226, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356860.358226, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356860.358226, -------------- SYN_REPORT ------------
Event: time 1623356860.438234, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356860.438234, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356860.438234, -------------- SYN_REPORT ------------
Event: time 1623356860.518243, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356860.518243, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356860.518243, -------------- SYN_REPORT ------------
Event: time 1623356860.800278, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356860.800278, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356860.800278, -------------- SYN_REPORT ------------
Event: time 1623356860.864284, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356860.864284, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356860.864284, -------------- SYN_REPORT ------------
Event: time 1623356860.944296, type 2 (EV_REL), code 8 (REL_WHEEL), value -1
Event: time 1623356860.944296, type 2 (EV_REL), code 11 (REL_WHEEL_HI_RES), value -120
Event: time 1623356860.944296, -------------- SYN_REPORT ------------
Event: time 1623356861.920410, type 2 (EV_REL), code 1 (REL_Y), value 1
Event: time 1623356861.920410, -------------- SYN_REPORT ------------
Event: time 1623356861.936406, type 2 (EV_REL), code 0 (REL_X), value -1
Event: time 1623356861.936406, type 2 (EV_REL), code 1 (REL_Y), value 5
Event: time 1623356861.936406, -------------- SYN_REPORT ------------
Event: time 1623356861.940404, type 2 (EV_REL), code 1 (REL_Y), value 2
Event: time 1623356861.940404, -------------- SYN_REPORT ------------
Event: time 1623356861.952407, type 2 (EV_REL), code 1 (REL_Y), value 4
Event: time 1623356861.952407, -------------- SYN_REPORT ------------
Event: time 1623356861.956409, type 2 (EV_REL), code 1 (REL_Y), value 4
Event: time 1623356861.956409, -------------- SYN_REPORT ------------
Event: time 1623356861.968408, type 2 (EV_REL), code 0 (REL_X), value 1
Event: time 1623356861.968408, type 2 (EV_REL), code 1 (REL_Y), value 4
Event: time 1623356861.968408, -------------- SYN_REPORT ------------
Event: time 1623356861.972409, type 2 (EV_REL), code 0 (REL_X), value 3
Event: time 1623356861.972409, type 2 (EV_REL), code 1 (REL_Y), value 4
Event: time 1623356861.972409, -------------- SYN_REPORT ------------
Event: time 1623356861.984411, type 2 (EV_REL), code 0 (REL_X), value 5
Event: time 1623356861.984411, type 2 (EV_REL), code 1 (REL_Y), value 4
Event: time 1623356861.984411, -------------- SYN_REPORT ------------
Event: time 1623356861.988412, type 2 (EV_REL), code 0 (REL_X), value 8
Event: time 1623356861.988412, type 2 (EV_REL), code 1 (REL_Y), value 4
Event: time 1623356861.988412, -------------- SYN_REPORT ------------
Event: time 1623356862.000414, type 2 (EV_REL), code 0 (REL_X), value 8
Event: time 1623356862.000414, type 2 (EV_REL), code 1 (REL_Y), value 4
Event: time 1623356862.000414, -------------- SYN_REPORT ------------
Event: time 1623356862.004426, type 2 (EV_REL), code 0 (REL_X), value 8
Event: time 1623356862.004426, type 2 (EV_REL), code 1 (REL_Y), value 5
Event: time 1623356862.004426, -------------- SYN_REPORT ------------
Event: time 1623356862.016418, type 2 (EV_REL), code 0 (REL_X), value 11
Event: time 1623356862.016418, type 2 (EV_REL), code 1 (REL_Y), value 5
Event: time 1623356862.016418, -------------- SYN_REPORT ------------
Event: time 1623356862.020417, type 2 (EV_REL), code 0 (REL_X), value 12
Event: time 1623356862.020417, type 2 (EV_REL), code 1 (REL_Y), value 6
Event: time 1623356862.020417, -------------- SYN_REPORT ------------
Event: time 1623356862.032416, type 2 (EV_REL), code 0 (REL_X), value 12
Event: time 1623356862.032416, type 2 (EV_REL), code 1 (REL_Y), value 5
Event: time 1623356862.032416, -------------- SYN_REPORT ------------
Event: time 1623356862.036420, type 2 (EV_REL), code 0 (REL_X), value 14
Event: time 1623356862.036420, type 2 (EV_REL), code 1 (REL_Y), value 5
Event: time 1623356862.036420, -------------- SYN_REPORT ------------
Event: time 1623356862.050422, type 2 (EV_REL), code 0 (REL_X), value 14
Event: time 1623356862.050422, type 2 (EV_REL), code 1 (REL_Y), value 6
Event: time 1623356862.050422, -------------- SYN_REPORT ------------
Event: time 1623356862.054420, type 2 (EV_REL), code 0 (REL_X), value 14
Event: time 1623356862.054420, type 2 (EV_REL), code 1 (REL_Y), value 6
Event: time 1623356862.054420, -------------- SYN_REPORT ------------
Event: time 1623356862.066425, type 2 (EV_REL), code 0 (REL_X), value 14
Event: time 1623356862.066425, type 2 (EV_REL), code 1 (REL_Y), value 5
Event: time 1623356862.066425, -------------- SYN_REPORT ------------
Event: time 1623356862.070422, type 2 (EV_REL), code 0 (REL_X), value 16
Event: time 1623356862.070422, type 2 (EV_REL), code 1 (REL_Y), value 6
Event: time 1623356862.070422, -------------- SYN_REPORT ------------
Event: time 1623356862.082426, type 2 (EV_REL), code 0 (REL_X), value 16
Event: time 1623356862.082426, type 2 (EV_REL), code 1 (REL_Y), value 5
Event: time 1623356862.082426, -------------- SYN_REPORT ------------
Event: time 1623356862.086424, type 2 (EV_REL), code 0 (REL_X), value 18
Event: time 1623356862.086424, type 2 (EV_REL), code 1 (REL_Y), value 6
Event: time 1623356862.086424, -------------- SYN_REPORT ------------
Event: time 1623356862.098426, type 2 (EV_REL), code 0 (REL_X), value 19
Event: time 1623356862.098426, type 2 (EV_REL), code 1 (REL_Y), value 7
Event: time 1623356862.098426, -------------- SYN_REPORT ------------
Event: time 1623356862.102423, type 2 (EV_REL), code 0 (REL_X), value 18
Event: time 1623356862.102423, type 2 (EV_REL), code 1 (REL_Y), value 6
Event: time 1623356862.102423, -------------- SYN_REPORT ------------
Event: time 1623356862.114427, type 2 (EV_REL), code 0 (REL_X), value 19
Event: time 1623356862.114427, type 2 (EV_REL), code 1 (REL_Y), value 6
Event: time 1623356862.114427, -------------- SYN_REPORT ------------
Event: time 1623356862.118427, type 2 (EV_REL), code 0 (REL_X), value 20
Event: time 1623356862.118427, type 2 (EV_REL), code 1 (REL_Y), value 5
Event: time 1623356862.118427, -------------- SYN_REPORT ------------
Event: time 1623356862.130431, type 2 (EV_REL), code 0 (REL_X), value 18
Event: time 1623356862.130431, type 2 (EV_REL), code 1 (REL_Y), value 6
Event: time 1623356862.130431, -------------- SYN_REPORT ------------
Event: time 1623356862.134427, type 2 (EV_REL), code 0 (REL_X), value 17
Event: time 1623356862.134427, type 2 (EV_REL), code 1 (REL_Y), value 4
Event: time 1623356862.134427, -------------- SYN_REPORT ------------
Event: time 1623356862.146434, type 2 (EV_REL), code 0 (REL_X), value 17
Event: time 1623356862.146434, type 2 (EV_REL), code 1 (REL_Y), value 4
Event: time 1623356862.146434, -------------- SYN_REPORT ------------
Event: time 1623356862.150431, type 2 (EV_REL), code 0 (REL_X), value 18
Event: time 1623356862.150431, type 2 (EV_REL), code 1 (REL_Y), value 8
Event: time 1623356862.150431, -------------- SYN_REPORT ------------
Event: time 1623356862.162433, type 2 (EV_REL), code 0 (REL_X), value 15
Event: time 1623356862.162433, type 2 (EV_REL), code 1 (REL_Y), value 6
Event: time 1623356862.162433, -------------- SYN_REPORT ------------
Event: time 1623356862.166431, type 2 (EV_REL), code 0 (REL_X), value 15
Event: time 1623356862.166431, type 2 (EV_REL), code 1 (REL_Y), value 5
Event: time 1623356862.166431, -------------- SYN_REPORT ------------
Event: time 1623356862.178435, type 2 (EV_REL), code 0 (REL_X), value 13
Event: time 1623356862.178435, type 2 (EV_REL), code 1 (REL_Y), value 4
Event: time 1623356862.178435, -------------- SYN_REPORT ------------
Event: time 1623356862.182434, type 2 (EV_REL), code 0 (REL_X), value 12
Event: time 1623356862.182434, type 2 (EV_REL), code 1 (REL_Y), value 3
Event: time 1623356862.182434, -------------- SYN_REPORT ------------
Event: time 1623356862.194440, type 2 (EV_REL), code 0 (REL_X), value 11
Event: time 1623356862.194440, type 2 (EV_REL), code 1 (REL_Y), value 2
Event: time 1623356862.194440, -------------- SYN_REPORT ------------
Event: time 1623356862.198436, type 2 (EV_REL), code 0 (REL_X), value 9
Event: time 1623356862.198436, type 2 (EV_REL), code 1 (REL_Y), value 2
Event: time 1623356862.198436, -------------- SYN_REPORT ------------
Event: time 1623356862.210441, type 2 (EV_REL), code 0 (REL_X), value 9
Event: time 1623356862.210441, type 2 (EV_REL), code 1 (REL_Y), value 1
Event: time 1623356862.210441, -------------- SYN_REPORT ------------
Event: time 1623356862.214437, type 2 (EV_REL), code 0 (REL_X), value 6
Event: time 1623356862.214437, type 2 (EV_REL), code 1 (REL_Y), value 1
Event: time 1623356862.214437, -------------- SYN_REPORT ------------
Event: time 1623356862.226441, type 2 (EV_REL), code 0 (REL_X), value 5
Event: time 1623356862.226441, -------------- SYN_REPORT ------------
Event: time 1623356862.230441, type 2 (EV_REL), code 0 (REL_X), value 2
Event: time 1623356862.230441, -------------- SYN_REPORT ------------
Event: time 1623356862.242444, type 2 (EV_REL), code 0 (REL_X), value 1
Event: time 1623356862.242444, -------------- SYN_REPORT ------------
Event: time 1623356862.246442, type 2 (EV_REL), code 0 (REL_X), value 2
Event: time 1623356862.246442, -------------- SYN_REPORT ------------
Event: time 1623356862.258448, type 2 (EV_REL), code 0 (REL_X), value 2
Event: time 1623356862.258448, -------------- SYN_REPORT ------------
Event: time 1623356862.262443, type 2 (EV_REL), code 0 (REL_X), value 1
Event: time 1623356862.262443, -------------- SYN_REPORT ------------
Event: time 1623356862.274448, type 2 (EV_REL), code 0 (REL_X), value 1
Event: time 1623356862.274448, -------------- SYN_REPORT ------------
Event: time 1623356862.890522, type 2 (EV_REL), code 1 (REL_Y), value -1
Event: time 1623356862.890522, -------------- SYN_REPORT ------------
Event: time 1623356862.906520, type 2 (EV_REL), code 1 (REL_Y), value -1
Event: time 1623356862.906520, -------------- SYN_REPORT ------------
Event: time 1623356862.922529, type 2 (EV_REL), code 1 (REL_Y), value -1
Event: time 1623356862.922529, -------------- SYN_REPORT ------------
Event: time 1623356862.926521, type 2 (EV_REL), code 1 (REL_Y), value -2
Event: time 1623356862.926521, -------------- SYN_REPORT ------------
Event: time 1623356862.938526, type 2 (EV_REL), code 1 (REL_Y), value -2
Event: time 1623356862.938526, -------------- SYN_REPORT ------------
Event: time 1623356862.942527, type 2 (EV_REL), code 0 (REL_X), value 1
Event: time 1623356862.942527, type 2 (EV_REL), code 1 (REL_Y), value -2
Event: time 1623356862.942527, -------------- SYN_REPORT ------------
Event: time 1623356862.954526, type 2 (EV_REL), code 1 (REL_Y), value -3
Event: time 1623356862.954526, -------------- SYN_REPORT ------------
Event: time 1623356862.958525, type 2 (EV_REL), code 1 (REL_Y), value -3
Event: time 1623356862.958525, -------------- SYN_REPORT ------------
Event: time 1623356862.970528, type 2 (EV_REL), code 0 (REL_X), value 1
Event: time 1623356862.970528, type 2 (EV_REL), code 1 (REL_Y), value -4
Event: time 1623356862.970528, -------------- SYN_REPORT ------------
Event: time 1623356862.974526, type 2 (EV_REL), code 1 (REL_Y), value -4
Event: time 1623356862.974526, -------------- SYN_REPORT ------------
Event: time 1623356862.986530, type 2 (EV_REL), code 0 (REL_X), value 1
Event: time 1623356862.986530, type 2 (EV_REL), code 1 (REL_Y), value -4
Event: time 1623356862.986530, -------------- SYN_REPORT ------------
Event: time 1623356862.990528, type 2 (EV_REL), code 1 (REL_Y), value -3
Event: time 1623356862.990528, -------------- SYN_REPORT ------------
Event: time 1623356863.002533, type 2 (EV_REL), code 0 (REL_X), value 1
Event: time 1623356863.002533, type 2 (EV_REL), code 1 (REL_Y), value -3
Event: time 1623356863.002533, -------------- SYN_REPORT ------------
Event: time 1623356863.006531, type 2 (EV_REL), code 1 (REL_Y), value -2
Event: time 1623356863.006531, -------------- SYN_REPORT ------------
Event: time 1623356863.018533, type 2 (EV_REL), code 1 (REL_Y), value -4
Event: time 1623356863.018533, -------------- SYN_REPORT ------------
Event: time 1623356863.022533, type 2 (EV_REL), code 1 (REL_Y), value -4
Event: time 1623356863.022533, -------------- SYN_REPORT ------------
Event: time 1623356863.034539, type 2 (EV_REL), code 1 (REL_Y), value -3
Event: time 1623356863.034539, -------------- SYN_REPORT ------------
Event: time 1623356863.038538, type 2 (EV_REL), code 1 (REL_Y), value -3
Event: time 1623356863.038538, -------------- SYN_REPORT ------------
Event: time 1623356863.050538, type 2 (EV_REL), code 1 (REL_Y), value -2
Event: time 1623356863.050538, -------------- SYN_REPORT ------------
Event: time 1623356863.054537, type 2 (EV_REL), code 0 (REL_X), value 1
Event: time 1623356863.054537, type 2 (EV_REL), code 1 (REL_Y), value -2
Event: time 1623356863.054537, -------------- SYN_REPORT ------------
Event: time 1623356863.066538, type 2 (EV_REL), code 1 (REL_Y), value -1
Event: time 1623356863.066538, -------------- SYN_REPORT ------------

Offline

#20 2021-06-10 20:54:00

seth
Member
Registered: 2012-09-03
Posts: 23,231

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

As predicted the bounces are there as well.
=> This is from the HW.

Please address the 2nd paragraph in #18
You could also check evtest on a system w/o that problem and see whether the bounces are there (but not in xev, because libinput debounces them)

Offline

#21 2021-06-10 22:07:21

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

seth wrote:

When did you test the other distros? Yesterday or last year? Same receiver dongle or different?
You could try a different usb port (front w/ back in case there's some weird interference…) and to disable usb autosuspend, https://wiki.archlinux.org/title/Power_ … utosuspend (-1, make sure no power management daemon is resetting that)

I tested it on other distros recently, some weeks ago. Same mouse, so same dongle I guess.
I tried several USB posts but it did the same thing. Wdym by power management daemon and autosuspend ? Knowing it's a wireless mouse, I am not sure it's something related to any USB cable.

Offline

#22 2021-06-11 06:53:19

seth
Member
Registered: 2012-09-03
Posts: 23,231

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

It's wirelessly bound to some dongle that you inject into a usb slot, oui non?
As for the PM daemons, there'd be TLP and laptop-mode-tools, but the big DEs (gnome/kde) have their own tools and idk whether those mess w/ usb autosuspend as well (so you'd have to re-check the value at runtime)

Any chance to test the mouse and dongle on a different system "today" (or the weekend)?
In doubt using some live distro (grml is gonna do, it has a GUI and a browser)

Offline

#23 2021-06-11 19:46:43

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

seth wrote:

It's wirelessly bound to some dongle that you inject into a usb slot, oui non?
As for the PM daemons, there'd be TLP and laptop-mode-tools, but the big DEs (gnome/kde) have their own tools and idk whether those mess w/ usb autosuspend as well (so you'd have to re-check the value at runtime)

Any chance to test the mouse and dongle on a different system "today" (or the weekend)?
In doubt using some live distro (grml is gonna do, it has a GUI and a browser)

Heya, I tested the mouse again, on a Manjaro Linux distrib. It worked perfectly.
Doesn't have other PCs so I couldn't do better, sorry.

Offline

#24 2021-06-11 19:59:11

seth
Member
Registered: 2012-09-03
Posts: 23,231

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

More interestingly would be whether the bouncing  occurs there in evdev/libinput (ie. is this related to the kernel/bus or is it just debounced on manjaro)

Offline

#25 2021-06-12 07:36:28

byjove01
Member
From: Alps, France
Registered: 2021-02-15
Posts: 61

Re: [SOLVED] Mouse scroll wheel does whatever on my Arch

So what can I do next to give you more info?

Offline

Board footer

Powered by FluxBB