[systemd-devel] Custom hwdb.d entry does not start at boot

Paolo Mainardi paolomainardi at gmail.com
Sun Jul 21 14:58:45 UTC 2024


Hello everyone!

As reported in the subject, I am having trouble making a custom (simple)
hwdb.d entry rule to start at boot.

Instead, it works by running it manually, after logging in, which is quite
annoying:

sudo systemd-hwdb update
sudo udevadm trigger /dev/input/event*

This is the rule:

❯ cat /etc/udev/hwdb.d/90-logitech-mice.hwdb

# to use when hires is enabled.
# mouse:*:name:*Logitech * Mouse*:
#      MOUSE_WHEEL_CLICK_ANGLE=1
#      MOUSE_WHEEL_CLICK_COUNT=360              # lower is faster.
#      MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL=1
#      MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL=50

# to use when hires is disabled.
mouse:*:name:*Logitech * Mouse*:
     MOUSE_WHEEL_CLICK_ANGLE=1
     MOUSE_WHEEL_CLICK_COUNT=160 # higher is slower but smoother.
     MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL=1
     MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL=100

# This is just used when bluetooth is enabled.
mouse:*:name:*Logitech MX Master 3S*:
     MOUSE_WHEEL_CLICK_ANGLE_HORIZONTAL=1
     MOUSE_WHEEL_CLICK_COUNT_HORIZONTAL=100

The current systemd version in use is: systemd 256 (256.1-1-arch-g34ba18b^)

Sorry if this is not the right place to ask these kinds of questions;
please point me to the appropriate place if that's the case.

Best regards,
P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240721/f4b9b9fd/attachment.htm>


More information about the systemd-devel mailing list