You are not logged in.

#26 2023-03-07 23:19:27

Huskiness3641
Member
Registered: 2023-03-07
Posts: 9

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

This what I get on 6.0.12-zen1-1-zen (that works with scrolling, wireless):

-event1   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED            Power Button                      seat0 default group2  cap:k
-event7   DEVICE_ADDED            Logitech USB Receiver             seat0 default group3  cap:p left scroll-nat scroll-button
-event8   DEVICE_ADDED            Logitech USB Receiver Keyboard    seat0 default group3  cap:kp scroll-nat
-event4   DEVICE_ADDED            HD 1080P  PC-Camera: HD 1080P     seat0 default group4  cap:k
-event3   DEVICE_ADDED            Logitech G502                     seat0 default group5  cap:kp left scroll-nat scroll-button
-event23  DEVICE_ADDED            Kingston HyperX Cloud II Wireless Consumer Control seat0 default group6  cap:k

This is what I get on 6.2.2-zen1-1-zen, wireless when I boot up for the first time (faulty case):

-event1   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED            Power Button                      seat0 default group2  cap:k
-event9   DEVICE_ADDED            Logitech USB Receiver             seat0 default group3  cap:p left scroll-nat scroll-button
-event10  DEVICE_ADDED            Logitech USB Receiver Keyboard    seat0 default group3  cap:kp scroll-nat
-event5   DEVICE_ADDED            HD 1080P  PC-Camera: HD 1080P     seat0 default group4  cap:k
-event4   DEVICE_ADDED            Logitech G502                     seat0 default group5  cap:kp left scroll-nat scroll-button
-event7   DEVICE_ADDED            Kingston HyperX Cloud II Wireless Consumer Control seat0 default group6  cap:k

This is the faulty kernel, where I plug the mouse in and it works correctly:

-event1   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED            Power Button                      seat0 default group2  cap:k
-event9   DEVICE_ADDED            Logitech USB Receiver             seat0 default group3  cap:p left scroll-nat scroll-button
-event10  DEVICE_ADDED            Logitech USB Receiver Keyboard    seat0 default group3  cap:kp scroll-nat
-event5   DEVICE_ADDED            HD 1080P  PC-Camera: HD 1080P     seat0 default group4  cap:k
-event6   DEVICE_ADDED            Logitech G502 LIGHTSPEED Wireless Gaming Mouse seat0 default group5  cap:p left scroll-nat scroll-button
-event21  DEVICE_ADDED            Logitech G502 LIGHTSPEED Wireless Gaming Mouse Keyboard seat0 default group5  cap:kp scroll-nat
-event4   DEVICE_ADDED            Logitech G502                     seat0 default group6  cap:kp left scroll-nat scroll-button
-event7   DEVICE_ADDED            Kingston HyperX Cloud II Wireless Consumer Control seat0 default group7  cap:k

And lastly this is what I get when I unplug it and go back to wireless, faulty case again:

-event1   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED            Power Button                      seat0 default group2  cap:k
-event9   DEVICE_ADDED            Logitech USB Receiver             seat0 default group3  cap:p left scroll-nat scroll-button
-event10  DEVICE_ADDED            Logitech USB Receiver Keyboard    seat0 default group3  cap:kp scroll-nat
-event5   DEVICE_ADDED            HD 1080P  PC-Camera: HD 1080P     seat0 default group4  cap:k
-event4   DEVICE_ADDED            Logitech G502                     seat0 default group5  cap:kp left scroll-nat scroll-button
-event7   DEVICE_ADDED            Kingston HyperX Cloud II Wireless Consumer Control seat0 default group6  cap:k

It would be awesome if you'd write clear instructions tomorrow on how to patch, I'll head off to sleep for now also.

Last edited by Huskiness3641 (2023-03-07 23:21:29)

Offline

#27 2023-03-08 07:05:33

seth
Member
Registered: 2012-09-03
Posts: 57,058

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

V1del wrote:

For that you'd have to get the kernel sources via the ABS

https://wiki.archlinux.org/title/Compile_kernel_module

Offline

#28 2023-03-08 10:31:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,844

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

I'm more interested in the output you get when actually scrolling while debug-events is running.

Offline

#29 2023-03-08 16:09:20

Huskiness3641
Member
Registered: 2023-03-07
Posts: 9

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

Apologies! I'll report back later tonight smile .

Offline

#30 2023-03-08 23:33:28

Huskiness3641
Member
Registered: 2023-03-07
Posts: 9

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

Sorry for posting a bit late! I tried scrolling up and down for 3~ seconds and this is what I got. This is from simply starting the computer on the latest kernel (6.2.2-zen1-1-zen), and using it immediately as wireless. I lifted my mouse up while scrolling as to not accidentally register any mouse movements. I checked in case lifting it up would fix the problem, it does not!

-event1   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED            Power Button                      seat0 default group2  cap:k
-event9   DEVICE_ADDED            Logitech USB Receiver             seat0 default group3  cap:p left scroll-nat scroll-button
-event10  DEVICE_ADDED            Logitech USB Receiver Keyboard    seat0 default group3  cap:kp scroll-nat
-event4   DEVICE_ADDED            HD 1080P  PC-Camera: HD 1080P     seat0 default group4  cap:k
-event3   DEVICE_ADDED            Logitech G502                     seat0 default group5  cap:kp left scroll-nat scroll-button
-event7   DEVICE_ADDED            Kingston HyperX Cloud II Wireless Consumer Control seat0 default group6  cap:k
-event3   POINTER_SCROLL_WHEEL    +0.041s	vert -7.50/-60.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.046s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.049s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.053s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.054s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.057s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.060s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.096s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.102s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.109s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.112s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.116s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.118s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.121s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.123s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.171s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.182s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.190s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.194s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.198s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.200s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.204s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.206s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.421s	vert 7.50/60.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.428s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.431s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.434s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.437s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.440s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.447s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.493s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.504s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.511s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.515s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.518s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.520s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.523s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.528s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.550s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.556s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.562s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.566s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.569s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.570s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.573s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.578s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.606s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.610s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.615s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.617s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.620s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.621s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.624s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.626s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.636s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.650s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.657s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.660s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.664s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.665s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.669s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.676s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.717s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.732s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.747s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.751s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.757s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.761s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.767s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.869s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.022s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.031s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.040s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.043s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.048s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.051s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.054s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.080s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.088s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.093s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.099s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.101s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.105s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.107s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.110s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.138s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.179s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.184s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.190s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.192s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.196s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.198s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.201s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.442s	vert -7.50/-60.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.445s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.447s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.448s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.450s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.451s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.452s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.455s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.466s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.470s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.472s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.474s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.475s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.478s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.479s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.496s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.506s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.513s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.514s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.515s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.518s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.519s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.520s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.549s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.553s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.556s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.558s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.560s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.561s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.562s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.563s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.564s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.565s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.568s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.570s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.572s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.574s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.576s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.577s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.578s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.580s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.585s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.588s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.591s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.593s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.595s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.597s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.600s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.610s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.619s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.623s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.627s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.629s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.631s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.633s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.636s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.719s	vert 7.50/60.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.723s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.724s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.727s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.728s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.730s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.731s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.735s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.737s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.741s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.742s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.743s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.745s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.747s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.749s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.754s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.757s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.760s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.762s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.764s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.766s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.768s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.771s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.775s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.778s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.781s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.784s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.786s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.787s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.790s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.793s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.799s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.803s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.807s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.809s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.812s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.814s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.816s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.819s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.831s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.837s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.843s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.845s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.848s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.850s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.852s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.856s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.879s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.884s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.890s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.893s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.897s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.899s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.902s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.030s	vert -7.50/-60.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.033s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.035s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.037s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.038s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.039s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.040s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.042s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.047s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.050s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.051s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.053s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.055s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.056s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.057s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.060s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.064s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.071s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.073s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.075s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.076s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.078s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.079s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.082s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.086s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.092s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.094s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.096s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.098s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.099s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.101s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.103s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.109s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.117s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.120s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.123s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.125s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.127s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.129s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.132s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.136s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.143s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.146s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.150s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.152s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.154s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.156s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.159s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.166s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.176s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.182s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.186s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.188s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.191s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.193s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.199s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.312s	vert 7.50/60.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.315s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.317s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.319s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.321s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.322s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.324s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.325s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.328s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.330s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.332s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.334s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.336s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.337s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.339s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.341s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.345s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.349s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.353s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.356s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.359s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.361s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.364s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.367s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.373s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.376s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.381s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.383s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.386s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.388s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.390s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.392s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.398s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.401s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.406s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.408s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.411s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.413s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.415s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.418s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.428s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.432s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.435s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.437s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.440s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.441s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.443s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.445s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.450s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.455s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.460s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.462s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.465s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.466s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.469s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.471s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.490s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.496s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.501s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.504s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.507s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.509s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.511s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.514s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.073s	vert 7.50/60.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.075s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.077s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.079s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.081s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.083s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.178s	vert -7.50/-60.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.181s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.184s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.186s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.187s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.188s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.189s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.191s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.193s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.196s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.198s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.200s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.202s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.203s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.204s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.206s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.208s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.212s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.214s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.217s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.219s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.220s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.222s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.226s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.244s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.259s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.263s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.267s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.269s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.272s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.274s	vert -1.88/-15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.339s	vert 7.50/60.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.340s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.342s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.343s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.345s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.346s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.347s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.348s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.349s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.350s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.352s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.353s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.354s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.355s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.357s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.358s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.359s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.360s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.362s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.363s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.366s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.368s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.370s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.372s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.375s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.378s	vert 1.88/15.0* horiz 0.00/0.0 (wheel)
-event10  KEYBOARD_KEY            +3.795s	*** (-1) pressed
 event10  KEYBOARD_KEY            +3.825s	*** (-1) pressed

