Am 08.02.22 um 20:26 schrieb Camaleón:
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@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@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,



You are setting the properties via udev (which apparently worked).
What X/Wayland/libinput does with that is out of udev's control.

Thus closing this bug report against udev as I don't see anything actionable in udev here.

Regards,
Michael


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to