Systemd/hwdb.d
Zbigniew Jędrzejewski-Szmek 77547d5313 hwdb: check that uppercase digits are used in modalias patterns
This is all confusing as hell, becuase in some places lowercase hexadecimal
digits are used, and in other places uppercase. This adds a check for the
most common case that we and others got wrong.

I tried to extend the general grammar in hwdb_grammar() to include this check,
but it quickly became very complicated and didn't seem to work properly. Doing
initial parsing with more general rules is easier and also seems to give better
error messages:

/home/zbyszek/src/systemd-work/build/../hwdb.d/60-autosuspend.hwdb: 3 match groups, 5 matches, 3 properties
Pattern 'v058fp9540*' is invalid: Expected W:(0123...), found 'f'  (at char 4), (line:1, col:5)
2020-07-17 11:15:58 +02:00
..
.gitattributes Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
.gitignore Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-OUI.hwdb hwdb: update again for v246 2020-07-07 08:26:13 +09:00
20-acpi-vendor.hwdb hwdb: update for v245-rc2 2020-03-03 11:54:18 +09:00
20-acpi-vendor.hwdb.patch hwdb: update again for v246 2020-07-07 08:26:13 +09:00
20-bluetooth-vendor-product.hwdb hwdb: Update database of Bluetooth company identifiers 2020-04-05 10:01:14 +02:00
20-net-ifname.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-pci-classes.hwdb hwdb: update for v246 2020-06-26 05:20:50 +09:00
20-pci-vendor-model.hwdb hwdb: update for v246 2020-06-26 05:20:50 +09:00
20-sdio-classes.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-sdio-vendor-model.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-usb-classes.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
20-usb-vendor-model.hwdb hwdb: update for v246 2020-06-26 05:20:50 +09:00
20-vmbus-class.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
60-autosuspend.hwdb Add autosuspend rules for emulated QEMU devices 2020-07-16 19:00:26 +02:00
60-evdev.hwdb hwdb: adjust touchpad edge detection for X1Tab3 (#16310) 2020-06-30 19:04:08 +09:00
60-input-id.hwdb hwdb: Force "mouse" type on Logitech Ultrathin Touch Mouse 2020-05-06 21:09:29 +02:00
60-keyboard.hwdb Added MSI Prestige15 A10SC specific keycodes 2020-07-10 18:55:30 +02:00
60-sensor.hwdb hwdb: Add Google Pixel Slate (nocturne) (#16377) 2020-07-07 08:45:31 +02:00
70-joystick.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
70-mouse.hwdb hwdb: add another Logitech M705 mouse variant 2020-07-06 17:17:52 +02:00
70-pointingstick.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
70-touchpad.hwdb Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
acpi-update.py Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
acpi_id_registry.html hwdb: update for v245-rc2 2020-03-03 11:54:18 +09:00
ids_parser.py Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
ma-large.txt hwdb: update again for v246 2020-07-07 08:26:13 +09:00
ma-medium.txt hwdb: update again for v246 2020-07-07 08:26:13 +09:00
ma-small.txt hwdb: update again for v246 2020-07-07 08:26:13 +09:00
meson.build hwdb: enable autosuspend for Wacom Pen and EMV Smartcard Reader 2020-06-22 14:45:20 +02:00
parse_hwdb.py hwdb: check that uppercase digits are used in modalias patterns 2020-07-17 11:15:58 +02:00
pci.ids hwdb: update for v246 2020-06-26 05:20:50 +09:00
pnp_id_registry.html hwdb: update 2019-11-15 11:36:59 +01:00
sdio.ids Rename udev's hwdb/ to hwdb.d/ 2019-10-10 00:53:09 +01:00
usb.ids hwdb: update for v246 2020-06-26 05:20:50 +09:00