I performed the same test on the current kernel I use (6.0.12-zen1-1-zen), that works correctly with my mouse, the output is as follows:

-event1   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event0   DEVICE_ADDED            Power Button                      seat0 default group2  cap:k
-event21  DEVICE_ADDED            Logitech USB Receiver             seat0 default group3  cap:p left scroll-nat scroll-button
-event22  DEVICE_ADDED            Logitech USB Receiver Keyboard    seat0 default group3  cap:kp scroll-nat
-event4   DEVICE_ADDED            HD 1080P  PC-Camera: HD 1080P     seat0 default group4  cap:k
-event3   DEVICE_ADDED            Logitech G502                     seat0 default group5  cap:kp left scroll-nat scroll-button
-event23  DEVICE_ADDED            Kingston HyperX Cloud II Wireless Consumer Control seat0 default group6  cap:k
-event3   POINTER_SCROLL_WHEEL    +4294967.295s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.072s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.116s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.145s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.195s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.223s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.267s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.292s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.330s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.553s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.595s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.638s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.666s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.719s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.761s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.784s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +0.842s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.040s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.065s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.116s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.166s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.197s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.244s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.287s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.317s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.616s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.634s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.684s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.745s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.780s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +1.846s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.057s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.114s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.199s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.236s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.262s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.313s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.343s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.415s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.571s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.597s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.625s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.660s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.697s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.734s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.777s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +2.814s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.118s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.132s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.154s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.197s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.256s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.339s	vert 15.00/120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.485s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
 event3   POINTER_SCROLL_WHEEL    +3.563s	vert -15.00/-120.0* horiz 0.00/0.0 (wheel)
-event22  KEYBOARD_KEY            +3.655s	*** (-1) pressed
 event22  KEYBOARD_KEY            +3.727s	*** (-1) pressed
^C

What I observe is that the output is noticeably shorter on the working kernel than the faulty kernel. The "vert" values also seem to be different?

Does this give you any idea of what might be wrong? Thanks again for all the help smile.

Last edited by Huskiness3641 (2023-03-08 23:42:57)

Offline

#31 2023-03-14 15:55:25

espritlibre
Member
Registered: 2022-12-15
Posts: 132

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

@ V1del
your patch doesn't apply correctly anymore and the fix is currently not merged (Linux 6.1.19-hardened1-1-hardened)
i'm still compiling my kernel with the last known version of hid-logitech-hidpp.c from 6.0.19

Offline

#32 2023-03-14 22:02:49

Huskiness3641
Member
Registered: 2023-03-07
Posts: 9

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

Hmm... I personally don't think the problem is [SOLVED] until it is something that can easily be fixed with one command or merged into the main-line kernel. Considering that OP is also facing issues again, maybe it's nice to revisit the problem again? As compiling a kernel with a custom patch every single time sounds painful sad.

Sadly I have no idea how to debug / fix stuff like this...

Last edited by Huskiness3641 (2023-03-14 22:03:30)

Offline

#33 2023-03-14 23:14:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,844

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

