You are not logged in.

#1 2019-08-28 18:35:14

Ararero
Member
Registered: 2019-08-28
Posts: 3

Mouse wheel do not work

Hello. I have the simple but strange problem. The mouse scrolling do not work. And as I understood by commands

cat /dev/input/mice
cat /dev/input/mouse0

the kernel do not get input of mouse wheel, because after that commands it get all event in console except mouse wheel. Click on mouse wheel is receiving.

xinput also get all events except mouse wheel event.

Mouse wheel work nice in windows 7 and in bios but not in Arch Linux (I don’t know if the mouse wheel works on some other Linux). The mouse is simple: left, right button and mouse wheel.

It was working about 3 month ago, and now, after some update, it does not work.

Can somebody help me with it?

Offline

#2 2019-08-28 18:58:25

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

Re: Mouse wheel do not work

Paste some relevant debugging info from here: https://wiki.archlinux.org/index.php/Li … figuration
Also, details of your setup.

Moving to NC.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2019-08-29 08:51:06

Ararero
Member
Registered: 2019-08-28
Posts: 3

Re: Mouse wheel do not work

Thanks for the fast answering. Here some information about mouse and kernel:

#libinput list-devices

Device:           A4Tech USB Mouse
Kernel:           /dev/input/event5
Group:            5
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a
 

 
# xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ A4Tech USB Mouse                          id=9    [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Eee PC WMI hotkeys                        id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=11   [slave  keyboard (3)]
    
    
#xinput list-props 9     
Device 'A4Tech USB Mouse':
        Device Enabled (157):   1
        Coordinate Transformation Matrix (159): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Natural Scrolling Enabled (292):       0
        libinput Natural Scrolling Enabled Default (293):       0
        libinput Scroll Methods Available (294):        0, 0, 1
        libinput Scroll Method Enabled (295):   0, 0, 0
        libinput Scroll Method Enabled Default (296):   0, 0, 0
        libinput Button Scrolling Button (297): 2
        libinput Button Scrolling Button Default (298): 2
        libinput Middle Emulation Enabled (299):        0
        libinput Middle Emulation Enabled Default (300):        0
        libinput Accel Speed (301):     0.000000
        libinput Accel Speed Default (302):     0.000000
        libinput Accel Profiles Available (303):        1, 1
        libinput Accel Profile Enabled (304):   1, 0
        libinput Accel Profile Enabled Default (305):   1, 0
        libinput Left Handed Enabled (306):     0
        libinput Left Handed Enabled Default (307):     0
        libinput Send Events Modes Available (277):     1, 0
        libinput Send Events Mode Enabled (278):        0, 0
        libinput Send Events Mode Enabled Default (279):        0, 0
        Device Node (280):      "/dev/input/event5"
        Device Product ID (281):        2522, 10
        libinput Drag Lock Buttons (308):       <no items>
        libinput Horizontal Scroll Enabled (309):       1

# uname -a
Linux userhost 5.2.9-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 16 11:29:43 UTC 2019 x86_64 GNU/Linux

I also read some topics and found that https://bbs.archlinux.org/viewtopic.php?id=247731 is similar. But as I understood the patch is already applied to the kernel. So, it didn't help.

Offline

#5 2019-08-29 09:22:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,420

Re: Mouse wheel do not work

No the patch that would fix this would be https://patchwork.kernel.org/patch/10986697/ which according to the comments has not yet been applied to any more recent stable kernel.

Use the LTS kernel in the meantime, or the ABS to include this patch and build the kernel yourself.

Edit: As it happens, 5.2.11 will/does include this patch, so you could just use that.

Last edited by V1del (2019-08-29 13:19:48)

Offline

#6 2019-08-29 15:20:18

Ararero
Member
Registered: 2019-08-28
Posts: 3

Re: Mouse wheel do not work

V1del thanks. I compile 5.2.11 and it works. The problem is solved.

P.S. I don't know why but LTS has such problem too. But it doesn't matter.

Offline

Board footer

Powered by FluxBB