From b6db67476daac0fe96b4e8333de1d8649ebdc9bf Mon Sep 17 00:00:00 2001 From: Leonardo Francisco Date: Tue, 7 Apr 2026 23:11:35 -0400 Subject: [PATCH] validity: update hwdb-check-unsupported.py to filter out unsupported devices --- tests/hwdb-check-unsupported.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/hwdb-check-unsupported.py b/tests/hwdb-check-unsupported.py index 650cd099..8b865e0e 100755 --- a/tests/hwdb-check-unsupported.py +++ b/tests/hwdb-check-unsupported.py @@ -22,6 +22,15 @@ for m in devices_re.finditer(data): pid = m.group(2) devices.append((vid, pid)) +# TODO:remove when the devices are removed from the wiki unsupported list. +allow = [] +allow.append(("06cb", "009a")) +allow.append(("138a", "0090")) +allow.append(("138a", "0097")) +allow.append(("138a", "009d")) + +devices = [d for d in devices if d not in allow] + generator = open(os.path.join(os.path.dirname(__file__), '..', 'libfprint', 'fprint-list-udev-hwdb.c')).read() id_re = re.compile(' { .vid = 0x([a-fA-F0-9]*), .pid = 0x([a-fA-F0-9]*) }')