]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb.d: update/expand boilerplate on various hwdb files
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 May 2025 15:44:25 +0000 (17:44 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 14 May 2025 16:08:26 +0000 (18:08 +0200)
We don't want to encourage people to copy the whole files. The
boilerplate text that recommends an override file rather than a
full copy appeared first in 0213a26f656d72ac83eb201f2104726fcfe60eaa,
but was added in other places in 57bb707d48131f4daad2b1b746eab586eb66b4f3.

Directly inspired by 951e8cb06037d5b67c0ac86f56bcbd73f4fb2d7b, but
the wrong boilerplate was added in other places too.

hwdb.d/70-av-production.hwdb
hwdb.d/70-hardware-wallets.hwdb
hwdb.d/70-lights.hwdb
hwdb.d/70-software-radio.hwdb
hwdb.d/70-sound-card.hwdb

index f7cc349822d808f24c299eb84e71567dde4fbe8c..dc3fddf0e069d35f9fc0653518c7d893e828af73 100644 (file)
@@ -3,13 +3,25 @@
 # Database for AV production controllers that should be accessible to the seat owner.
 #
 # This covers DJ tables, music-oriented key pads, and streaming-oriented key pads
-# such as Elgato Stream Deck
+# such as Elgato Stream Deck.
 #
-# To add local entries, copy this file to
-#   /etc/udev/hwdb.d/
+# The lookup keys are $MODALIAS strings, see udev's hwdb builtin.
+#
+# To add local entries, create a new file
+#   /etc/udev/hwdb.d/71-av-production-local.hwdb
 # and add your rules there. To load the new rules execute (as root):
 #   systemd-hwdb update
-#   udevadm trigger
+#   udevadm trigger /dev/…
+#
+# If your changes are generally applicable, send them as a pull request to
+#   https://github.com/systemd/systemd
+# or create a bug report on https://github.com/systemd/systemd/issues and
+# include your new rules, a description of the device, and the output of
+#   udevadm info
+# for the device.
+#
+# Allowed properties are:
+#   ID_AV_PRODUCTION_CONTROLLER=1
 
 ################
 # Ableton
index 77d8bfa92df3b5394f855474c30aa71481aaac02..24983f3f92e349a23b67796e6dc2c83fd5c67d0d 100644 (file)
@@ -1,12 +1,24 @@
 # This file is part of systemd.
 #
 # Database for Hardware Wallets that should be accessible to the seat owner.
-##
-# To add local entries, copy this file to
-#   /etc/udev/hwdb.d/
+#
+# The lookup keys are $MODALIAS strings, see udev's hwdb builtin.
+#
+# To add local entries, create a new file
+#   /etc/udev/hwdb.d/71-hardware-wallets-local.hwdb
 # and add your rules there. To load the new rules execute (as root):
 #   systemd-hwdb update
-#   udevadm trigger
+#   udevadm trigger /dev/…
+#
+# If your changes are generally applicable, send them as a pull request to
+#   https://github.com/systemd/systemd
+# or create a bug report on https://github.com/systemd/systemd/issues and
+# include your new rules, a description of the device, and the output of
+#   udevadm info
+# for the device.
+#
+# Allowed properties are:
+#   ID_HARDWARE_WALLET=1
 
 ################
 # Trezor Hardware Wallets
index 7811be61f5e54ac4d2abc3187478e80a31c4dcae..70c152c8b8a608bb8237151d4ae1e9e965d784c4 100644 (file)
@@ -1,14 +1,26 @@
 # This file is part of systemd.
 #
-# Database for remote controllable lights that should be accessible to the seat owner,
-# such as Bluetooth or USB lights that are used in conjuction with the computer like
-# streaming lights.
+# Database for remote controllable lights that should be accessible to the seat
+# owner, such as Bluetooth or USB lights that are used in conjuction with the
+# computer like streaming lights.
 #
-# To add local entries, copy this file to
-#   /etc/udev/hwdb.d/
+# The lookup keys are $MODALIAS strings, see udev's hwdb builtin.
+#
+# To add local entries, create a new file
+#   /etc/udev/hwdb.d/71-lights-local.hwdb
 # and add your rules there. To load the new rules execute (as root):
 #   systemd-hwdb update
-#   udevadm trigger
+#   udevadm trigger /dev/…
+#
+# If your changes are generally applicable, send them as a pull request to
+#   https://github.com/systemd/systemd
+# or create a bug report on https://github.com/systemd/systemd/issues and
+# include your new rules, a description of the device, and the output of
+#   udevadm info
+# for the device.
+#
+# Allowed properties are:
+#   ID_AV_LIGHTS=1
 
 ################
 # Logitech
index c6afcffdc34e014a49b80f034b721ed6fbab7c23..3b578d464ff018c7da51cea3855d0557a4ac71dd 100644 (file)
@@ -1,12 +1,25 @@
 # This file is part of systemd.
 #
-# Database for software-defined radio devices that should be accessible to the seat owner.
+# Database for software-defined radio devices that should be accessible to the
+# seat owner.
 #
-# To add local entries, copy this file to
-#   /etc/udev/hwdb.d/
+# The lookup keys are $MODALIAS strings, see udev's hwdb builtin.
+#
+# To add local entries, create a new file
+#   /etc/udev/hwdb.d/71-software-radio-local.hwdb
 # and add your rules there. To load the new rules execute (as root):
 #   systemd-hwdb update
-#   udevadm trigger
+#   udevadm trigger /dev/…
+#
+# If your changes are generally applicable, send them as a pull request to
+#   https://github.com/systemd/systemd
+# or create a bug report on https://github.com/systemd/systemd/issues and
+# include your new rules, a description of the device, and the output of
+#   udevadm info
+# for the device.
+#
+# Allowed properties are:
+#   ID_SOFTWARE_RADIO=1
 
 ################
 # Nuand
index a7ea8c64ee4c798460255ed20aa6e8379f98d14a..762993dbf07d524d680329b5301ad92cd400f97d 100644 (file)
@@ -1,12 +1,24 @@
 # This file is part of systemd.
 #
-# Database of sound hardware that gets misdetected
+# Database of sound hardware that gets misdetected.
 #
-# To add local entries, copy this file to
-#   /etc/udev/hwdb.d/
+# The lookup keys are $MODALIAS strings, see udev's hwdb builtin.
+#
+# To add local entries, create a new file
+#   /etc/udev/hwdb.d/71-sound-card-local.hwdb
 # and add your rules there. To load the new rules execute (as root):
 #   systemd-hwdb update
-#   udevadm trigger
+#   udevadm trigger /dev/…
+#
+# If your changes are generally applicable, send them as a pull request to
+#   https://github.com/systemd/systemd
+# or create a bug report on https://github.com/systemd/systemd/issues and
+# include your new rules, a description of the device, and the output of
+#   udevadm info
+# for the device.
+#
+# Allowed properties are:
+#   SOUND_FORM_FACTOR
 
 ###########################################################
 # Corsair