The original problem I found got fixed for my usecase by the upstream patch that disables high-res for mices connected in USB mode here, this got upstreamed in 6.1.12 . If you still have issues  I suggest you either ask in my original report I linked or probably rather open up a new bug report for the devices that give you problems.

FWIW if you want to test my patch rebased against 6.2.6 you can use the following patch:

diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c
index 5efc591a02a0..650031957c2b 100644
--- a/drivers/hid/hid-logitech-hidpp.c
+++ b/drivers/hid/hid-logitech-hidpp.c
@@ -41,6 +41,12 @@ module_param(disable_tap_to_click, bool, 0644);
 MODULE_PARM_DESC(disable_tap_to_click,
 	"Disable Tap-To-Click mode reporting for touchpads (only on the K400 currently).");
 
+static bool disable_hires;
+module_param(disable_hires, bool, 0644);
+MODULE_PARM_DESC(disable_hires,
+	"Disable Hi-Res querying support.");
+
+
 /* Define a non-zero software ID to identify our own requests */
 #define LINUX_KERNEL_SW_ID			0x01
 
@@ -3973,7 +3979,7 @@ static void hidpp_connect_event(struct hidpp_device *hidpp)
 	}
 
 	hidpp_initialize_battery(hidpp);
-	if (!hid_is_usb(hidpp->hid_dev))
+	if (!disable_hires && !hid_is_usb(hidpp->hid_dev))
 		hidpp_initialize_hires_scroll(hidpp);
 
 	/* forward current battery state */

save it as e.g. hid_logitech_hidpp_6.2.6.patch to the root of the kernel sources acquired via ABS e.g. for the linux-zen kernel

# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>

pkgbase=linux-zen
pkgver=6.2.6.zen1
pkgrel=1
pkgdesc='Linux ZEN'
_srctag=v${pkgver%.*}-${pkgver##*.}
url="https://github.com/zen-kernel/zen-kernel/commits/$_srctag"
arch=(x86_64)
license=(GPL2)
makedepends=(
  bc libelf pahole cpio perl tar xz
  xmlto python-sphinx graphviz imagemagick texlive-latexextra
  git
)
options=('!strip')
_srcname=zen-kernel
source=(
  "$_srcname::git+https://github.com/zen-kernel/zen-kernel?signed#tag=$_srctag"
  config         # the main kernel config file
  "hid_logitech_hidpp_6.2.6.patch"
)
validpgpkeys=(
  'ABAF11C65A2970B130ABE3C479BE3E4300411886'  # Linus Torvalds
  '647F28654894E3BD457199BE38DBBDC86092693E'  # Greg Kroah-Hartman
  'A2FF3A36AAA56654109064AB19802F8B0D70FC30'  # Jan Alexander Steffens (heftig)
  'C5ADB4F3FEBBCE27A3E54D7D9AE4078033F8024D'  # Steven Barrett <steven@liquorix.net>
)
sha256sums=('SKIP'
            'b495edb5ef554835be7e9f0520a539137ede7f6f34162e666edb89276b229dab'
            'e01ca71447d620f0e3efb9180c5496a53ab2a1d4d6903af57e37061d739c68b3')

export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"

prepare() {
  cd $_srcname

  echo "Setting version..."
  scripts/setlocalversion --save-scmversion
  echo "-$pkgrel" > localversion.10-pkgrel
  echo "${pkgbase#linux}" > localversion.20-pkgname

  local src
  for src in "${source[@]}"; do
    src="${src%%::*}"
    src="${src##*/}"
    [[ $src = *.patch ]] || continue
    echo "Applying patch $src..."
    patch -Np1 < "../$src"
  done

  echo "Setting config..."
  cp ../config .config
  make olddefconfig
  diff -u ../config .config || :

  make -s kernelrelease > version
  echo "Prepared $pkgbase version $(<version)"
}

build() {
  cd $_srcname
  make htmldocs all
}

_package() {
  pkgdesc="The $pkgdesc kernel and modules"
  depends=(coreutils kmod initramfs)
  optdepends=('wireless-regdb: to set the correct wireless channels of your country'
              'linux-firmware: firmware images needed for some devices')
  provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE KSMBD-MODULE VHBA-MODULE
            UKSMD-BUILTIN)
  replaces=()

  cd $_srcname
  local kernver="$(<version)"
  local modulesdir="$pkgdir/usr/lib/modules/$kernver"

  echo "Installing boot image..."
  # systemd expects to find the kernel here to allow hibernation
  # https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
  install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"

  # Used by mkinitcpio to name the kernel
  echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"

  echo "Installing modules..."
  make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
    DEPMOD=/doesnt/exist modules_install  # Suppress depmod

  # remove build and source links
  rm "$modulesdir"/{source,build}
}

