From d67474645c3e4d3ba87a5b5311570d104ed17721 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 16 Jun 2025 12:30:18 +1000 Subject: [PATCH] doc/user: device quirk matches have to be 0x prefixed Part-of: --- doc/user/device-quirks.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/user/device-quirks.rst b/doc/user/device-quirks.rst index 8ae8af04..3921f450 100644 --- a/doc/user/device-quirks.rst +++ b/doc/user/device-quirks.rst @@ -223,8 +223,8 @@ MatchBus A lower-case bus name. Currently supported are ``usb``, ``bluetooth``, ``ps2``, ``rmi``, ``i2c``, and ``spi``. MatchVendor, MatchProduct, MatchVersion - The hexadecmial 4-digit vendor ID, product ID or driver version as exported, without - a ``0x`` prefix. + The hexadecimal 4-digit vendor ID, product ID or driver version as + exported, uppercase with a ``0x`` prefix, e.g. ``0x12AB```. MatchDMIModalias, MatchDeviceTree An ``fnmatch()`` glob for the DMI modalias or the DeviceTree ``compatible`` string. See ``/sys/class/dmi/id/modalias`` and ``/sys/firmware/devicetree/base/compatible``.