Bug#1005192: Libinput properties set but have no effect

Camaleón noelamac at gmail.com
Tue Feb 8 19:26:01 GMT 2022


Package: udev
Version: 232-25
Severity: normal

Running Debian 9, XFCE and quite simple mouse device (Microsoft Ready 
Mouse, wired, optical, 3 buttons).

I'm trying to speed up my mouse wheel scroll event (now goes up/down by 
3 lines). As there's no option to setup the scrolling speed under XFCE 
mouse properties, I tried by the hard way:

1. Device detection:

sm01 at stt008:~$ grep -i mouse /var/log/Xorg.0.log
[    19.297] (==) NOUVEAU(G0): Silken mouse enabled
[    19.300] (==) NOUVEAU(0): Silken mouse enabled
[    22.569] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event13)
[    22.569] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "libinput pointer catchall"
[    22.569] (II) Using input driver 'libinput' for 'ImPS/2 Generic Wheel Mouse'
[    22.569] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[    22.569] (II) input device 'ImPS/2 Generic Wheel Mouse', /dev/input/event13 is tagged by udev as: Mouse
[    22.569] (II) input device 'ImPS/2 Generic Wheel Mouse', /dev/input/event13 is a pointer caps
[    22.600] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE, id 9)
[    22.600] (**) ImPS/2 Generic Wheel Mouse: (accel) selected scheme none/0
[    22.600] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[    22.600] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[    22.600] (II) input device 'ImPS/2 Generic Wheel Mouse', /dev/input/event13 is tagged by udev as: Mouse
[    22.600] (II) input device 'ImPS/2 Generic Wheel Mouse', /dev/input/event13 is a pointer caps
[    22.601] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)

2. I created «/etc/udev/hwdb.d/71-mouse-local.hwdb» file with the 
folowing content:

# ImPS/2 Generic Wheel Mouse
mouse:ps2:*:name:ImPS/2 Generic Wheel Mouse:
 MOUSE_WHEEL_CLICK_ANGLE=60

3. Updated udev's database by running:

udevadm hwdb --update

4. Forced udev setup update with:

udevadm trigger /dev/input/event13

5. And finally checked the propertie was already applied with:

root at stt008:/etc/udev/hwdb.d# udevadm info /sys/class/input/event13
P: /devices/platform/i8042/serio1/input/input4/event13
N: input/event13
E: DEVNAME=/dev/input/event13
E: DEVPATH=/devices/platform/i8042/serio1/input/input4/event13
E: ID_BUS=i8042
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: LIBINPUT_DEVICE_GROUP=11/2/5/0:isa0060/serio1
E: MAJOR=13
E: MINOR=77
E: MOUSE_WHEEL_CLICK_ANGLE=60 <- here it is
E: SUBSYSTEM=input
E: USEC_INITIALIZED=9662442

But wheel srolling speed remains the same, I see no changes at all.

Cheers,

-- 
Camaleón 



More information about the Pkg-systemd-maintainers mailing list