_package-headers() {
  pkgdesc="Headers and scripts for building modules for the $pkgdesc kernel"
  depends=(pahole)

  cd $_srcname
  local builddir="$pkgdir/usr/lib/modules/$(<version)/build"

  echo "Installing build files..."
  install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
    localversion.* version vmlinux
  install -Dt "$builddir/kernel" -m644 kernel/Makefile
  install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
  cp -t "$builddir" -a scripts

  # required when STACK_VALIDATION is enabled
  install -Dt "$builddir/tools/objtool" tools/objtool/objtool

  # required when DEBUG_INFO_BTF_MODULES is enabled
  install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids

  echo "Installing headers..."
  cp -t "$builddir" -a include
  cp -t "$builddir/arch/x86" -a arch/x86/include
  install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s

  install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
  install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h

  # https://bugs.archlinux.org/task/13146
  install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h

  # https://bugs.archlinux.org/task/20402
  install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
  install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
  install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h

  # https://bugs.archlinux.org/task/71392
  install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h

  echo "Installing KConfig files..."
  find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;

  echo "Removing unneeded architectures..."
  local arch
  for arch in "$builddir"/arch/*/; do
    [[ $arch = */x86/ ]] && continue
    echo "Removing $(basename "$arch")"
    rm -r "$arch"
  done

  echo "Removing documentation..."
  rm -r "$builddir/Documentation"

  echo "Removing broken symlinks..."
  find -L "$builddir" -type l -printf 'Removing %P\n' -delete

  echo "Removing loose objects..."
  find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete

  echo "Stripping build tools..."
  local file
  while read -rd '' file; do
    case "$(file -Sib "$file")" in
      application/x-sharedlib\;*)      # Libraries (.so)
        strip -v $STRIP_SHARED "$file" ;;
      application/x-archive\;*)        # Libraries (.a)
        strip -v $STRIP_STATIC "$file" ;;
      application/x-executable\;*)     # Binaries
        strip -v $STRIP_BINARIES "$file" ;;
      application/x-pie-executable\;*) # Relocatable binaries
        strip -v $STRIP_SHARED "$file" ;;
    esac
  done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)

  echo "Stripping vmlinux..."
  strip -v $STRIP_STATIC "$builddir/vmlinux"

  echo "Adding symlink..."
  mkdir -p "$pkgdir/usr/src"
  ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
}

_package-docs() {
  pkgdesc="Documentation for the $pkgdesc kernel"

  cd $_srcname
  local builddir="$pkgdir/usr/lib/modules/$(<version)/build"

  echo "Installing documentation..."
  local src dst
  while read -rd '' src; do
    dst="${src#Documentation/}"
    dst="$builddir/Documentation/${dst#output/}"
    install -Dm644 "$src" "$dst"
  done < <(find Documentation -name '.*' -prune -o ! -type d -print0)

  echo "Adding symlink..."
  mkdir -p "$pkgdir/usr/share/doc"
  ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
}

pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs")
for _p in "${pkgname[@]}"; do
  eval "package_$_p() {
    $(declare -f "_package${_p#$pkgbase}")
    _package${_p#$pkgbase}
  }"
done

# vim:set ts=8 sts=2 sw=2 et:

Alternatively download just the kernel sources with makepkg -o and then rebuild just the module as detailed in: https://wiki.archlinux.org/title/Compile_kernel_module
Then pass the disable_hires=1 parameter to the hid_logitech_hidpp kernel module via modprobe or the kernel parameters line or so.

Last edited by V1del (2023-03-14 23:29:36)

Offline

#34 2023-03-17 12:36:56

commonuser
Member
Registered: 2015-02-03
Posts: 11

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

I see the same issue. For me it works if the mouse is connected via Bluetooth. Thankfully it has that additionally to their wireless dongle.

Offline

#35 2023-03-17 14:05:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,844

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

