Commit a22137e7 authored by Peter Hutterer's avatar Peter Hutterer

tools: measure-fuzz: run systemd-hwdb update, not udevadm hwdb

For backwards compatibility reasons, the hwdb.bin created udevadm hwdb
does not actually apply matches in the way you'd expect. systemd-hwdb
creates the newer format and is preferred.

Related: #472Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 3ec74cfc
......@@ -269,8 +269,8 @@ def handle_existing_entry(device, fuzz):
def reload_and_trigger_udev(device):
import time
print('Running udevadm hwdb --update')['udevadm', 'hwdb', '--update'], check=True)
print('Running systemd-hwdb update')['systemd-hwdb', 'update'], check=True)
syspath = device.path.replace('/dev/input/', '/sys/class/input/')
print('Running udevadm trigger {}'.format(syspath))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment