mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-05-11 11:58:11 +02:00
validity: update hwdb-check-unsupported.py to filter out unsupported devices
This commit is contained in:
parent
08ef87a80c
commit
871818eebb
1 changed files with 9 additions and 0 deletions
|
|
@ -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]*) }')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue