149 lines
5.9 KiB
Diff
149 lines
5.9 KiB
Diff
From 9150ab86eb104c4ffa39aa8af992236997fc792b Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Date: Wed, 14 May 2025 17:31:57 +0200
|
|
Subject: [PATCH] hwdb.d: reword and simplify boilerplate texts
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Let's keep things simple and uniform. We put a dot at the
|
|
end of some commands… This is obviously correct, but might confuse
|
|
some poor user.
|
|
|
|
(cherry picked from commit 16acf66cf6985a87a5650cb1fa7b56be42505c62)
|
|
|
|
Resolves: RHEL-72697
|
|
---
|
|
hwdb.d/60-autosuspend.hwdb | 5 ++---
|
|
hwdb.d/60-evdev.hwdb | 5 ++---
|
|
hwdb.d/60-input-id.hwdb | 5 ++---
|
|
hwdb.d/60-keyboard.hwdb | 5 ++---
|
|
hwdb.d/60-sensor.hwdb | 3 +--
|
|
hwdb.d/70-joystick.hwdb | 5 ++---
|
|
hwdb.d/70-touchpad.hwdb | 2 +-
|
|
7 files changed, 12 insertions(+), 18 deletions(-)
|
|
|
|
diff --git a/hwdb.d/60-autosuspend.hwdb b/hwdb.d/60-autosuspend.hwdb
|
|
index 1bdc041bb9..af7d8ba567 100644
|
|
--- a/hwdb.d/60-autosuspend.hwdb
|
|
+++ b/hwdb.d/60-autosuspend.hwdb
|
|
@@ -14,13 +14,12 @@
|
|
# systemd-hwdb update
|
|
# udevadm trigger /dev/…
|
|
#
|
|
-# If your changes are generally applicable, preferably send them as a pull
|
|
-# request to
|
|
+# 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
|
|
-# the device.
|
|
+# for the device.
|
|
#
|
|
# Allowed properties are:
|
|
# ID_AUTOSUSPEND=1
|
|
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
|
|
index 2e18f71e5b..47f1c2d2d2 100644
|
|
--- a/hwdb.d/60-evdev.hwdb
|
|
+++ b/hwdb.d/60-evdev.hwdb
|
|
@@ -38,12 +38,11 @@
|
|
# where /dev/input/eventXX is the device in question. If in doubt, simply use
|
|
# /dev/input/event* to reload all input rules.
|
|
#
|
|
-# If your changes are generally applicable, preferably send them as a pull
|
|
-# request to
|
|
+# 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 /dev/input/eventXX.
|
|
+# udevadm info /dev/input/eventXX
|
|
#
|
|
# Allowed properties are:
|
|
# EVDEV_ABS_<axis>=<min>:<max>:<res>:<fuzz>:<flat>
|
|
diff --git a/hwdb.d/60-input-id.hwdb b/hwdb.d/60-input-id.hwdb
|
|
index 823d856c31..88fec6e043 100644
|
|
--- a/hwdb.d/60-input-id.hwdb
|
|
+++ b/hwdb.d/60-input-id.hwdb
|
|
@@ -14,12 +14,11 @@
|
|
# where /dev/input/eventXX is the device in question. If in
|
|
# doubt, simply use /dev/input/event* to reload all input rules.
|
|
#
|
|
-# If your changes are generally applicable, preferably send them as a pull
|
|
-# request to
|
|
+# 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 /dev/input/eventXX.
|
|
+# udevadm info /dev/input/eventXX
|
|
#
|
|
# This file must only be used where the input_id builtin assigns the wrong
|
|
# properties or lacks the assignment of some properties. This is almost always
|
|
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
|
|
index 210af0f5fc..0ed4478399 100644
|
|
--- a/hwdb.d/60-keyboard.hwdb
|
|
+++ b/hwdb.d/60-keyboard.hwdb
|
|
@@ -51,12 +51,11 @@
|
|
# where /dev/input/eventXX is the keyboard in question. If in doubt, simply use
|
|
# /dev/input/event* to reload all input rules.
|
|
#
|
|
-# If your changes are generally applicable, preferably send them as a pull
|
|
-# request to
|
|
+# 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 /dev/input/eventXX.
|
|
+# udevadm info /dev/input/eventXX
|
|
|
|
# ######################### KEY MAPPING ######################################
|
|
#
|
|
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
|
|
index 9561fefa89..b25dda8959 100644
|
|
--- a/hwdb.d/60-sensor.hwdb
|
|
+++ b/hwdb.d/60-sensor.hwdb
|
|
@@ -27,8 +27,7 @@
|
|
# udevadm trigger -v -p DEVNAME=/dev/iio:deviceXXX
|
|
# where /dev/iio:deviceXXX is the device in question.
|
|
#
|
|
-# If your changes are generally applicable, preferably send them as a pull
|
|
-# request to
|
|
+# 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
|
|
diff --git a/hwdb.d/70-joystick.hwdb b/hwdb.d/70-joystick.hwdb
|
|
index 8e942c8c1b..e2008676e9 100644
|
|
--- a/hwdb.d/70-joystick.hwdb
|
|
+++ b/hwdb.d/70-joystick.hwdb
|
|
@@ -18,12 +18,11 @@
|
|
# where /dev/input/eventXX is the joystick in question. If in
|
|
# doubt, simply use /dev/input/event* to reload all input rules.
|
|
#
|
|
-# If your changes are generally applicable, preferably send them as a pull
|
|
-# request to
|
|
+# 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 /dev/input/eventXX.
|
|
+# udevadm info /dev/input/eventXX
|
|
#
|
|
# Permitted keys:
|
|
# Specify if a joystick is a built-in one or external:
|
|
diff --git a/hwdb.d/70-touchpad.hwdb b/hwdb.d/70-touchpad.hwdb
|
|
index 262bca3a19..83089bba28 100644
|
|
--- a/hwdb.d/70-touchpad.hwdb
|
|
+++ b/hwdb.d/70-touchpad.hwdb
|
|
@@ -26,7 +26,7 @@
|
|
# udevadm info /dev/input/eventXX.
|
|
#
|
|
# Permitted keys:
|
|
-# Specify if a touchpad is a built-in one or external:
|
|
+# Specify whether a touchpad is a built-in one or external:
|
|
# ID_INPUT_TOUCHPAD_INTEGRATION=internal|external
|
|
|
|
touchpad:i8042:*
|