Bluetooth will completey bypass this entire logic here, so that's not surprising FWIW I did bring this to the attention of the developer and they're against adding the module parameter to bypass it: https://bugzilla.kernel.org/show_bug.cgi?id=216997 and they asked to report bugs for devices that have problems with the behaviour. So if you wanted to see fixes for this you'd need to report your specific mouse models and the exact issues as well as the debugging output given by tools like libinput record as mentioned in the original report: https://bugzilla.kernel.org/show_bug.cgi?id=216885

For my mouse (Logitech G903), the high res resolution scrolling works correctly on the dongle, and is correctly disabled according to the current code if plugged in via USB directly.

Last edited by V1del (2023-03-17 14:08:31)

Offline

#36 2023-03-20 14:49:28

Huskiness3641
Member
Registered: 2023-03-07
Posts: 9

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

Damn kinda sucks for me... My mouse (Logitech G502 wireless) doesn't support Bluetooth. I guess I'll just have to wait until Kernel 6.3, which seems to promise some more changes to the mice?... But idk.

It is incredibly tedious constantly patching and compiling my own kernel hmm

Offline

#37 2023-03-20 19:37:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,844

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

Since the hidpp module is "only" for these kind of special cases, if you do not need e.g. battery information in the OS you could try blacklisting hid_logitech_hidpp. Or well, open a bug report with the log/issues of your device.

Offline

#38 2023-03-21 19:01:33

Huskiness3641
Member
Registered: 2023-03-07
Posts: 9

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

Woohoo! That works! I don't think I need anything in the module, so for now this will work until hopefully it is fixed.

1. Open up the /etc/modprobe.d/blacklist.conf file.

2. Add the following line to the file:

blacklist hid_logitech_hidpp

3. Save the file and exit the text editor. Reboot your system for the changes to take effect.

4. Connect your mouse to be wired, then unplug. And now it works! (No idea why but oh well!)

Thanks for the help smile.

Last edited by Huskiness3641 (2023-03-21 19:03:32)

Offline

#39 2023-04-11 08:48:03

henrygermany
Member
Registered: 2023-04-11
Posts: 1

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

I'm not sure if this is the right place, but @Huskiness3641's solution worked for me under Ubuntu 22.04 with kernel 5.19.x and a Logitech M720 mouse.

Feel free to delete this post or message me, if its not allowed here.

Offline

#40 2023-09-05 17:04:01

AAVVIronAlex
Member
From: Yerevan
Registered: 2023-09-05
Posts: 46
Website

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

henrygermany wrote:

I'm not sure if this is the right place, but @Huskiness3641's solution worked for me under Ubuntu 22.04 with kernel 5.19.x and a Logitech M720 mouse.

Feel free to delete this post or message me, if its not allowed here.

Hello, after trying @Huskiness3641's suggestion on my Ubuntu 22.04 PC with a G502, and I did not get the same results, for some reason it did act normally when connected to the wire, but after I removed the wire it was in this limbo position, as if it had stiffened, scrolling a single line at a time. I was thinking this is due to a mouse configuration file somewhere, do you have any idea where I could find something like that, besides, the problem I am having does not happen on Wayland (currently running Xorg, because of nVidia). Also, I once achieved this same thing when I turned off Scroll Wheel Resolution in Solaar (https://pwr-solaar.github.io/Solaar/). By the way, I have kernel 6.2 installed.

I was also wondering if someone has encountered this issue on newer kernel versions, or is it already resolved?

Offline

#41 2023-09-05 17:25:41

AAVVIronAlex
Member
From: Yerevan
Registered: 2023-09-05
Posts: 46
Website

Re: [SOLVED] Kernel 6.1.x Logitech mouse scroll wheel issues

Huskiness3641 wrote:

Woohoo! That works! I don't think I need anything in the module, so for now this will work until hopefully it is fixed.

1. Open up the /etc/modprobe.d/blacklist.conf file.

2. Add the following line to the file:

blacklist hid_logitech_hidpp

3. Save the file and exit the text editor. Reboot your system for the changes to take effect.

4. Connect your mouse to be wired, then unplug. And now it works! (No idea why but oh well!)

Thanks for the help smile.

False alarm, it did work after a second try, make sure to unplug the wireless mouse dongle when rebooting, especially if you have tinkered with it before.

Last edited by AAVVIronAlex (2023-09-05 17:27:14)

Offline

Board footer

Powered by FluxBB