Skip to content

Local MOUSE_WHEEL_CLICK_ANGLE rule not applied #10459

@bdaase

Description

@bdaase

systemd version the issue has been seen with

systemd 239
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid

Used distribution

Ubuntu 18.10

Expected behaviour you didn't see

MOUSE_WHEEL_CLICK_ANGLE rules set in /etc/udev/hwdb.d/71-mouse-local.hwdb are applied for a Logitech MX Anywhere 2 and the mouse wheel scroll speed changes.

Unexpected behaviour you saw

It was not applied

Steps to reproduce the problem

  1. Have a Logitech MX Anywhere 2
  2. Create the /etc/udev/hwdb.d/71-mouse-local.hwdb file and fill it with (I experimented with different values for the angle, it didn't make a difference)
mouse:usb:v046dpc52b:name:*:
 MOUSE_WHEEL_CLICK_ANGLE=30

The vid/pid are correct due to lsusb which has the following output

Bus 004 Device 004: ID 152d:0539 JMicron Technology Corp. / JMicron USA Technology Corp. JMS539/567 SuperSpeed SATA II/III 3.0G/6.0G Bridge
Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 004 Device 002: ID 0424:5807 Standard Microsystems Corp. 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 006: ID 24ae:2002  
Bus 003 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 003 Device 004: ID 0bda:4014 Realtek Semiconductor Corp. 
Bus 003 Device 002: ID 0424:2807 Standard Microsystems Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 0489:e0a2 Foxconn / Hon Hai 
Bus 001 Device 002: ID 0bda:58f4 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  1. Run systemd-hwdb update and udevadm trigger /dev/input/event* as root.
  2. Use the scroll wheel of the mouse, nothing changed.

Edit: After making the changes mentioned above I ran libinput debug-events and get the following event when scrolling:
event16 POINTER_AXIS +14.66s vert 15.00* horiz 0.00 (wheel)
which looks for me (the documentation says 15 is the default value) like all changes, even those shipped in /lib/udev/hwdb.d/70-mouse.hwdb, are ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions