Description of problem: After updating from Fedora 35 to 37, the following custom hwdb entry stopped working (stopped applying custom rule): $ cat /etc/udev/hwdb.d/71-pointingstick-local.hwdb # Lenovo Thinkpad evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad*:* POINTINGSTICK_SENSITIVITY=128 Version-Release number of selected component (if applicable): systemd-udev.x86_64 251.8-586.fc37 How reproducible: 100% Steps to Reproduce: 1. Create custom udev hwdb rule for Lenovo trackpoint sensitivity 2. Run systemd-hwdb update 3. Reboot Actual results: The rule is not applied Expected results: The rule is applied Additional info: Since I've upgraded from Fedora 35 to 37, I'm not sure whether this is a regression in 36 or 37.
Please run 'systemd-analyze cat-config udev/hwdb.d >/tmp/hwdb.dump' and 'for i in /dev/input/event*; do udevadm test $i; echo ============================; done &>/tmp/udevadm.dump' and attach /tmp/hwdb.dump and /tmp/udevadm.dump here. (If you know which eventNN device the touchpad is, 'udevadm test' just for that device would be enough. I don't know how to figure out the right one except by looking at the properties.)
Created attachment 1931594 [details] hwdb.dump
Created attachment 1931595 [details] udevadm.dump
(In reply to Zbigniew Jędrzejewski-Szmek from comment #1) > Please run 'systemd-analyze cat-config udev/hwdb.d >/tmp/hwdb.dump' > and 'for i in /dev/input/event*; do udevadm test $i; echo > ============================; done &>/tmp/udevadm.dump' > and attach /tmp/hwdb.dump and /tmp/udevadm.dump here. > > (If you know which eventNN device the touchpad is, 'udevadm test' just for > that device > would be enough. I don't know how to figure out the right one except by > looking at > the properties.) It seems that new udev version prints physical path and ev (event number?) after the name and before "dmi" in modalias. Adding the additional * after the name and before dmi make the rule work again: evdev:name:TPPS/2 IBM TrackPoint:*:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad*:* However, all the rules in official hwdb, at least for trackpoints, are still written in the old way. I suppose they are not applied as well. Should I report this to udev team?
https://github.com/systemd/systemd/pull/25706/
FEDORA-2022-a82842a059 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a82842a059
FEDORA-2022-a82842a059 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-a82842a059` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a82842a059 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-a82842a059 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.