systemd-252-41

Resolves: RHEL-36276,RHEL-45020,RHEL-50672,RHEL-5950
This commit is contained in:
Jan Macku 2024-08-15 12:43:01 +02:00
parent 7c593159af
commit 5e4e586032
200 changed files with 3448820 additions and 2 deletions

View File

@ -0,0 +1,57 @@
From d13ec6508ef181bdb294a955fe0e52e8df667b91 Mon Sep 17 00:00:00 2001
From: ShreyasMahangade <139431044+ShreyasMahangade@users.noreply.github.com>
Date: Sat, 20 Jul 2024 22:37:30 +0530
Subject: [PATCH] timedatectl: setting set_local_rtc to 1 will throw Warning as
well, use log_warning() (#33489)
Previously only running `timedatectl` it was showing warning regarding the dangers of setting RTC to local TZ. Now similar warning is also flashed when `set-local-rtc 1`.
(cherry picked from commit db708fc9ba551325e000cc12bd3490a5de0715ba)
Resolves: RHEL-45020
---
src/timedate/timedatectl.c | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c
index ac4d3dc3ed..1283f129e1 100644
--- a/src/timedate/timedatectl.c
+++ b/src/timedate/timedatectl.c
@@ -152,14 +152,15 @@ static int print_status_info(const StatusInfo *i) {
if (r < 0)
return table_log_print_error(r);
- if (i->rtc_local)
- printf("\n%s"
- "Warning: The system is configured to read the RTC time in the local time zone.\n"
- " This mode cannot be fully supported. It will create various problems\n"
- " with time zone changes and daylight saving time adjustments. The RTC\n"
- " time is never updated, it relies on external facilities to maintain it.\n"
- " If at all possible, use RTC in UTC by calling\n"
- " 'timedatectl set-local-rtc 0'.%s\n", ansi_highlight(), ansi_normal());
+ if (i->rtc_local) {
+ fflush(stdout);
+ log_warning(" \nWarning: The system is configured to read the RTC time in the local time zone.\n"
+ " This mode cannot be fully supported. It will create various problems\n"
+ " with time zone changes and daylight saving time adjustments. The RTC\n"
+ " time is never updated, it relies on external facilities to maintain it.\n"
+ " If at all possible, use RTC in UTC by calling\n"
+ " 'timedatectl set-local-rtc 0'.\n");
+ }
return 0;
}
@@ -264,6 +265,13 @@ static int set_local_rtc(int argc, char **argv, void *userdata) {
if (b < 0)
return log_error_errno(b, "Failed to parse local RTC setting '%s': %m", argv[1]);
+ if (b == 1)
+ log_warning("Warning: The system is now being configured to read the RTC time in the local time zone\n"
+ " This mode cannot be fully supported. It will create various problems\n"
+ " with time zone changes and daylight saving time adjustments. The RTC\n"
+ " time is never updated, it relies on external facilities to maintain it.\n"
+ " If at all possible, use RTC in UTC");
+
r = bus_call_method(
bus,
bus_timedate,

View File

@ -0,0 +1,94 @@
From 0cd99eaa34a27209a271e00213d1ba2a54cc807f Mon Sep 17 00:00:00 2001
From: Antonio Alvarez Feijoo <antonio.feijoo@suse.com>
Date: Thu, 25 Apr 2024 12:14:25 +0200
Subject: [PATCH] cryptsetup-tokens: fix pin asserts
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
If a user only presses ENTER when the PIN is requested (without actually typing
the PIN), an assertion is reached and no other unlock method is requested.
```
sh-5.2# systemctl status systemd-cryptsetup@cr_root
× systemd-cryptsetup@cr_root.service - Cryptography Setup for cr_root
Loaded: loaded (/etc/crypttab; generated)
Drop-In: /etc/systemd/system/systemd-cryptsetup@.service.d
└─pcr-signature.conf
Active: failed (Result: core-dump) since Thu 2024-04-25 08:44:30 UTC; 10min ago
Docs: man:crypttab(5)
man:systemd-cryptsetup-generator(8)
man:systemd-cryptsetup@.service(8)
Process: 559 ExecStartPre=/usr/bin/pcr-signature.sh (code=exited, status=0/SUCCESS)
Process: 604 ExecStart=/usr/bin/systemd-cryptsetup attach cr_root /dev/disk/by-uuid/a8cbd937-6975-4e61-9120-ce5c03138700 none x-initrd.attach,tpm2-device=auto (code=dumped, signal=ABRT)
Main PID: 604 (code=dumped, signal=ABRT)
CPU: 19ms
Apr 25 08:44:29 localhost systemd[1]: Starting Cryptography Setup for cr_root...
Apr 25 08:44:30 localhost systemd-cryptsetup[604]: Assertion '!pin || pin_size > 0' failed at src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c:60, function cryptsetup_token_open_pin(). Aborting.
Apr 25 08:44:30 localhost systemd[1]: systemd-cryptsetup@cr_root.service: Main process exited, code=dumped, status=6/ABRT
Apr 25 08:44:30 localhost systemd[1]: systemd-cryptsetup@cr_root.service: Failed with result 'core-dump'.
Apr 25 08:44:30 localhost systemd[1]: Failed to start Cryptography Setup for cr_root.
```
In this case, `cryptsetup_token_open_pin()` receives an empty (non-NULL) `pin`
with `pin_size` equals to 0.
```
🔐 Please enter LUKS2 token PIN:
Breakpoint 3, cryptsetup_token_open_pin (cd=0x5555555744c0, token=0, pin=0x5555555b3cc0 "", pin_size=0, ret_password=0x7fffffffd380,
ret_password_len=0x7fffffffd378, usrptr=0x0) at ../src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c:42
42 void *usrptr /* plugin defined parameter passed to crypt_activate_by_token*() API */) {
(gdb) continue
Assertion '!pin || pin_size > 0' failed at src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c:60, function cryptsetup_token_open_pin(). Aborting.
```
(cherry picked from commit 5cef6b5393871a99ad17799197b26da9196f7035)
Related: RHEL-36276
---
.../cryptsetup-tokens/cryptsetup-token-systemd-fido2.c | 2 +-
.../cryptsetup-tokens/cryptsetup-token-systemd-pkcs11.c | 2 +-
.../cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-fido2.c b/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-fido2.c
index 3027804065..63f9688e88 100644
--- a/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-fido2.c
+++ b/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-fido2.c
@@ -34,7 +34,7 @@ _public_ int cryptsetup_token_open_pin(
const char *json;
_cleanup_(erase_and_freep) char *pin_string = NULL;
- assert(!pin || pin_size);
+ assert(pin || pin_size == 0);
assert(token >= 0);
/* This must not fail at this moment (internal error) */
diff --git a/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-pkcs11.c b/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-pkcs11.c
index c3e7fbd061..63dbb1943f 100644
--- a/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-pkcs11.c
+++ b/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-pkcs11.c
@@ -33,7 +33,7 @@ _public_ int cryptsetup_token_open_pin(
const char *json;
int r;
- assert(!pin || pin_size);
+ assert(pin || pin_size == 0);
assert(token >= 0);
/* This must not fail at this moment (internal error) */
diff --git a/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c b/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c
index 94d568c17f..883ccf3a0b 100644
--- a/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c
+++ b/src/cryptsetup/cryptsetup-tokens/cryptsetup-token-systemd-tpm2.c
@@ -57,7 +57,7 @@ _public_ int cryptsetup_token_open_pin(
int r;
assert(token >= 0);
- assert(!pin || pin_size > 0);
+ assert(pin || pin_size == 0);
assert(ret_password);
assert(ret_password_len);

View File

@ -0,0 +1,94 @@
From 42330aae7a15eb353e4554b84731ee552bf2d3c2 Mon Sep 17 00:00:00 2001
From: Bryan Jacobs <b@q3q.us>
Date: Tue, 16 Apr 2024 13:12:22 +1000
Subject: [PATCH] cryptenroll: Use CTAP2.1 credProtect extension
When enrolling a new FIDO2 token with a client PIN, this tells the authenticator to require the PIN on all uses.
It also collects a PIN before attempting to create a credential.
Works around #31443 in most (not all) scenarios.
(cherry picked from commit 12cf745cceb3dfec858bab6152636e42f1c23bb9)
Related: RHEL-36276
---
src/shared/libfido2-util.c | 29 ++++++++++++++++++++++++++---
src/shared/libfido2-util.h | 1 +
2 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/src/shared/libfido2-util.c b/src/shared/libfido2-util.c
index 525849ee19..a7b00ae5be 100644
--- a/src/shared/libfido2-util.c
+++ b/src/shared/libfido2-util.c
@@ -40,6 +40,7 @@ const unsigned char* (*sym_fido_cred_id_ptr)(const fido_cred_t *) = NULL;
fido_cred_t* (*sym_fido_cred_new)(void) = NULL;
int (*sym_fido_cred_set_clientdata_hash)(fido_cred_t *, const unsigned char *, size_t) = NULL;
int (*sym_fido_cred_set_extensions)(fido_cred_t *, int) = NULL;
+int (*sym_fido_cred_set_prot)(fido_cred_t *, int) = NULL;
int (*sym_fido_cred_set_rk)(fido_cred_t *, fido_opt_t) = NULL;
int (*sym_fido_cred_set_rp)(fido_cred_t *, const char *, const char *) = NULL;
int (*sym_fido_cred_set_type)(fido_cred_t *, int) = NULL;
@@ -89,6 +90,7 @@ int dlopen_libfido2(void) {
DLSYM_ARG(fido_cred_new),
DLSYM_ARG(fido_cred_set_clientdata_hash),
DLSYM_ARG(fido_cred_set_extensions),
+ DLSYM_ARG(fido_cred_set_prot),
DLSYM_ARG(fido_cred_set_rk),
DLSYM_ARG(fido_cred_set_rp),
DLSYM_ARG(fido_cred_set_type),
@@ -632,10 +634,21 @@ int fido2_generate_hmac_hash(
if (!c)
return log_oom();
- r = sym_fido_cred_set_extensions(c, FIDO_EXT_HMAC_SECRET);
+ int extensions = FIDO_EXT_HMAC_SECRET;
+ if (FLAGS_SET(lock_with, FIDO2ENROLL_PIN) || FLAGS_SET(lock_with, FIDO2ENROLL_UV)) {
+ /* Attempt to use the "cred protect" extension, requiring user verification (UV) for this
+ * credential. If the authenticator doesn't support the extension, it will be ignored. */
+ extensions |= FIDO_EXT_CRED_PROTECT;
+
+ r = sym_fido_cred_set_prot(c, FIDO_CRED_PROT_UV_REQUIRED);
+ if (r != FIDO_OK)
+ log_warning("Failed to set protection level on FIDO2 credential, ignoring: %s", sym_fido_strerr(r));
+ }
+
+ r = sym_fido_cred_set_extensions(c, extensions);
if (r != FIDO_OK)
return log_error_errno(SYNTHETIC_ERRNO(EIO),
- "Failed to enable HMAC-SECRET extension on FIDO2 credential: %s", sym_fido_strerr(r));
+ "Failed to enable extensions on FIDO2 credential: %s", sym_fido_strerr(r));
r = sym_fido_cred_set_rp(c, rp_id, rp_name);
if (r != FIDO_OK)
@@ -686,7 +699,17 @@ int fido2_generate_hmac_hash(
emoji_enabled() ? special_glyph(SPECIAL_GLYPH_TOUCH) : "",
emoji_enabled() ? " " : "");
- r = sym_fido_dev_make_cred(d, c, NULL);
+ /* If we are using the user PIN, then we must pass that PIN to the get_assertion call below, or
+ * the authenticator will use the non-user-verification HMAC secret (which differs from the one when
+ * the PIN is passed).
+ *
+ * Rather than potentially trying and failing to create the credential, just collect the PIN first
+ * and then pass it to both the make_credential and the get_assertion operations. */
+ if (FLAGS_SET(lock_with, FIDO2ENROLL_PIN))
+ r = FIDO_ERR_PIN_REQUIRED;
+ else
+ r = sym_fido_dev_make_cred(d, c, NULL);
+
if (r == FIDO_ERR_PIN_REQUIRED) {
if (!has_client_pin)
diff --git a/src/shared/libfido2-util.h b/src/shared/libfido2-util.h
index a04a3768a5..5a24814fd9 100644
--- a/src/shared/libfido2-util.h
+++ b/src/shared/libfido2-util.h
@@ -41,6 +41,7 @@ extern const unsigned char* (*sym_fido_cred_id_ptr)(const fido_cred_t *);
extern fido_cred_t* (*sym_fido_cred_new)(void);
extern int (*sym_fido_cred_set_clientdata_hash)(fido_cred_t *, const unsigned char *, size_t);
extern int (*sym_fido_cred_set_extensions)(fido_cred_t *, int);
+extern int (*sym_fido_cred_set_prot)(fido_cred_t *, int);
extern int (*sym_fido_cred_set_rk)(fido_cred_t *, fido_opt_t);
extern int (*sym_fido_cred_set_rp)(fido_cred_t *, const char *, const char *);
extern int (*sym_fido_cred_set_type)(fido_cred_t *, int);

View File

@ -0,0 +1,32 @@
From 09d24c06b52ff9aee3257cbd6bfc23ee72497da8 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Wed, 31 Jul 2024 16:16:17 +0200
Subject: [PATCH] kernel-install: check machine ID
Let's do at least a minimal check that the read machine ID is valid.
RHEL-only: feature
Related: RHEL-50672
---
src/kernel-install/kernel-install.in | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/kernel-install/kernel-install.in b/src/kernel-install/kernel-install.in
index 25884fc0e2..440df56f54 100755
--- a/src/kernel-install/kernel-install.in
+++ b/src/kernel-install/kernel-install.in
@@ -160,7 +160,12 @@ if [ -z "$MACHINE_ID" ] && [ -f /etc/machine-info ]; then
fi
if [ -z "$MACHINE_ID" ] && [ -s /etc/machine-id ]; then
read -r MACHINE_ID </etc/machine-id
- [ "$MACHINE_ID" = "uninitialized" ] && unset MACHINE_ID
+ if [ "$MACHINE_ID" = "uninitialized" ]; then
+ unset MACHINE_ID
+ elif [ {{ '${#MACHINE_ID}' }} -ne 32 ]; then
+ echo "Error: invalid machine-id $MACHINE_ID read from /etc/machine-id" >&2
+ exit 1
+ fi
[ -n "$MACHINE_ID" ] && \
log_verbose "machine-id $MACHINE_ID acquired from /etc/machine-id"
fi

View File

@ -0,0 +1,31 @@
From 86572fe65c896cceea54a1fb94a4089ad5ce5dfe Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Wed, 31 Jul 2024 16:06:26 +0200
Subject: [PATCH] kernel-install: ignore errors when reading /etc/machine-id
If /etc/machine-id doesn't end with a newline (which is wrong, but it
can happen), kernel-install fails. That's because `read` returns 1 if it
reaches EOF and we're using `set -e`. Let's just ignore that error, as
it doesn't matter: we have either read a valid machine ID, in which case
we continue, or we haven't, in which case we exit anyway.
RHEL-only: feature
Resolves: RHEL-50672
---
src/kernel-install/kernel-install.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kernel-install/kernel-install.in b/src/kernel-install/kernel-install.in
index 440df56f54..105bd54acc 100755
--- a/src/kernel-install/kernel-install.in
+++ b/src/kernel-install/kernel-install.in
@@ -159,7 +159,7 @@ if [ -z "$MACHINE_ID" ] && [ -f /etc/machine-info ]; then
log_verbose "machine-id $MACHINE_ID acquired from /etc/machine-info"
fi
if [ -z "$MACHINE_ID" ] && [ -s /etc/machine-id ]; then
- read -r MACHINE_ID </etc/machine-id
+ read -r MACHINE_ID </etc/machine-id || :
if [ "$MACHINE_ID" = "uninitialized" ]; then
unset MACHINE_ID
elif [ {{ '${#MACHINE_ID}' }} -ne 32 ]; then

View File

@ -0,0 +1,32 @@
From 83e8a4e71e1a9e2c40875f08119390dc46fa7537 Mon Sep 17 00:00:00 2001
From: p-fpv <103542588+p-fpv@users.noreply.github.com>
Date: Mon, 31 Oct 2022 23:45:53 +0300
Subject: [PATCH] hwdb: Add Lenovo G580
Fixes #23066.
(cherry picked from commit f1c73e5b825ad55dbfe7fcd30f60a20975c26846)
Related: RHEL-5950
---
hwdb.d/60-evdev.hwdb | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
index b91fd8f294..42e30256e3 100644
--- a/hwdb.d/60-evdev.hwdb
+++ b/hwdb.d/60-evdev.hwdb
@@ -622,6 +622,13 @@ evdev:name:MSFT0001:02 04F3:304B Touchpad:dmi:*svnLENOVO:*pvrLenovoLegionY9000X2
EVDEV_ABS_35=::31
EVDEV_ABS_36=::30
+# Lenovo g580
+evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnLENOVO:*pvrLenovoG580**
+ EVDEV_ABS_00=-170:2950:24
+ EVDEV_ABS_01=-591:700:25
+ EVDEV_ABS_35=-170:2950:24
+ EVDEV_ABS_36=-591:700:25
+
#########################################
# Microsoft
#########################################

View File

@ -0,0 +1,25 @@
From 0c2868c7e595c2a3dd61a9bcbbd882cb67b10d0f Mon Sep 17 00:00:00 2001
From: drosdeck <edson.drosdeck@gmail.com>
Date: Mon, 7 Nov 2022 12:14:07 -0300
Subject: [PATCH] Fix key toggle and programmable button for Positivo N14ZP
(cherry picked from commit 4dbcb5dc10fb8dd53202aa4ed3cff8c869ee3b4f)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 066a7a1c8f..60af8fde4d 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -2022,6 +2022,8 @@ evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:svnPositivoTecnologiaSA:pn
# Positivo Motion (K142, K142-V2)
evdev:name:SIPODEV USB Composite Device:dmi:bvn*:bvr*:svnPositivoTecnologiaSA:pn*:pvr*:rvn*:rnK142*
+# Positivo Motion (N14ZP6, N14ZP7)
+evdev:name:SIPODEV USB Composite Device:dmi:bvn*:bvr*:svnPositivoTecnologiaSA:pn*:pvr*:rvn*:rnN14ZP[67]*
# Positivo Motion (CW14Q01P) (CW14Q01P-V2)
evdev:name:SIPODEV USB Composite Device:dmi:bvn*:bvr*:svnPositivoTecnologiaSA:pn*:pvr*:rvn*:rnCW14Q01P*
KEYBOARD_KEY_70073=f21 # Fn+f2 toggle touchpad

View File

@ -0,0 +1,30 @@
From 644e704780ed5efb1def2bd67268ea6ea569d954 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Mon, 7 Nov 2022 21:46:56 +0100
Subject: [PATCH] hwdb: Add accel orientation quirk for the Acer Switch V 10
SW5-017 2-in-1
Add a quirk for the accelerometer orientation for
the Acer Switch V 10 SW5-017 2-in-1.
(cherry picked from commit 493f67d21d5552f0921334abfd39230c062c2d5a)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 000871537e..ea6b3f0452 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -92,6 +92,9 @@ sensor:modalias:acpi:INVN6500*:dmi:*svn*Acer*:*pn*AspireSW5-012:*
sensor:modalias:acpi:BOSC0200*:dmi:*svnAcer*:*TP-SW5-017-17BU:*
ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, -1
+sensor:modalias:acpi:BOSC0200*:dmi:*:svnAcer:pnSW5-017:*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+
sensor:modalias:acpi:BMA250E*:dmi:*:svnAcer:pnIconiaW1-810:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1

View File

@ -0,0 +1,26 @@
From db35e7dd5ff4c93e0e7caf5efd59ab5ea18dec32 Mon Sep 17 00:00:00 2001
From: Edson Juliano Drosdeck <edson.drosdeck@gmail.com>
Date: Thu, 17 Nov 2022 10:37:08 -0300
Subject: [PATCH] hwdb: fix Compaq N14KP6 key toggle touchpad (#25404)
(cherry picked from commit 58dad4d5e585a6c18452dd97153ec0f2d240c2d8)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 60af8fde4d..498a4c5f5e 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -296,6 +296,9 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnCompaq*:pn*Evo*N*:*
KEYBOARD_KEY_9e=email
KEYBOARD_KEY_9f=homepage
+evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:svnCompaq:pn*:pvr*:rvn*:rnN14KP6*
+ KEYBOARD_KEY_76=f21 # Fn+f2 toggle touchpad
+
evdev:input:b0003v049Fp0051*
evdev:input:b0003v049Fp008D*
KEYBOARD_KEY_0c0011=presentation

View File

@ -0,0 +1,79 @@
From 9d86cd0ec7744dcafb4358602b7efdd76334e1f9 Mon Sep 17 00:00:00 2001
From: Bernd Steinhauser <linux@bernd-steinhauser.de>
Date: Wed, 23 Nov 2022 15:07:25 +0100
Subject: [PATCH] hwdb: remove fuzz and deadzone for Simucube wheel bases.
For these devices the axes are setup via a special
configuration tool. udev should not apply additional
fuzz or deadzone.
Reference for the product IDs:
https://granitedevices.com/wiki/Simucube_product_USB_interface_documentation
This also indicates that there are a total of 8 axes.
(cherry picked from commit f5ae7f4c7727fb7643096da50c476730ffc58885)
Related: RHEL-5950
---
hwdb.d/60-evdev.hwdb | 48 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
index 42e30256e3..47e06737ba 100644
--- a/hwdb.d/60-evdev.hwdb
+++ b/hwdb.d/60-evdev.hwdb
@@ -337,6 +337,54 @@ evdev:name:Atmel maXTouch Touch*:dmi:bvn*:bvr*:bd*:svnGOOGLE:pnSamus:*
EVDEV_ABS_35=::10
EVDEV_ABS_36=::10
+#########################################
+# Granite Devices Simucube wheel bases
+#########################################
+
+# Granite Devices Simucube 1
+evdev:input:b0003v16D0p0D5A*
+ EVDEV_ABS_00=:::0:0
+ EVDEV_ABS_01=:::0:0
+ EVDEV_ABS_02=:::0:0
+ EVDEV_ABS_03=:::0:0
+ EVDEV_ABS_04=:::0:0
+ EVDEV_ABS_05=:::0:0
+ EVDEV_ABS_06=:::0:0
+ EVDEV_ABS_07=:::0:0
+
+# Granite Devices Simucube 2 Sport
+evdev:input:b0003v16D0p0D61*
+ EVDEV_ABS_00=:::0:0
+ EVDEV_ABS_01=:::0:0
+ EVDEV_ABS_02=:::0:0
+ EVDEV_ABS_03=:::0:0
+ EVDEV_ABS_04=:::0:0
+ EVDEV_ABS_05=:::0:0
+ EVDEV_ABS_06=:::0:0
+ EVDEV_ABS_07=:::0:0
+
+# Granite Devices Simucube 2 Pro
+evdev:input:b0003v16D0p0D60*
+ EVDEV_ABS_00=:::0:0
+ EVDEV_ABS_01=:::0:0
+ EVDEV_ABS_02=:::0:0
+ EVDEV_ABS_03=:::0:0
+ EVDEV_ABS_04=:::0:0
+ EVDEV_ABS_05=:::0:0
+ EVDEV_ABS_06=:::0:0
+ EVDEV_ABS_07=:::0:0
+
+# Granite Devices Simucube 2 Ultimate
+evdev:input:b0003v16D0p0D5F*
+ EVDEV_ABS_00=:::0:0
+ EVDEV_ABS_01=:::0:0
+ EVDEV_ABS_02=:::0:0
+ EVDEV_ABS_03=:::0:0
+ EVDEV_ABS_04=:::0:0
+ EVDEV_ABS_05=:::0:0
+ EVDEV_ABS_06=:::0:0
+ EVDEV_ABS_07=:::0:0
+
#########################################
# HP
#########################################

View File

@ -0,0 +1,30 @@
From 1ccfc1224b41ec56837c95066813ee4f4b3e854b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ton=C4=87i=20Gali=C4=87?= <tuxified@gmail.com>
Date: Mon, 28 Nov 2022 21:15:25 +0100
Subject: [PATCH] hwdb: Add support for Elgato Stream Pedal (#25550)
This adds the [Elgato Stream Pedal](https://www.elgato.com/en/stream-deck-pedal)
as part of the supported family
(cherry picked from commit bcad98ee4d0be0245fba159e2531ef170fbb6a8b)
Related: RHEL-5950
---
hwdb.d/70-av-production.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/70-av-production.hwdb b/hwdb.d/70-av-production.hwdb
index 5df128f07e..f89f26eb6f 100644
--- a/hwdb.d/70-av-production.hwdb
+++ b/hwdb.d/70-av-production.hwdb
@@ -52,6 +52,10 @@ usb:v0FD9p006D*
usb:v0FD9p0080*
ID_AV_PRODUCTION_CONTROLLER=1
+# Stream Deck Pedal
+usb:v0FD9p0086*
+ ID_AV_PRODUCTION_CONTROLLER=1
+
#############################
# Hercules (Guillemot Corp)
#############################

View File

@ -0,0 +1,30 @@
From 27a0e2f9eb2f01a8f0ec2dc783be56962aa78f4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Kotyla?= <michal.kotyla@3mdeb.com>
Date: Thu, 24 Nov 2022 13:10:08 +0100
Subject: [PATCH] hwdb: add Clevo touchpad toggle key quirks
(cherry picked from commit cb8d22fa8490ea19e82117b1e1ea794e3c0a4c98)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 498a4c5f5e..9707132bee 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -278,6 +278,13 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnNotebook:pnW65_67SZ:*
KEYBOARD_KEY_ae=!volumedown
KEYBOARD_KEY_b0=!volumeup
+evdev:atkbd:dmi:bvn*:bvr*:svnNotebook:pnNS50_70MU:*
+evdev:atkbd:dmi:bvn*:bvr*:svnNotebook:pnNV4XMB,ME,MZ:*
+evdev:atkbd:dmi:bvn*:bvr*:svnNotebook:pnNS5x_NS7xPU:*
+evdev:atkbd:dmi:bvn*:bvr*:svnNotebook:pnNV4xPZ:*
+ KEYBOARD_KEY_f7=f21 # Touchpad Toggle
+ KEYBOARD_KEY_f8=f21 # Touchpad Toggle
+
###########################################################
# Compal
###########################################################

View File

@ -0,0 +1,30 @@
From ae3edf16c379d0bb434c6a3d416ba4ae2c2c95e9 Mon Sep 17 00:00:00 2001
From: rogg <rogg@users.noreply.github.com>
Date: Thu, 1 Dec 2022 15:43:15 +0000
Subject: [PATCH] hwdb: add Dell Inspiron N4010 touchpad corrections
(cherry picked from commit 9b9798483a5e881b7274620a0366e27666b43c40)
Related: RHEL-5950
---
hwdb.d/60-evdev.hwdb | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
index 47e06737ba..8902b8b163 100644
--- a/hwdb.d/60-evdev.hwdb
+++ b/hwdb.d/60-evdev.hwdb
@@ -237,6 +237,13 @@ evdev:name:Synaptics TM2382-001:dmi:*svnDellInc.:pnInspiron3537:*
EVDEV_ABS_35=::24
EVDEV_ABS_36=::34
+# Dell Inspiron N4010
+evdev:name:SynPS/2 Synaptics TouchPad:dmi:bvn*:bvr*:bd*:svnDellInc.:pnInspironN4010:*
+ EVDEV_ABS_00=1188:5797:49
+ EVDEV_ABS_01=893:4894:80
+ EVDEV_ABS_35=1188:5797:49
+ EVDEV_ABS_36=893:4894:80
+
# Dell Inspiron N5040
evdev:name:AlpsPS/2 ALPS DualPoint TouchPad:dmi:bvn*:bvr*:bd*:svnDellInc.:pnInspironN5040:*
EVDEV_ABS_00=25:2000:22

View File

@ -0,0 +1,25 @@
From ebee83c277eb5b926d8ff465f61660a6c209fafd Mon Sep 17 00:00:00 2001
From: Edson Juliano Drosdeck <edson.drosdeck@gmail.com>
Date: Thu, 8 Dec 2022 16:51:09 -0300
Subject: [PATCH] hwdb: add Positivo-vaio Pro PW key toggle touchpad (#25669)
(cherry picked from commit 1feb9743d05eadb373caa9aba591871a7d05a278)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 9707132bee..2fee587ed4 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -2011,6 +2011,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnViewSonic:pnVPAD10:*
###########################################################
# Positivo-Vaio
###########################################################
+# Vaio Pro (VJPW11F11X)
+evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:bd*:svnPositivoBahia-VAIO:pnVJPW11F11X*:pvr*:*
# Vaio FE14 (VJFE41F11X, VJE42F11X, VJFE44F11X, VJFE54F11X)
evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:bd*:svnPositivoBahia-VAIO:pnVJFE*:pvr*:*
KEYBOARD_KEY_76=f21 # Fn+F1 toggle touchpad

View File

@ -0,0 +1,26 @@
From 50370c0db9b3a5319c07d4588232e5b0998c0e4c Mon Sep 17 00:00:00 2001
From: Lycowolf <44444925+Lycowolf@users.noreply.github.com>
Date: Sun, 11 Dec 2022 12:16:52 +0100
Subject: [PATCH] Add mount matrix for VisionBook 12Wr Tab
(cherry picked from commit 67065750c5f8eebda17e541414fc56d65b4b67cf)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index ea6b3f0452..56e321880a 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -978,6 +978,9 @@ sensor:modalias:acpi:KIOX000A*:dmi:*:svnUMAX:pnVisionBook10WiPro:*
sensor:modalias:acpi:SMO8500*:dmi:*:svnUMAX:pnVisionBook10WiPlus:*
ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
+sensor:modalias:acpi:MXC6655*:dmi:*:svnUMAX:pnVisionbook12WrTab:*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+
#########################################
# Voyo
#########################################

View File

@ -0,0 +1,69 @@
From 91aa9fde20a25db18bbb76e13a92692c20cdf5e4 Mon Sep 17 00:00:00 2001
From: uerdogan <35709819+uerdogan@users.noreply.github.com>
Date: Mon, 12 Dec 2022 21:46:50 +0100
Subject: [PATCH] Update 60-evdev.hwdb (#25704)
This solves Debian Bug report 1008760:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008760.
Solution was inspired by this kernel bug report message:
https://bugzilla.kernel.org/show_bug.cgi?id=204967#c15.
My measured pad dimensions with a ruler were 85x44mm.
But I decided to take the 2x size reported by the current kernel
when invoking the touchpad-edge-detector command from the
libdev-tools package. Because this comment claims that the old
vs new kernel reportings differ by factor 2:
https://bugzilla.kernel.org/show_bug.cgi?id=204967#c3 .
Therefore I have used this command to get the new entry to 60-evdev.hwdb:
"root@pb:~# touchpad-edge-detector 80x34 /dev/input/event2
Touchpad ETPS/2 Elantech Touchpad on /dev/input/event2
Move one finger around the touchpad to detect the actual edges
Kernel says: x [0..1254], y [0..528]
Touchpad sends: x [0..2472], y [-524..528] -^C
Touchpad size as listed by the kernel: 40x17mm
User-specified touchpad size: 80x34mm
Calculated ranges: 2472/1052
Suggested udev rule:
# <Laptop model description goes here>
evdev:name:ETPS/2 Elantech Touchpad:dmi:bvnPackardBell:bvrV1.21:bd08/09/2012:br21.240:svnPackardBell:pnEasyNoteTS11HR:pvrV1.21:rvnPackardBell:rnSJV50_HR:rvrBaseBoardVersion:cvnPackardBell:ct10:cvrV1.21:*
EVDEV_ABS_00=0:2472:31
EVDEV_ABS_01=-524:528:31
EVDEV_ABS_35=0:2472:31
EVDEV_ABS_36=-524:528:31
"
(cherry picked from commit d8100dd17e23f91da2f9c25cf46d8701af70c11a)
Related: RHEL-5950
---
hwdb.d/60-evdev.hwdb | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
index 8902b8b163..ef42637ed7 100644
--- a/hwdb.d/60-evdev.hwdb
+++ b/hwdb.d/60-evdev.hwdb
@@ -711,6 +711,17 @@ evdev:input:b0003v6161p4D15*
EVDEV_ABS_00=::152
EVDEV_ABS_01=::244
+#########################################
+# Packard Bell
+#########################################
+
+# EASYNOTE_TS11HR-200GE
+evdev:name:ETPS/2 Elantech Touchpad:dmi:bvnPackardBell:bvr*:br*:svnPackardBell:pnEasyNoteTS11HR:*
+ EVDEV_ABS_00=0:2472:31
+ EVDEV_ABS_01=-524:528:31
+ EVDEV_ABS_35=0:2472:31
+ EVDEV_ABS_36=-524:528:31
+
###########################################################
# Pine64
###########################################################

View File

@ -0,0 +1,26 @@
From 976a05813aa9495830a14b7acdb70a6da13da783 Mon Sep 17 00:00:00 2001
From: AndyChi <andy.chi@canonical.com>
Date: Tue, 13 Dec 2022 23:19:27 +0800
Subject: [PATCH] hwdb: Add additional Dell models that require
ACCEL_LOCATION=base (#25724)
(cherry picked from commit e4970f5dae9657ef18abeaf0990afb47bda407e2)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 56e321880a..89119247fa 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -339,6 +339,8 @@ sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B09:*
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B0B:*
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B0D:*
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B11:*
+sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C00:*
+sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C02:*
ACCEL_LOCATION=base
# Dell Venue 8 Pro 3845

View File

@ -0,0 +1,25 @@
From d2cf1aa334d4b41bba8f2f4ccf49c496dc6fc97b Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Mon, 12 Dec 2022 13:57:42 +0900
Subject: [PATCH] hwdb: drop trailing space
(cherry picked from commit c31e7bf07dbff73c8c34929853f2928ef59dcd47)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 2fee587ed4..cdf32107a9 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -2021,7 +2021,7 @@ evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:bd*:svnPositivoBahia-VAIO:
# Positivo
###########################################################
# Positivo DUO (k116)
-evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:svnPositivoTecnologiaSA:pn*:pvr*:rvnPositivoTecnologiaSA:rnK116*
+evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:svnPositivoTecnologiaSA:pn*:pvr*:rvnPositivoTecnologiaSA:rnK116*
KEYBOARD_KEY_76=f21 # Fn+F1 toggle touchpad
# Positivo Motion (N14DP6, N14DP7, N14DP7-V2, N14DP9, N14JP6, N14KP6)

View File

@ -0,0 +1,179 @@
From 4919443d69d529a9f5d09b7c4df429f99b1b225a Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Mon, 12 Dec 2022 13:41:34 +0900
Subject: [PATCH] hwdb: add comments about matching entries
Follow-up for 57bb707d48131f4daad2b1b746eab586eb66b4f3.
This makes the comments in 60-evdev.hwdb, 60-keyboard.hwdb, and
70-pointingstick.hwdb consistent.
(cherry picked from commit d3bee9f3008f748241ce482f53256cff38f8c11f)
Related: RHEL-5950
---
hwdb.d/60-evdev.hwdb | 29 +++++++++++++++++++++++++---
hwdb.d/60-keyboard.hwdb | 37 ++++++++++++++++++------------------
hwdb.d/70-pointingstick.hwdb | 19 ++++++++++++++----
3 files changed, 59 insertions(+), 26 deletions(-)
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
index ef42637ed7..3fbe7ca8e7 100644
--- a/hwdb.d/60-evdev.hwdb
+++ b/hwdb.d/60-evdev.hwdb
@@ -1,11 +1,34 @@
# This file is part of systemd.
#
+# ########################### MATCHING #######################################
+#
# The lookup keys are composed in:
# 60-evdev.rules
#
-# Match string formats:
-# evdev:<modalias>
-# evdev:name:<device name>:dmi:<dmi string>
+# Supported hardware matches are:
+# - Generic input devices match:
+# evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV
+# This matches on the kernel modalias of the input-device, mainly:
+# ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and
+# WWWW are the 4-digit hex uppercase vendor, product and version ID and VVVV
+# is a variable-length input-modalias describing the device capabilities.
+# The vendor, product and version ID for a device node "eventX" is listed
+# in /sys/class/input/eventX/device/id.
+#
+# - Input driver device name and DMI data match:
+# evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
+# <input device name> is the name device specified by the
+# driver, <vendor> is the firmware-provided string exported
+# by the kernel DMI modalias, see /sys/class/dmi/id/modalias.
+#
+# - Extended input driver device name, properties and DMI data match:
+# evdev:name:<input device name>:phys:<phys>:ev:<ev>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
+# <input device name> is the name device specified by the
+# driver, <phys> is the physical-device-path, "cat
+# /sys/class/input/input?/phys", <ev> is the event bitmask, "cat
+# /sys/class/input/input?/capabilities/ev" and <vendor> is the
+# firmware-provided string exported by the kernel DMI modalias,
+# see /sys/class/dmi/id/modalias.
#
# To add local entries, create a new file
# /etc/udev/hwdb.d/61-evdev-local.hwdb
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index cdf32107a9..9cfc2fb4ec 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -19,14 +19,14 @@
# This matches on the kernel modalias of the input-device, mainly:
# ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and
# WWWW are the 4-digit hex uppercase vendor, product and version ID and VVVV
-# is an arbitrary length input-modalias describing the device capabilities.
+# is a variable-length input-modalias describing the device capabilities.
# The vendor, product and version ID for a device node "eventX" is listed
# in /sys/class/input/eventX/device/id.
#
# - AT keyboard DMI data matches:
# evdev:atkbd:dmi:bvn*:bvr*:bd*:svn<vendor>:pn<product>:pvr*
# <vendor> and <product> are the firmware-provided strings
-# exported by the kernel DMI modalias, see /sys/class/dmi/id/modalias
+# exported by the kernel DMI modalias, see /sys/class/dmi/id/modalias.
#
# - Input driver device name and DMI data match:
# evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
@@ -41,7 +41,22 @@
# /sys/class/input/input?/phys", <ev> is the event bitmask, "cat
# /sys/class/input/input?/capabilities/ev" and <vendor> is the
# firmware-provided string exported by the kernel DMI modalias,
-# see /sys/class/dmi/id/modalias
+# see /sys/class/dmi/id/modalias.
+#
+# To add local entries, create a new file
+# /etc/udev/hwdb.d/61-keyboard-local.hwdb
+# and add your rules there. To load the new rules execute (as root):
+# systemd-hwdb update
+# udevadm trigger /dev/input/eventXX
+# 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
+# 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.
# ######################### KEY MAPPING ######################################
#
@@ -76,22 +91,6 @@
# Examples of such devices: Chromebooks where the top row is used for both
# media and F1-F10 keys.
-# To update this file, create a new file
-# /etc/udev/hwdb.d/70-keyboard.hwdb
-# and add your rules there. To load the new rules execute (as root):
-# systemd-hwdb update
-# udevadm trigger /dev/input/eventXX
-# where /dev/input/eventXX is the keyboard in question. If in
-# doubt, simply reload all input rules
-# udevadm trigger --verbose --sysname-match="event*"
-#
-# If your changes are generally applicable, preferably 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.
-
##########################################
# Acer
##########################################
diff --git a/hwdb.d/70-pointingstick.hwdb b/hwdb.d/70-pointingstick.hwdb
index 00f28c6034..d1e8a7689f 100644
--- a/hwdb.d/70-pointingstick.hwdb
+++ b/hwdb.d/70-pointingstick.hwdb
@@ -4,6 +4,8 @@
# laptop pointingsticks have the same speed / feel, and per model adjustment
# of the IBM TrackPoint driver's sensitivity setting
#
+# ########################### MATCHING #######################################
+#
# The lookup keys are composed in:
# 60-evdev.rules
#
@@ -13,7 +15,7 @@
# This matches on the kernel modalias of the input-device, mainly:
# ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and
# WWW are the 4-digit hex uppercase vendor, product and version ID and VVVV
-# is an arbitrary length input-modalias describing the device capabilities.
+# is a variable-length input-modalias describing the device capabilities.
# The vendor, product and version ID for a device node "eventX" is listed
# in /sys/class/input/eventX/device/id.
#
@@ -21,15 +23,24 @@
# evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*:*
# <input device name> is the name device specified by the driver,
# <vendor> is the firmware-provided string from the kernel DMI modalias,
-# see /sys/class/dmi/id/modalias
+# see /sys/class/dmi/id/modalias.
+#
+# - Extended input driver device name, properties and DMI data match:
+# evdev:name:<input device name>:phys:<phys>:ev:<ev>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
+# <input device name> is the name device specified by the
+# driver, <phys> is the physical-device-path, "cat
+# /sys/class/input/input?/phys", <ev> is the event bitmask, "cat
+# /sys/class/input/input?/capabilities/ev" and <vendor> is the
+# firmware-provided string exported by the kernel DMI modalias,
+# see /sys/class/dmi/id/modalias.
#
# To add local entries, create a new file
# /etc/udev/hwdb.d/71-pointingstick-local.hwdb
# and add your rules there. To load the new rules execute (as root):
# systemd-hwdb update
# udevadm trigger /dev/input/eventXX
-# where /dev/input/eventXX is the pointingstick in question. If in
-# doubt, simply use /dev/input/event* to reload all input rules.
+# where /dev/input/eventXX is the pointingstick 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

View File

@ -0,0 +1,37 @@
From c5ccc8c3a90aae55359216106de1dea62443de21 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Mon, 12 Dec 2022 13:51:38 +0900
Subject: [PATCH] hwdb: also add a generic entry for DualPoint Stick
Also mention Dell DualPoint Stick in the comment.
(cherry picked from commit 1d541ccdb9dc50e99aba9792f9f09474c25643c4)
Related: RHEL-5950
---
hwdb.d/70-pointingstick.hwdb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hwdb.d/70-pointingstick.hwdb b/hwdb.d/70-pointingstick.hwdb
index d1e8a7689f..a78d088173 100644
--- a/hwdb.d/70-pointingstick.hwdb
+++ b/hwdb.d/70-pointingstick.hwdb
@@ -1,8 +1,8 @@
# This file is part of systemd.
#
# Pointingstick const-accel configuration, to make different brand / model
-# laptop pointingsticks have the same speed / feel, and per model adjustment
-# of the IBM TrackPoint driver's sensitivity setting
+# laptop pointingsticks have the same speed / feel, and per model adjustment of
+# the IBM TrackPoint and Dell DualPoint Stick driver's sensitivity setting.
#
# ########################### MATCHING #######################################
#
@@ -90,6 +90,7 @@
# Generic
##########################################
evdev:name:*[tT]rack[pP]oint*:*
+evdev:name:*[dD]ual[pP]oint [sS]tick*:*
ID_INPUT_POINTINGSTICK=1
#########################################

View File

@ -0,0 +1,30 @@
From 62944b09b91be971008b91f2e40b0120aac9695e Mon Sep 17 00:00:00 2001
From: MVZ Ludwigsburg <edv@mvz-labor-lb.de>
Date: Wed, 14 Dec 2022 16:57:24 +0100
Subject: [PATCH] hwdb: Add mount matrix for CSL Panther Tab HD
(cherry picked from commit a76d7acae1cfb9951041b31b3c9db2d8c1ebd8a7)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 89119247fa..07b1c1625e 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -283,6 +283,13 @@ sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo*:pnC3W6_AP108_4GB:*
sensor:modalias:acpi:KIOX000A*:dmi:*:svnConnect:pnTablet9:*
ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+#########################################
+# CSL Computer
+#########################################
+# CSL Panther Tab HD
+sensor:modalias:acpi:KIOX000A*:dmi:*:svnCSL*Computer*:pnCSL*Panther*Tab*HD:*
+ ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
+
#########################################
# Cube
#########################################

View File

@ -0,0 +1,28 @@
From 0590ca8508488c96b55e2faae4721107a41691ef Mon Sep 17 00:00:00 2001
From: mvzlb <edv@mvz-labor-lb.de>
Date: Thu, 15 Dec 2022 11:59:14 +0100
Subject: [PATCH] hwdb: Fix mount matrix for CSL Panther Tab HD (#25752)
Commit a76d7aca sets ACCEL_MOUNT_MATRIX to match the device's casing
(landscape) instead of the LCD panel (portrait).
(cherry picked from commit 109197df7a9b3795e46fc69c99eb7800d2799d2b)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 07b1c1625e..39abf4db19 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -288,7 +288,7 @@ sensor:modalias:acpi:KIOX000A*:dmi:*:svnConnect:pnTablet9:*
#########################################
# CSL Panther Tab HD
sensor:modalias:acpi:KIOX000A*:dmi:*:svnCSL*Computer*:pnCSL*Panther*Tab*HD:*
- ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
#########################################
# Cube

View File

@ -0,0 +1,29 @@
From 26dba2c6c9f1e1fe915f4d54916ed127728937ab Mon Sep 17 00:00:00 2001
From: noodlejetski <noodlejetski@tuta.io>
Date: Tue, 20 Dec 2022 01:57:54 +0100
Subject: [PATCH] hwdb: Fn+F5 fix for MSI Bravo 15-B5DX (#25788)
Closes #25782.
(cherry picked from commit 53a568f327da182164e74eca4892b1f19a3c17b8)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 9cfc2fb4ec..c14ebbe6a2 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1436,6 +1436,10 @@ evdev:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][a
KEYBOARD_KEY_0213=f22
KEYBOARD_KEY_0214=f23
+# MSI Bravo 15-B5DX FnKeys
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*Bravo15B5D*:*
+ KEYBOARD_KEY_f1=f20 # Fn+F5 Micmute
+
##########################################
# NEC
##########################################

View File

@ -0,0 +1,42 @@
From 2b0510710cdccb0c07afe5280bf45354e4f53b0b Mon Sep 17 00:00:00 2001
From: Philipp Jungkamp <p.jungkamp@gmx.net>
Date: Wed, 21 Dec 2022 12:43:49 +0100
Subject: [PATCH] hwdb: change definition of PROXIMITY_NEAR_LEVEL for sensors
The [kernel documentation][0] for the in_proximity_nearlevel sysfs
attribute on iio proximity devices states:
If the value read from the sensor is above or equal to the value in
this file an object should typically be considered near.
Meaning a 'greater than or equal to' comparison.
Make the documentation comment in 60-sensors.hwdb suggest a
greater-or-equal rather than a strict greater-than comparison.
[0]: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio-proximity
Fixes #25793
(cherry picked from commit 71a639db68b0890b1f25f4b18ddf5c4b33e1f23f)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 39abf4db19..6c26b73060 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -45,8 +45,8 @@
# subsystem[1]. The default, when unset, is equivalent to:
# ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, 1
# eg. the identity matrix,
-# and <value> is an integer value above which an object is considered
-# close by a proximity sensor:
+# and <value> is an integer value above or equal to which an object is
+# considered close by a proximity sensor:
# PROXIMITY_NEAR_LEVEL=100
#
# [1]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dfc57732ad38f93ae6232a3b4e64fd077383a0f1

View File

@ -0,0 +1,64 @@
From ef366e62df89c195a3b413df8fd54df3cf7282f2 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Wed, 21 Dec 2022 12:18:52 +0100
Subject: [PATCH] hwdb: Add mic-mute, control-center and screen-rotation
mappings for MSI laptops
The MSI Summit E16 Flip A12UCT laptop sends the following unmapped
atkbd scancodes:
0x91: Launch MSI Control Center
0xf1: Toggle mic mute
0xf2: Rotate screen
The 0x91, 0xf1 and 0xf2 codes are already present in the MSI Prestige/Modern
series specific keymappings and the 0xf1 mapping is also already present in
the MSI Bravo 15-B5DX FnKeys entry.
This shows that these are generic to many MSI models, so add mappings for
these to the generic MSI mappings.
Since the MSI Bravo 15-B5DX FnKeys entry only contains the 0xf1 mapping and
that is covered by the generic MSI mappings now, that entry is removed.
Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/822
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216824
(cherry picked from commit ec6267e8620845bad7b402a0689b425f8ca44fe5)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index c14ebbe6a2..a31beda268 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1385,6 +1385,7 @@ evdev:input:b0003v1532p0200*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*:*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*:*
+ KEYBOARD_KEY_91=config # MSIControl Center
KEYBOARD_KEY_a0=mute # Fn+F9
KEYBOARD_KEY_ae=volumedown # Fn+F7
KEYBOARD_KEY_b0=volumeup # Fn+F8
@@ -1395,6 +1396,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*:*
KEYBOARD_KEY_e4=f21 # Fn+F3 Touchpad disable
KEYBOARD_KEY_ec=email # envelope button
KEYBOARD_KEY_ee=camera # Fn+F6 camera disable
+ KEYBOARD_KEY_f1=f20 # Microphone mute
+ KEYBOARD_KEY_f2=rotate_display # Rotate screen
KEYBOARD_KEY_f6=wlan # satellite dish1
KEYBOARD_KEY_f7=brightnessdown # Fn+F4
KEYBOARD_KEY_f8=brightnessup # Fn+F5
@@ -1436,10 +1439,6 @@ evdev:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][a
KEYBOARD_KEY_0213=f22
KEYBOARD_KEY_0214=f23
-# MSI Bravo 15-B5DX FnKeys
-evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*Bravo15B5D*:*
- KEYBOARD_KEY_f1=f20 # Fn+F5 Micmute
-
##########################################
# NEC
##########################################

View File

@ -0,0 +1,27 @@
From 4cddffc18d44849f58b95692aaecda4b33dea67d Mon Sep 17 00:00:00 2001
From: Hannoskaj <jonas.kahn@protonmail.com>
Date: Mon, 26 Dec 2022 09:43:36 +0100
Subject: [PATCH] Prevents airplane mode toggle for HP Spectre 16
(cherry picked from commit cb6f38b182eecee9878e6103ccfec0e201d4c850)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index a31beda268..4b58a42232 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -605,6 +605,10 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPSpectrex360Convertible13*:*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPENVYx360Convertible13*:*
KEYBOARD_KEY_82=f20 # Microphone mute button, should be micmute
+# Spectre x360 16 2022
+evdev:name:Intel HID events:dmi:bvn*:bvr*:bd*:svnHP*:pn*HP[sS][pP][eE][cC][tT][rR][eE]*x3602-in-1*:*
+ KEYBOARD_KEY_08=unknown # Prevents random airplane mode activation
+
# HP Elite x2 1013 G3
evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHPElitex21013G3:*
KEYBOARD_KEY_f8=unknown # rfkill is also reported by HP Wireless hotkeys

View File

@ -0,0 +1,29 @@
From 85a1f164b2c27da06a4af579d9a25c80f404698b Mon Sep 17 00:00:00 2001
From: Gio <thelookouts@hotmail.com>
Date: Fri, 30 Dec 2022 17:23:50 -0500
Subject: [PATCH] Update 60-sensor.hwdb
Updated DBook D10 / Juno Tablet. Before the bvr (bios version) was hard coded to v1.05. This will read all versions
(cherry picked from commit 8d885b4477ef544093a617027a7a36d34c803479)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 6c26b73060..afb5a79c25 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -362,8 +362,8 @@ sensor:modalias:acpi:INVN6500*:dmi:*svnDell*:pnVenue10Pro5055:*
# DERE
#########################################
-# DBook D10
-sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrJP2V1.05:bd04/27/2022:br1.5:efr1.3:svnDefaultstring:*
+# DBook D10 / Juno Tablet
+sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrJP2V*:svnDefaultstring:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
#########################################

View File

@ -0,0 +1,29 @@
From 5d61cb3deccf93d28c559dc3ce66b30911ea8ebf Mon Sep 17 00:00:00 2001
From: marcel151 <65665570+marcel151@users.noreply.github.com>
Date: Sun, 1 Jan 2023 19:19:19 +0100
Subject: [PATCH] Added Tablet Teclast X98 Air 3G (C5J6)
Latest BIOS of X98 Air 3G has later date, that's why it wasn't recognized. Uses the same Matrix as the X89 (E7ED).
(cherry picked from commit c3950f0a27fb7d2298a2182f21d645c7017f9c0c)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index afb5a79c25..c9d1a2cb90 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -910,6 +910,10 @@ sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX80Pro:*
# Teclast X89 (E7ED), "tPAD" is too generic also match on BIOS date
sensor:modalias:acpi:SMO8500*:dmi:*bd12/19/2014:*:rvnTECLAST:rntPAD:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
+
+# Teclast X98 Air 3G (C5J6), "tPAD" is too generic also match on newest BIOS date
+sensor:modalias:acpi:SMO8500*:dmi:*bd05/05/2015:*:rvnTECLAST:rntPAD:*
+ ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
# Teclast X98 Plus I (A5C6), generic DMI strings, match entire dmi modalias inc. bios-date
# '*' in ":*svn" is there because kernels >= 5.8 have inserted a br field there

View File

@ -0,0 +1,29 @@
From ad2c20200fbcc2c759ac2fda97eec28aabac0c74 Mon Sep 17 00:00:00 2001
From: Luca Boccassi <bluca@debian.org>
Date: Tue, 3 Jan 2023 23:18:43 +0100
Subject: [PATCH] hwdb: remove spurious whitespace
Fixes test failures.
Follow-up for c3950f0a27fb7d2298a2182f21d645c7017f9c0c and
https://github.com/systemd/systemd/pull/25908
(cherry picked from commit de712a85ffb7ea129536b4e14a1f5cb48f7116f7)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index c9d1a2cb90..aa827f97c5 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -910,7 +910,7 @@ sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX80Pro:*
# Teclast X89 (E7ED), "tPAD" is too generic also match on BIOS date
sensor:modalias:acpi:SMO8500*:dmi:*bd12/19/2014:*:rvnTECLAST:rntPAD:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
-
+
# Teclast X98 Air 3G (C5J6), "tPAD" is too generic also match on newest BIOS date
sensor:modalias:acpi:SMO8500*:dmi:*bd05/05/2015:*:rvnTECLAST:rntPAD:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1

View File

@ -0,0 +1,25 @@
From f7b2ec2aba334e37478c1a52b44bb2a67fc3017c Mon Sep 17 00:00:00 2001
From: Dirk Su <dirk.su@canonical.com>
Date: Thu, 5 Jan 2023 17:09:49 +0800
Subject: [PATCH] hwdb: Add Dell models that require ACCEL_LOCATION=base
(cherry picked from commit a554057f2b4bb6c2058ee9c97c407cc4baae9bae)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index aa827f97c5..3aa45b8289 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -348,6 +348,8 @@ sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B0D:*
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B11:*
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C00:*
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C02:*
+sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C41:*
+sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C42:*
ACCEL_LOCATION=base
# Dell Venue 8 Pro 3845

View File

@ -0,0 +1,25 @@
From cc9dd9c99d79767e66f8fc8e30d2e9dcb54ce559 Mon Sep 17 00:00:00 2001
From: drosdeck <edson.drosdeck@gmail.com>
Date: Mon, 9 Jan 2023 11:56:00 -0400
Subject: [PATCH] Fix Positivo MASTER-N1110 key toggle touchpad
(cherry picked from commit 6152de293ae2c363ecc1441129fd0f916cbe40fe)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 4b58a42232..169e3e6f66 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -2026,6 +2026,8 @@ evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:bd*:svnPositivoBahia-VAIO:
###########################################################
# Positivo
###########################################################
+# Positivo MASTER-N1110
+evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:svnPositivoTecnologiaSA:pn*:pvr*:rvnPositivoTecnologiaSA:rnNP11G-E*
# Positivo DUO (k116)
evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:svnPositivoTecnologiaSA:pn*:pvr*:rvnPositivoTecnologiaSA:rnK116*
KEYBOARD_KEY_76=f21 # Fn+F1 toggle touchpad

View File

@ -0,0 +1,27 @@
From 8a07e4a43cca6fbd3476f16a42c187cc733d1706 Mon Sep 17 00:00:00 2001
From: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
Date: Tue, 10 Jan 2023 16:36:51 +0800
Subject: [PATCH] hwdb: Mark Dell platform accel sensor location to base
Dell would like to disable screen rotation for the platform eternally.
Mark the aceel sensor location base to disable it.
(cherry picked from commit 8d4f1337e89eee222ff2e138980681d64e25c053)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 1 +
1 file changed, 1 insertion(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 3aa45b8289..df81942fc8 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -348,6 +348,7 @@ sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B0D:*
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B11:*
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C00:*
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C02:*
+sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C40:*
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C41:*
sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0C42:*
ACCEL_LOCATION=base

View File

@ -0,0 +1,27 @@
From bce0c1d2c621bf7bcbd6bf3bbc6e9cfb9daa4683 Mon Sep 17 00:00:00 2001
From: Spindle Security <114083317+SpindleSec@users.noreply.github.com>
Date: Wed, 11 Jan 2023 09:57:20 +0000
Subject: [PATCH] hwdb: Add mount matrix for Linx 1020
(cherry picked from commit c9c35a3ffa492ffb21022192338ebec8ece79b47)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index df81942fc8..d82dfbdb58 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -652,6 +652,10 @@ sensor:modalias:i2c:bmc150_accel:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:*
sensor:modalias:acpi:BOSC0200*:dmi:*:svnLINX*:pnLINX1010B:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
+# Linx 1020
+sensor:modalias:acpi:MIRAACC*:dmi:*:svnLINX*:pnLINX1020:*
+ ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, -1
+
# Linx 12X64, 12V64 and Vision 8
sensor:modalias:acpi:KIOX000A*:dmi:*:svnLINX*:pnLINX12*64:*
sensor:modalias:acpi:KIOX000A*:dmi:*:svnLINX:pnVISION004:*

View File

@ -0,0 +1,27 @@
From 9fcb49ed8ff849dce45888c5774df009ed59ff32 Mon Sep 17 00:00:00 2001
From: Koba Ko <koba.ko@canonical.com>
Date: Wed, 18 Jan 2023 11:22:50 +0800
Subject: [PATCH] hwdb: Add mic mute key mappings for Dell G16 Series
add Dell G16 series to use the mic mute hotkey.
(cherry picked from commit 9ca3bfb6c4d281bd047659b2891b5ac51c79ab34)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 169e3e6f66..fa20461a6d 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -416,6 +416,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS12-9Q33*:*
KEYBOARD_KEY_88=wlan
KEYBOARD_KEY_65=direction # Screen Rotate
+# Dell G16 microphone mute
+evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnDellG16*:*
# Dell Latitude microphone mute
evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:*
# Dell Precision microphone mute

View File

@ -0,0 +1,31 @@
From 9a989f6b3c4df2f072181a462f52706e1b5a6b92 Mon Sep 17 00:00:00 2001
From: Waltibaba <Waltibaba@users.noreply.github.com>
Date: Fri, 20 Jan 2023 08:38:13 +0100
Subject: [PATCH] hwdb: Add Chuwi Hi10X (N4120 version) iio matrix
There is a later model version of the Chuwi Hi10X that has significantly changed components compared to the existing hwdb one. Differentiator (on Chuwi forums, in thesofproject, etc.) is the N4120 rather than the N4100 processor.
The svn and pn seem to be identical, my Chuwi Hi10X matches with the old model except for the changed KIOX000A* iio sensor.
With the added ACCEL_MOUNT_MATRIX, my device works on gnome and has the correct (right-up) output in monitor-sensors.
(cherry picked from commit 5d288d228d9a80640a2b49fbdf56a6650df6040a)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index d82dfbdb58..31f7bf031d 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -233,6 +233,10 @@ sensor:modalias:acpi:BOSC0200*:dmi:*:svn*CHUWIINNOVATIONANDTECHNOLOGY*:pnHi10pro
sensor:modalias:acpi:MXC6655*:dmi:*:svnCHUWIInnovationAndTechnology*:pnHi10X:*
ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+# Chuwi Hi10 X (N4120 processor version)
+sensor:modalias:acpi:KIOX000A*:dmi:*:svnCHUWIInnovationAndTechnology*:pnHi10X:*
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
+
# Chuwi Hi10 Go
sensor:modalias:acpi:MXC6655*:dmi:*:svnCHUWIINNOVATIONLIMITED:pnHi10Go:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0,-1, 0; 0, 0, 1

View File

@ -0,0 +1,36 @@
From a3b9dbb746d331683f734b820d47abf3595a5a94 Mon Sep 17 00:00:00 2001
From: 13r0ck <brock@szu.email>
Date: Fri, 20 Jan 2023 11:32:27 -0700
Subject: [PATCH] hwdb: Add touchpad toggle mapping for System76 Pangolin 12
(cherry picked from commit 9e2e3342ca5d219085c8f00ef0c2209f0d9b48ec)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index fa20461a6d..6824d5a393 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1831,6 +1831,10 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnSystem76*:pn*:*
KEYBOARD_KEY_f7=f21 # Touchpad toggle
KEYBOARD_KEY_f8=f21 # Touchpad toggle
+# Pangolin 12
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnSystem76*:pnPangolin*:pvrpang12*
+ KEYBOARD_KEY_76=f21 # Touchpad toggle
+
###########################################################
# T-bao
###########################################################
@@ -2028,7 +2032,7 @@ evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:bd*:svnPositivoBahia-VAIO:
###########################################################
# Positivo
###########################################################
-# Positivo MASTER-N1110
+# Positivo MASTER-N1110
evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:svnPositivoTecnologiaSA:pn*:pvr*:rvnPositivoTecnologiaSA:rnNP11G-E*
# Positivo DUO (k116)
evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:svnPositivoTecnologiaSA:pn*:pvr*:rvnPositivoTecnologiaSA:rnK116*

View File

@ -0,0 +1,25 @@
From 6cc507362f90d0c005a33b515620c8237dca0273 Mon Sep 17 00:00:00 2001
From: DaPigGuy <mcpepig123@gmail.com>
Date: Sat, 21 Jan 2023 20:59:28 -0800
Subject: [PATCH] hwdb: Prevent activation of airplane mode on HP ENVY x360
(cherry picked from commit 60eac27a0d52f017a57f07dbf8003aa9672bdec4)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 6824d5a393..47d4583ef2 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -609,6 +609,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPENVYx360Convertible13*:*
# Spectre x360 16 2022
evdev:name:Intel HID events:dmi:bvn*:bvr*:bd*:svnHP*:pn*HP[sS][pP][eE][cC][tT][rR][eE]*x3602-in-1*:*
+# ENVY x360
+evdev:name:Intel HID events:dmi:bvn*:bvr*:bd*:svnHP*:pnHPENVYx360Convertible*:*
KEYBOARD_KEY_08=unknown # Prevents random airplane mode activation
# HP Elite x2 1013 G3

18684
0859-Update-hwdb.patch Normal file

File diff suppressed because it is too large Load Diff

6816
0860-hwdb-update.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,25 @@
From 61eda0a892a8ea8ad8292a51deb6dc0b70c9fa7e Mon Sep 17 00:00:00 2001
From: Luca Boccassi <bluca@debian.org>
Date: Thu, 2 Feb 2023 14:19:45 +0000
Subject: [PATCH] hwdb: update autosuspend db
(cherry picked from commit 93f9b9cc6de35d15a4dc09b5abe4f374aff0038c)
Related: RHEL-5950
---
hwdb.d/60-autosuspend-fingerprint-reader.hwdb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hwdb.d/60-autosuspend-fingerprint-reader.hwdb b/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
index 1af46fe079..a5cc89474f 100644
--- a/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
+++ b/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
@@ -71,7 +71,7 @@ usb:v08FFp5731*
ID_PERSIST=0
# Supported by libfprint driver aes4000
-usb:v5501p08FF*
+usb:v08FFp5501*
ID_AUTOSUSPEND=1
ID_PERSIST=0

View File

@ -0,0 +1,33 @@
From da5c9de6ed20219ae616080c9146735426f296d3 Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Date: Mon, 6 Feb 2023 09:59:02 +0900
Subject: [PATCH] hwdb: ieee1394-unit-function: add MOTU 896 mk3 Hybrid
This commit adds hwdb entry for MOTU 896 mk3 Hybrid.
Reference: https://lore.kernel.org/alsa-devel/63DF98FE.2060604@gmx.de/
(cherry picked from commit e478f8c04cd70821be470e848bfc27959c320b37)
Related: RHEL-5950
---
hwdb.d/80-ieee1394-unit-function.hwdb | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/hwdb.d/80-ieee1394-unit-function.hwdb b/hwdb.d/80-ieee1394-unit-function.hwdb
index 6fa1329171..cf55f5524c 100644
--- a/hwdb.d/80-ieee1394-unit-function.hwdb
+++ b/hwdb.d/80-ieee1394-unit-function.hwdb
@@ -1094,6 +1094,13 @@ ieee1394:ven000001F2mo*sp000001F2ver00000035
IEEE1394_UNIT_FUNCTION_MIDI=1
IEEE1394_UNIT_FUNCTION_AUDIO=1
+ieee1394:node:ven0x0001f2units0x0001f2:0x000037
+ieee1394:ven000001F2mo00102800sp000001F2ver00000037
+ ID_VENDOR_FROM_DATABASE=MOTU
+ ID_MODEL_FROM_DATABASE=MOTU 896 mk3 Hybrid
+ IEEE1394_UNIT_FUNCTION_MIDI=1
+ IEEE1394_UNIT_FUNCTION_AUDIO=1
+
ieee1394:node:ven0x0001f2units0x0001f2:0x000039
ieee1394:ven000001F2mo*sp000001F2ver00000039
ID_VENDOR_FROM_DATABASE=MOTU

View File

@ -0,0 +1,28 @@
From 0941a15e9e9eab3a3756d1ceb8c347a351b23f54 Mon Sep 17 00:00:00 2001
From: Darrell Kavanagh <darrell.kavanagh@gmail.com>
Date: Sun, 5 Feb 2023 20:57:12 +0000
Subject: [PATCH] Add hwdb sensor entry for Lenovo IdeaPad Duet 3 10IGL5
(82AT).
(cherry picked from commit 6823b5bb99b605090d967d08586a4ce8fd5f989f)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 31f7bf031d..044fecdb38 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -648,6 +648,10 @@ sensor:modalias:i2c:bmc150_accel:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, -1
ACCEL_LOCATION=base
+# IdeaPad Duet 3 10IGL5 (82AT)
+sensor:modalias:acpi:SMO8B30*:dmi:*:svnLENOVO*:pn82AT:*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
+
#########################################
# LINX
#########################################

View File

@ -0,0 +1,27 @@
From ef23e50fe362d6d9fe20101a72c75ab976ad6502 Mon Sep 17 00:00:00 2001
From: drosdeck <edson.drosdeck@gmail.com>
Date: Tue, 7 Feb 2023 09:14:59 -0300
Subject: [PATCH] Fix Positivo-vaio VJPW12F11X key toggle touchpad
(cherry picked from commit 2f2d948293b8d025d8288384672369bda5b66528)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 47d4583ef2..aff83846ad 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -2025,8 +2025,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnViewSonic:pnVPAD10:*
###########################################################
# Positivo-Vaio
###########################################################
-# Vaio Pro (VJPW11F11X)
-evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:bd*:svnPositivoBahia-VAIO:pnVJPW11F11X*:pvr*:*
+# Vaio Pro (VJPW11F11X, VJPW12F11X)
+evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:bd*:svnPositivoBahia-VAIO:pnVJPW1[12]F11X*:pvr*:*
# Vaio FE14 (VJFE41F11X, VJE42F11X, VJFE44F11X, VJFE54F11X)
evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:bd*:svnPositivoBahia-VAIO:pnVJFE*:pvr*:*
KEYBOARD_KEY_76=f21 # Fn+F1 toggle touchpad

View File

@ -0,0 +1,27 @@
From ec182b589d98e8a5a363dd4c4edd4d28d947f68b Mon Sep 17 00:00:00 2001
From: Fabian Gurtner <fabian.paul.gurtner@gmail.com>
Date: Thu, 2 Feb 2023 10:28:23 +0100
Subject: [PATCH] hwdb: Add HP Envy x360 Convertible 15-cn0xxx to existing
entry
(cherry picked from commit 11c0f0659ecd82572c2dc83f3b34493a36dcd954)
Related: RHEL-5950
---
hwdb.d/60-evdev.hwdb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
index 3fbe7ca8e7..7a969a84b5 100644
--- a/hwdb.d/60-evdev.hwdb
+++ b/hwdb.d/60-evdev.hwdb
@@ -462,7 +462,8 @@ evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnHP:pnHPSpectreNotebook:*
EVDEV_ABS_36=1083:4808:65
# HP Envy x360
-evdev:name:SynPS/2 Synaptics TouchPad:*svnHP:pnHPENVYx360Convertible15m-cn0xxx:*
+evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnHP:pnHPENVYx360Convertible15m-cn0xxx:*
+evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnHP:pnHPENVYx360Convertible15-cn0xxx**
EVDEV_ABS_00=1302:5640:36
EVDEV_ABS_01=1119:4741:61
EVDEV_ABS_35=1302:5640:36

View File

@ -0,0 +1,40 @@
From cb93af7aad70aa975571a8a13ba5542e9759871c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Wed, 8 Feb 2023 17:31:45 +0100
Subject: [PATCH] hwdb: add override for IdeaPad5 insert key
Fixes #25968.
I wrote the rule to assume that all IdeaPad5 thingies are like that.
(cherry picked from commit 45062a62ac6c888327d57c585f1cc2c47a5bfd2c)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index aff83846ad..bf3588246f 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -935,7 +935,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*3000*:*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn0769AP2:pvr3000N200:*
KEYBOARD_KEY_b4=prog1
-# lenovo-ideapad
+# Lenovo IdeaPad
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*:*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnS10-*:*
KEYBOARD_KEY_81=rfkill # does nothing in BIOS
@@ -946,6 +946,10 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnS10-*:*
KEYBOARD_KEY_f2=f21 # touchpad toggle (key alternately emits F2 and F3)
KEYBOARD_KEY_f3=f21
+# Lenovo IdeaPad 5
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrIdeaPad5*:*
+ KEYBOARD_KEY_81=insert
+
# Thinkpad X200_Tablet
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet*:*
KEYBOARD_KEY_5d=menu

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,27 @@
From a8921f88152298edd3dce57d9b2ac2ebee711eb6 Mon Sep 17 00:00:00 2001
From: Jean-Tiare Le Bigot <jt@yadutaf.fr>
Date: Tue, 14 Feb 2023 23:40:38 +0100
Subject: [PATCH] hwdb: Add HP ENVY x360 2-in-1
Since #26144, RFKILL events are disabled for HP ENVY x360 Convertible.
This commit adds a variation of the name.
(cherry picked from commit 112f81a547bb5cc4f3dbbfd11456377de870196b)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 1 +
1 file changed, 1 insertion(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index bf3588246f..10dde4dbec 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -611,6 +611,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPENVYx360Convertible13*:*
evdev:name:Intel HID events:dmi:bvn*:bvr*:bd*:svnHP*:pn*HP[sS][pP][eE][cC][tT][rR][eE]*x3602-in-1*:*
# ENVY x360
evdev:name:Intel HID events:dmi:bvn*:bvr*:bd*:svnHP*:pnHPENVYx360Convertible*:*
+evdev:name:Intel HID events:dmi:bvn*:bvr*:bd*:svnHP*:pnHPENVYx3602-in-1*:*
KEYBOARD_KEY_08=unknown # Prevents random airplane mode activation
# HP Elite x2 1013 G3

2033
0869-hwdb-update.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,29 @@
From 357d802b6960e5cd9e97752992dd7a8831dd746c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADt=20Zikmund?=
<75443448+vit-zikmund@users.noreply.github.com>
Date: Wed, 22 Feb 2023 08:27:17 +0100
Subject: [PATCH] hwdb: fix swapped buttons for Logitech Lift left
(cherry picked from commit 81cfea95e51c72da6765b517e7038b3e7e3dec9f)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 10dde4dbec..6ab1468052 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1328,6 +1328,11 @@ evdev:input:b0003v046DpC309*
KEYBOARD_KEY_c01b6=images # My Pictures (F11)
KEYBOARD_KEY_c01b7=audio # My Music (F12)
+# Logitech USB Receiver Mouse (Lift for Business, left-handed)
+# This left-handed ergonomic mouse swaps the left/right buttons
+evdev:input:b0003v046DpC548e0111*
+ KEYBOARD_KEY_90001=btn_right
+ KEYBOARD_KEY_90002=btn_left
###########################################################
# Maxdata

View File

@ -0,0 +1,35 @@
From 36dcbfae2b73bc541a0f94780b28c3d5e2cdb1e7 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Sun, 5 Mar 2023 13:01:35 +0900
Subject: [PATCH] Revert "hwdb: fix swapped buttons for Logitech Lift left"
This reverts commit 81cfea95e51c72da6765b517e7038b3e7e3dec9f.
The modalias seems to match a generic Logitech USB receiver even the
connected mouce is not for left hand.
Fixes #26671 and #26676.
(cherry picked from commit ae9f36397f45dff8e2181c6af5f763e51a7c9639)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 5 -----
1 file changed, 5 deletions(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 6ab1468052..10dde4dbec 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1328,11 +1328,6 @@ evdev:input:b0003v046DpC309*
KEYBOARD_KEY_c01b6=images # My Pictures (F11)
KEYBOARD_KEY_c01b7=audio # My Music (F12)
-# Logitech USB Receiver Mouse (Lift for Business, left-handed)
-# This left-handed ergonomic mouse swaps the left/right buttons
-evdev:input:b0003v046DpC548e0111*
- KEYBOARD_KEY_90001=btn_right
- KEYBOARD_KEY_90002=btn_left
###########################################################
# Maxdata

View File

@ -0,0 +1,31 @@
From 2e4767b2d056bd18cfa6cc6577f771d5c1dce7a1 Mon Sep 17 00:00:00 2001
From: tofylion <tofy2001@hotmail.com>
Date: Mon, 13 Mar 2023 18:27:02 +0000
Subject: [PATCH] hwdb: update 70-mouse.hwdb (#26782)
Add Logitech G502 X wired and wireless configurations with correct pid and vid.
(cherry picked from commit dede07d3d04007c70c78653a73e2bcd8616564a5)
Related: RHEL-5950
---
hwdb.d/70-mouse.hwdb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hwdb.d/70-mouse.hwdb b/hwdb.d/70-mouse.hwdb
index 4084019bde..463f0ad30b 100644
--- a/hwdb.d/70-mouse.hwdb
+++ b/hwdb.d/70-mouse.hwdb
@@ -388,6 +388,12 @@ mouse:usb:v046dpc08b:name:Logitech G502 HERO SE:*
mouse:usb:v046dpc08b:name:Logitech G502 HERO Gaming Mouse:*
MOUSE_DPI=1200@1000 *2400@1000 3200@1000 6400@1000
+# Logitech G502 X (Wired)
+mouse:usb:v046dpc098:name:Logitech, Inc. G502 X LIGHTSPEED:*
+# Logitech G502 X (Wireless)
+mouse:usb:v046dpc547:name:Logitech USB Receiver:*
+ MOUSE_DPI=1200@1000 *2400@1000 3200@1000 6400@1000
+
# Logitech G700 Laser Mouse (Wired)
mouse:usb:v046dpc06b:name:Logitech G700 Laser Mouse:*
# Logitech G700 Laser Mouse (Wireless)

View File

@ -0,0 +1,34 @@
From b724d421272dd06252b1fa180a990696999658c4 Mon Sep 17 00:00:00 2001
From: EinBaum <mail@einbaum.org>
Date: Tue, 14 Mar 2023 10:41:21 +0200
Subject: [PATCH] hwdb: 60-keyboard.hwdb: Fix modalias for Thinkpad X200 Tablet
(#26795)
This fixes the tablet buttons on the Thinkpad X200 Tablet.
My Lenovo ThinkPad X200 Tablet is called "ThinkPadX200T" instead of "ThinkPadX200Tablet":
```
$ cat /sys/devices/virtual/dmi/id/modalias
dmi:bvnLENOVO:bvr7WET71WW(3.21):bd11/29/2012:br3.33:efr1.6:svnLENOVO:pn7453WVK:pvrThinkPadX200T:rvnLENOVO:rn7453WVK:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:sku:
```
This patch makes both strings work correctly to support the extra tablet keys.
(cherry picked from commit a5c0ad9a9a2964079a19a1db42f79570a3582bee)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 10dde4dbec..0037d02be1 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -952,7 +952,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrIdeaPad5*:*
KEYBOARD_KEY_81=insert
# Thinkpad X200_Tablet
-evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*Tablet*:*
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*T*:*
KEYBOARD_KEY_5d=menu
KEYBOARD_KEY_63=fn
KEYBOARD_KEY_66=screenlock

View File

@ -0,0 +1,32 @@
From 8d781c37008c8f6db55eb7b87e46eebbdd4b2e14 Mon Sep 17 00:00:00 2001
From: bri <284789+b-@users.noreply.github.com>
Date: Sat, 11 Mar 2023 17:38:35 -0500
Subject: [PATCH] Add rebrands of Medion Akoya notebooks/tablets
(cherry picked from commit d6c623e88446e819b999c12b53be5e8c977f9f08)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 044fecdb38..2c19ab33d6 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -704,12 +704,15 @@ sensor:modalias:acpi:KIOX000A*:dmi:*svnMEDION:pnE2215TMD60198:*
sensor:modalias:acpi:KIOX010A*:dmi:*:svnMEDION:pnE*:*
# Medion Akoya E3222 MD62450
sensor:modalias:acpi:KIOX010A*:dmi:*:svnMEDION:pnMEDION*:*
+# and rebrands of the above
+sensor:modalias:acpi:KIOX010A*:dmi:*:rvnMEDION:rnMEDION*:*
ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
ACCEL_LOCATION=display
# Same as above, but for base sensor
sensor:modalias:acpi:KIOX020A*:dmi:*:svnMEDION:pnE*:*
sensor:modalias:acpi:KIOX020A*:dmi:*:svnMEDION:pnMEDION*:*
+sensor:modalias:acpi:KIOX020A*:dmi:*:rvnMEDION:rnMEDION*:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
ACCEL_LOCATION=base

View File

@ -0,0 +1,32 @@
From 1be2a8c37f3d21a72538a234add5ac601b90abc5 Mon Sep 17 00:00:00 2001
From: taniishkaaa <109246904+taniishkaaa@users.noreply.github.com>
Date: Sun, 19 Mar 2023 10:46:00 +0530
Subject: [PATCH] hwdb: fix Wifi toggling for Haier 7G-Series/JWU (#25293)
(#26878)
(cherry picked from commit c22dcc80d0210caf90103f6b6f1b4d26c720ed1a)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 0037d02be1..f638023f76 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -549,6 +549,14 @@ evdev:input:b0003v18D1p8001*
evdev:input:b0003v18D1p8007*
KEYBOARD_KEY_b002f=reserved # Disable micmute key
+###########################################################
+# Haier
+###########################################################
+
+# 7G-Series
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHaierComputer:pn7G-Series:*
+ KEYBOARD_KEY_91=wlan
+
###########################################################
# Hewlett Packard
###########################################################

View File

@ -0,0 +1,48 @@
From 0cc59adf93dba68fc08d736e69d7635d0e595291 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Fri, 24 Mar 2023 17:25:59 +0100
Subject: [PATCH] hwdb: drop boilerplate about match patterns in two more cases
Follow-up for adbe000e3df5f91572bf4a77a2acd84ff5b87320.
Somehow I missed those two files.
(cherry picked from commit 61b69bec8e37f4316019a8fba4ccb5af3470b72f)
Related: RHEL-5950
---
hwdb.d/70-joystick.hwdb | 5 -----
hwdb.d/70-touchpad.hwdb | 5 -----
2 files changed, 10 deletions(-)
diff --git a/hwdb.d/70-joystick.hwdb b/hwdb.d/70-joystick.hwdb
index 9d5c4fc069..8e942c8c1b 100644
--- a/hwdb.d/70-joystick.hwdb
+++ b/hwdb.d/70-joystick.hwdb
@@ -5,11 +5,6 @@
# The lookup keys are composed in:
# 70-joystick.rules
#
-# Note: The format of the "joystick:" prefix match key is a
-# contract between the rules file and the hardware data, it might
-# change in later revisions to support more or better matches, it
-# is not necessarily expected to be a stable ABI.
-#
# Match string format:
# joystick:<bustype>:v<vid>p<pid>:name:<name>:
#
diff --git a/hwdb.d/70-touchpad.hwdb b/hwdb.d/70-touchpad.hwdb
index 8194d98358..262bca3a19 100644
--- a/hwdb.d/70-touchpad.hwdb
+++ b/hwdb.d/70-touchpad.hwdb
@@ -5,11 +5,6 @@
# The lookup keys are composed in:
# 70-touchpad.rules
#
-# Note: The format of the "touchpad:" prefix match key is a
-# contract between the rules file and the hardware data, it might
-# change in later revisions to support more or better matches, it
-# is not necessarily expected to be a stable ABI.
-#
# Match string format:
# touchpad:<subsystem>:v<vid>p<pid>:name:<name>:
#

View File

@ -0,0 +1,52 @@
From c288c8aa700a86a5d46fed73fbcf42871de02d99 Mon Sep 17 00:00:00 2001
From: taniishkaaa <109246904+taniishkaaa@users.noreply.github.com>
Date: Sat, 25 Mar 2023 16:11:07 +0530
Subject: [PATCH] hwdb: Fix incorrect touchpad dimensions on Thinkpad L14 Gen1
(#26937)
Closes #22793.
(cherry picked from commit ff155c81620bc4e1ccce27d4d5194707048d8143)
Related: RHEL-5950
---
hwdb.d/60-evdev.hwdb | 7 +++++++
hwdb.d/70-touchpad.hwdb | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
index 7a969a84b5..56cb3d3636 100644
--- a/hwdb.d/60-evdev.hwdb
+++ b/hwdb.d/60-evdev.hwdb
@@ -583,6 +583,13 @@ evdev:input:b0003v17EFp60B5*
EVDEV_ABS_35=::12
EVDEV_ABS_36=::11
+# Lenovo Thinkpad L14 Gen1 (AMD)
+evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO:*pvrThinkPadL14Gen1**
+ EVDEV_ABS_00=::44
+ EVDEV_ABS_01=::50
+ EVDEV_ABS_35=::44
+ EVDEV_ABS_36=::50
+
# Lenovo T460
evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*T460:*
EVDEV_ABS_00=1266:5677:44
diff --git a/hwdb.d/70-touchpad.hwdb b/hwdb.d/70-touchpad.hwdb
index 262bca3a19..a87b91ffd2 100644
--- a/hwdb.d/70-touchpad.hwdb
+++ b/hwdb.d/70-touchpad.hwdb
@@ -51,6 +51,13 @@ touchpad:usb:v05acp0265:*
touchpad:usb:v044ep1221:*
ID_INPUT_TOUCHPAD_INTEGRATION=external
+###########################################################
+# Lenovo
+###########################################################
+# Thinkpad L14 Gen1 (AMD)
+touchpad:usb:v06cbp0081:*
+ ID_INPUT_TOUCHPAD_INTEGRATION=internal
+
###########################################################
# Logitech
###########################################################

View File

@ -0,0 +1,35 @@
From 37694160594aeaea59b4a0e434344b1dd1962979 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Sun, 26 Mar 2023 09:44:48 +0900
Subject: [PATCH] hwdb: drop redundant entry
Follow-up for ff155c81620bc4e1ccce27d4d5194707048d8143.
The entry already matches with the generic rule defined at the beginning
of the hwdb file.
(cherry picked from commit 596ac132fb13943a291fb4150c234a1f856e7e8f)
Related: RHEL-5950
---
hwdb.d/70-touchpad.hwdb | 7 -------
1 file changed, 7 deletions(-)
diff --git a/hwdb.d/70-touchpad.hwdb b/hwdb.d/70-touchpad.hwdb
index a87b91ffd2..262bca3a19 100644
--- a/hwdb.d/70-touchpad.hwdb
+++ b/hwdb.d/70-touchpad.hwdb
@@ -51,13 +51,6 @@ touchpad:usb:v05acp0265:*
touchpad:usb:v044ep1221:*
ID_INPUT_TOUCHPAD_INTEGRATION=external
-###########################################################
-# Lenovo
-###########################################################
-# Thinkpad L14 Gen1 (AMD)
-touchpad:usb:v06cbp0081:*
- ID_INPUT_TOUCHPAD_INTEGRATION=internal
-
###########################################################
# Logitech
###########################################################

View File

@ -0,0 +1,34 @@
From 2373bed279b8f524103587030f3208a786ff4b2c Mon Sep 17 00:00:00 2001
From: taniishkaaa <109246904+taniishkaaa@users.noreply.github.com>
Date: Sun, 26 Mar 2023 20:22:31 +0530
Subject: [PATCH] hwdb: Fixed thumb buttons reversed on CHERRY MW 2310 (#26992)
Fixes #12914.
(cherry picked from commit f33c1c49a5b29e530cdc134669fe978337356528)
Related: RHEL-5950
---
hwdb.d/70-mouse.hwdb | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/hwdb.d/70-mouse.hwdb b/hwdb.d/70-mouse.hwdb
index 463f0ad30b..e0a94541e4 100644
--- a/hwdb.d/70-mouse.hwdb
+++ b/hwdb.d/70-mouse.hwdb
@@ -153,6 +153,15 @@ mouse:*:name:*TrackBall*:*
mouse:bluetooth:v05acp030d:name:*:*
MOUSE_DPI=1300@1000
+##########################################
+# Cherry
+##########################################
+
+# Cherry MW 2310
+mouse:usb:v1A81p1701:name:G-Tech Wireless Dongle Mouse:*
+ KEYBOARD_KEY_90005=back
+ KEYBOARD_KEY_90004=forward
+
##########################################
# Chicony
##########################################

View File

@ -0,0 +1,44 @@
From c3b477bc272ad5f4eb6eb157e5accadca2313d19 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Mon, 27 Mar 2023 16:34:22 +0200
Subject: [PATCH] hwdb: Move MSI touchpad-toggle mapping to generic MSI section
Like other MSI laptops the MSI Summit E16 Flip A12UCT laptop also send
atkbd scancode 0x76 for the Fn + F4 touchpad-toggle hotkey combo.
Move the existing mapping for this from the MSI Prestige And MSI Modern
section to the generic MSI laptop section.
While at it also drop the KEYBOARD_KEY_f1=f20 mapping from
the MSI Prestige And MSI Modern section, as that is already listed
in the generic MSI laptop section.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216824
(cherry picked from commit 4e3a50169bef2952544cd6418d9ffd5075202ca2)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index f638023f76..7195217bcd 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1406,6 +1406,7 @@ evdev:input:b0003v1532p0200*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*:*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*:*
+ KEYBOARD_KEY_76=f21 # Toggle touchpad, sends meta+ctrl+toggle
KEYBOARD_KEY_91=config # MSIControl Center
KEYBOARD_KEY_a0=mute # Fn+F9
KEYBOARD_KEY_ae=volumedown # Fn+F7
@@ -1446,8 +1447,6 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:*
# Keymaps MSI Prestige And MSI Modern FnKeys and Special keys
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*Prestige*:*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*Modern*:*
- KEYBOARD_KEY_f1=f20 # Fn+F5 Micmute
- KEYBOARD_KEY_76=f21 # Fn+F4 Toggle touchpad, sends meta+ctrl+toggle
KEYBOARD_KEY_91=prog1 # Fn+F7 Creation Center, sometime F7
KEYBOARD_KEY_f2=prog2 # Fn+F12 Screen rotation
KEYBOARD_KEY_8d=prog3 # Fn+A Change True Color selections

View File

@ -0,0 +1,71 @@
From d8d507ee40c366f744458ee96c5f174e59d8bb4b Mon Sep 17 00:00:00 2001
From: dmkUK <128807550+dmkUK@users.noreply.github.com>
Date: Mon, 3 Apr 2023 00:09:11 +0100
Subject: [PATCH] update 60-sensor.hwdb with toshiba tablet (#27103)
* update 60-sensor.hwdb with toshiba tablet
udevadm output after new matrix added
E: MODALIAS=dmi:bvnTOSHIBA:bvr2.00:bd01/09/2015:br2.0:efr19.0:svnTOSHIBA:pnTOSHIBAWT10-A-102:pvrPDW0BE-00800TEN:rvnType2-BoardManufacturer:rnType2-BoardProductName:rvrType2-BoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
P: /devices/platform/80860F41:02/i2c-2/i2c-13/13-000c
L: 0
E: DEVPATH=/devices/platform/80860F41:02/i2c-2/i2c-13/13-000c
E: SUBSYSTEM=i2c
E: MODALIAS=i2c:INVN6500-client
P: /devices/platform/80860F41:02/i2c-2/i2c-INVN6500:00
L: 0
E: DEVPATH=/devices/platform/80860F41:02/i2c-2/i2c-INVN6500:00
E: SUBSYSTEM=i2c
E: DRIVER=inv-mpu6050-i2c
E: MODALIAS=acpi:INVN6500:
E: USEC_INITIALIZED=8659532
E: ID_VENDOR_FROM_DATABASE=Inviso, Inc.
P: /devices/platform/80860F41:02/i2c-2/i2c-INVN6500:00/iio:device0
N: iio:device0
L: 0
E: DEVPATH=/devices/platform/80860F41:02/i2c-2/i2c-INVN6500:00/iio:device0
E: SUBSYSTEM=iio
E: DEVNAME=/dev/iio:device0
E: DEVTYPE=iio_device
E: MAJOR=246
E: MINOR=0
E: USEC_INITIALIZED=9662385
E: ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
E: IIO_SENSOR_PROXY_TYPE=iio-poll-accel iio-buffer-accel
E: SYSTEMD_WANTS=iio-sensor-proxy.service
E: TAGS=:systemd:
E: CURRENT_TAGS=:systemd:
P: /devices/platform/80860F41:02/i2c-2/i2c-INVN6500:00/trigger0
L: 0
E: DEVPATH=/devices/platform/80860F41:02/i2c-2/i2c-INVN6500:00/trigger0
E: SUBSYSTEM=iio
The orientation is the same as the WT10-A-103 already listed in 60.sensor.hwdb but not picked up by that rule.
(cherry picked from commit dc2b3f94690bc02c2c1b6bdeca0d362f3639d7f0)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 2c19ab33d6..e142dc5544 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -963,6 +963,10 @@ sensor:modalias:acpi:INVN6500*:dmi:*:svnTOSHIBA:pnTOSHIBAENCORE2WT8-B:*
sensor:modalias:acpi:INVN6500*:dmi:*:svnTOSHIBA:pnTOSHIBAWT10-A-103:*
ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
+# Toshiba Encore WT10A-102 tablet
+sensor:modalias:acpi:INVN6500*:dmi:*:svnTOSHIBA:pnTOSHIBAWT10-A-102:*
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
+
#########################################
# Trekstor
#########################################

View File

@ -0,0 +1,33 @@
From fbf6a9e726b00334a1cd9b87341ccf09ceaf8137 Mon Sep 17 00:00:00 2001
From: Dmitrii Fomchenkov <fomchenkovda@basealt.ru>
Date: Fri, 7 Apr 2023 09:44:36 +0300
Subject: [PATCH] hwdb: Add support for "Passion Model P612F"
Add hwdb sensor entry for device Passion with accelerometer "MXC6655".
(cherry picked from commit b84b9f04145ce75d3ed768b28eb793b89465feed)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index e142dc5544..242edb9119 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -808,6 +808,14 @@ sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvr5.12:bd07/17/201
sensor:modalias:acpi:BMI0160*:dmi:*:rnONEXPLAYER:rvrV01:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
+#########################################
+# Passion
+#########################################
+
+# Passion P612F
+sensor:modalias:acpi:MXC6655*:dmi:*:svnDefaultstring*:pnP612F:*
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
+
#########################################
# Peaq
#########################################

View File

@ -0,0 +1,95 @@
From 062c04eba965073ae76e641062afe053667772d2 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Tue, 11 Apr 2023 19:20:49 +0900
Subject: [PATCH] hwdb: fix ambiguous glob pattern for Lenovo machines
Fixes #27195.
Follow-up for a5c0ad9a9a2964079a19a1db42f79570a3582bee.
(cherry picked from commit 19db450f3a243fcaf0949beebafc3025f8e3a98e)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 7195217bcd..82f3aaf051 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -933,7 +933,7 @@ evdev:input:b0003v17EFp6009*
KEYBOARD_KEY_090010=f20 # Microphone mute button; should be micmute
# Lenovo 3000
-evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*3000*:*
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*3000*:pvr*
KEYBOARD_KEY_8b=switchvideomode # Fn+F7 video
KEYBOARD_KEY_96=wlan # Fn+F5 wireless
KEYBOARD_KEY_97=sleep # Fn+F4 suspend
@@ -945,7 +945,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO:pn0769AP2:pvr3000N200:*
KEYBOARD_KEY_b4=prog1
# Lenovo IdeaPad
-evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*:*
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*:pvr*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnS10-*:*
KEYBOARD_KEY_81=rfkill # does nothing in BIOS
KEYBOARD_KEY_83=display_off # BIOS toggles screen state
@@ -960,7 +960,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrIdeaPad5*:*
KEYBOARD_KEY_81=insert
# Thinkpad X200_Tablet
-evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*T*:*
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*T*:rvn*
KEYBOARD_KEY_5d=menu
KEYBOARD_KEY_63=fn
KEYBOARD_KEY_66=screenlock
@@ -969,7 +969,7 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X2*T*:*
KEYBOARD_KEY_6c=direction # rotate screen
# ThinkPad X6 Tablet
-evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X6*Tablet*:*
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:pvrThinkPad*X6*Tablet*:rvn*
KEYBOARD_KEY_6c=direction # rotate
KEYBOARD_KEY_68=leftmeta # toolbox
KEYBOARD_KEY_6b=esc # escape
@@ -993,20 +993,20 @@ evdev:name:Ideapad extra buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:*
KEYBOARD_KEY_42=f23
KEYBOARD_KEY_43=f22
-evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*Y550*:*
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*Y550*:pvr*
KEYBOARD_KEY_95=media
KEYBOARD_KEY_a3=play
-evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*U300s*:*
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*U300s*:pvr*
KEYBOARD_KEY_f1=f21
KEYBOARD_KEY_ce=f20 # micmute
-evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPad*Z370*:*
+evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPad*Z370*:pvr*
KEYBOARD_KEY_a0=!mute
KEYBOARD_KEY_ae=!volumedown
KEYBOARD_KEY_b0=!volumeup
-evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPadFlex5*:*
+evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPadFlex5*:pvr*
KEYBOARD_KEY_a0=!mute
KEYBOARD_KEY_ae=!volumedown
KEYBOARD_KEY_b0=!volumeup
@@ -1025,11 +1025,11 @@ evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:pn81Q7*:pvrLenovoYogaS940:*
KEYBOARD_KEY_b0=!volumeup
# Lenovo Y50-70
-evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*20378*:*
+evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*20378*:pvr*
KEYBOARD_KEY_f3=f21 # Fn+F6 (toggle touchpad)
# V480
-evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*Lenovo*V480*:*
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*Lenovo*V480*:pvr*
KEYBOARD_KEY_f1=f21
# Lenovo ThinkCentre M800z/M820z/M920z AIO machines

View File

@ -0,0 +1,26 @@
From 83e728ccc7fa32d1c1b191002720047bc41e38c1 Mon Sep 17 00:00:00 2001
From: Bill Peterson <albedozero@gmail.com>
Date: Tue, 11 Apr 2023 09:11:16 -0500
Subject: [PATCH] hwdb: add matrix for Asus BR1100F (#27197)
(cherry picked from commit 5f8a9e6905305af88b125ed3d07b20085b8e74da)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 242edb9119..bbc0533c13 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -171,6 +171,9 @@ sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LAB:*
sensor:modalias:acpi:BOSC0200*:dmi:*svn*ASUSTeK*:*pn*TP412UA:*
ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1
+sensor:modalias:acpi:BOSC0200*:dmi:*svn*ASUSTeK*:pn*BR1100FKA:*
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, -1
+
#########################################
# Axxo
#########################################

View File

@ -0,0 +1,31 @@
From 72f71eed79774793d09a69971a2ea8066c473862 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 16 Apr 2023 15:57:55 +0200
Subject: [PATCH] hwdb: add accelerometer mount matrix for Lenovo Yoga Tablet 2
851F/L
Add an accelerometer mount matrix for Lenovo Yoga Tablet 2 851F/L, to fix
screen rotation now that the kernel has support for the LSM303D IMU.
(cherry picked from commit d4249582fd01aec5f9c7085f032f005ec2235471)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index bbc0533c13..038e9dc013 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -651,6 +651,10 @@ sensor:modalias:i2c:bmc150_accel:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, -1
ACCEL_LOCATION=base
+# Yoga Tablet 2 851F/L
+sensor:modalias:acpi:ACCL0001*:dmi:*:svnLENOVO:pn60072:pvr851*:*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
+
# IdeaPad Duet 3 10IGL5 (82AT)
sensor:modalias:acpi:SMO8B30*:dmi:*:svnLENOVO*:pn82AT:*
ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1

View File

@ -0,0 +1,32 @@
From 6b68ba1be1931affb558713af303f27f400e7229 Mon Sep 17 00:00:00 2001
From: Paolo Velati <paolo.velati@gmail.com>
Date: Mon, 17 Apr 2023 20:27:28 +0000
Subject: [PATCH] hwdb: Fix rotation for BMAX Y13
(cherry picked from commit d5fbaa965e925f146363d2ae8ccad90bcbb5960d)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 038e9dc013..ebf8c718a7 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -192,6 +192,15 @@ sensor:modalias:acpi:BMI0160*:dmi:*:svnAYANEO:pnAIR*:*
sensor:modalias:acpi:BMI0160*:dmi:*:svnAYANEO:pn*NEXT*:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
+#########################################
+# BMAX
+#########################################
+
+# BMAX Y13
+sensor:modalias:acpi:KIOX010A:*:dmi:*:svnAMI:*:skuH2M6:*
+ ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
+ ACCEL_LOCATION=display
+
#########################################
# Chuwi
#########################################

View File

@ -0,0 +1,31 @@
From 121547c047d9a2026bfaf36e926ba60885d957a7 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Wed, 19 Apr 2023 22:05:43 +0900
Subject: [PATCH] hwdb: disable entry for Logitech USB receiver used by G502 X
Fixes a bug introduced by dede07d3d04007c70c78653a73e2bcd8616564a5.
Fixes #27118.
(cherry picked from commit 47041a2b91034b5cce19cb87a5c9a43b25691b23)
Related: RHEL-5950
---
hwdb.d/70-mouse.hwdb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hwdb.d/70-mouse.hwdb b/hwdb.d/70-mouse.hwdb
index e0a94541e4..159bc78621 100644
--- a/hwdb.d/70-mouse.hwdb
+++ b/hwdb.d/70-mouse.hwdb
@@ -400,7 +400,9 @@ mouse:usb:v046dpc08b:name:Logitech G502 HERO Gaming Mouse:*
# Logitech G502 X (Wired)
mouse:usb:v046dpc098:name:Logitech, Inc. G502 X LIGHTSPEED:*
# Logitech G502 X (Wireless)
-mouse:usb:v046dpc547:name:Logitech USB Receiver:*
+# The USB receiver is also used by other mice. See #27118.
+# If you want to enable the entry, please copy below to your custom hwdb file.
+#mouse:usb:v046dpc547:name:Logitech USB Receiver:*
MOUSE_DPI=1200@1000 *2400@1000 3200@1000 6400@1000
# Logitech G700 Laser Mouse (Wired)

View File

@ -0,0 +1,38 @@
From 2b3569f4562129d07a24ef6621263d0f326a816b Mon Sep 17 00:00:00 2001
From: don bright <hmbright@fastmail.com>
Date: Sat, 29 Apr 2023 22:33:13 -0500
Subject: [PATCH] hwdb: add hardware rfkill key for Dell Latitude E6* models
(#27462)
Hello
This pull req is adapting pull req #5772 (which fixed issue #5047), for the very similar computer Dell Latitude E6420 which has the same problem with the hardware switch to toggle wifi (aka rfkill). The symptom is the following repeated msgs in dmesg
[ 309.010284] atkbd serio0: Use 'setkeycodes e008 <keycode>' to make it known.
[ 309.016020] atkbd serio0: Unknown key pressed (translated set 2, code 0x88 on isa0060/serio0).
Adding this line to include E6 models causes these messages to stop showing in dmesg
Thank you
(cherry picked from commit 46b8c3f5b297ac034f2d024c1f3d84ad2c17f410)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 82f3aaf051..4b470cf18d 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -398,7 +398,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:*
KEYBOARD_KEY_88=! # wireless switch
KEYBOARD_KEY_9e=!f21
-# Dell Latitude E7*
+# Dell Latitude E[67]*
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*E6*:*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*E7*:*
KEYBOARD_KEY_88=unknown # Fn-PrtScr rfkill - handled in HW

View File

@ -0,0 +1,28 @@
From 9b63b76c61888ed9a139351032255359270a9f93 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Sat, 6 May 2023 14:36:19 +0900
Subject: [PATCH] hwdb: do not include '#' in modalias
Follow-up for 7bd3d6e35a6de8b1bf93e2fae28a64f0c7ffd2ac.
Fixes #27516.
(cherry picked from commit 5b5e54e058745f47184cb88e0037fa576164000c)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 4b470cf18d..f433f85bed 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -633,7 +633,7 @@ evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHPElitex21013G3:*
KEYBOARD_KEY_97=brightnessup
# HP Laptop 15s-eq0023nl
-evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHPLaptop15s-eq0*:sku9MG38EA#ABZ:*
+evdev:atkbd:dmi:bvn*:bvr*:svnHP*:pnHPLaptop15s-eq0*:sku9MG38EA*ABZ:*
KEYBOARD_KEY_9d=102nd # Greater than/Less than
# Elitebook

View File

@ -0,0 +1,31 @@
From d0adc17dfc51f406ed7b17807ea8a7a555447197 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Janne=20Sir=C3=A9n?=
<48908460+JanneSiren@users.noreply.github.com>
Date: Sun, 7 May 2023 03:18:55 +0300
Subject: [PATCH] hwdb: add landscape IdeaPad Miix 310 sensor orientation
(#27555)
Enables support for landscape orientated display variants of the IdeaPad Miix 310 2-in-1 laptop.
(cherry picked from commit 78e0dd224467dc627dc0d3f907954e2a6dc59bc8)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index ebf8c718a7..f971f701cc 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -639,6 +639,10 @@ sensor:modalias:acpi:KIOX000A*:dmi:bvnLENOVO:bvr1HCN4?WW:*:svnLENOVO:pn80SG:*
sensor:modalias:acpi:KIOX000A*:dmi:bvnLENOVO:bvr1HCN2?WW:*:svnLENOVO:pn80SG:*
ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+# IdeaPad Miix 310 BIOS version bvr1HCN3?WW (variant 3)
+sensor:modalias:acpi:KIOX000A*:dmi:bvnLENOVO:bvr1HCN3?WW:*:svnLENOVO:pn80SG:*
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
+
# IdeaPad Miix 320, different batches use a different sensor
sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80XF:*
sensor:modalias:acpi:SMO8840*:dmi:*:svnLENOVO:pn80XF:pvrLenovoMIIX320:*

View File

@ -0,0 +1,25 @@
From 32a10bde5af02417b73b37e5111c03d2b7117f9e Mon Sep 17 00:00:00 2001
From: drosdeck <edson.drosdeck@gmail.com>
Date: Fri, 12 May 2023 10:33:54 -0400
Subject: [PATCH] Fix Positivo CF40CM-V2 key toggle touchpad
(cherry picked from commit e71254edb0e0c52c7cb2dcf5de0bbf5b95a42809)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index f433f85bed..5d34e02607 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -2049,6 +2049,8 @@ evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:bd*:svnPositivoBahia-VAIO:
###########################################################
# Positivo MASTER-N1110
evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:svnPositivoTecnologiaSA:pn*:pvr*:rvnPositivoTecnologiaSA:rnNP11G-E*
+# Positivo (CF40CM-V2)
+evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:svnPositivoTecnologiaSA:pn*:pvr*:rvnPositivoTecnologiaSA:rnCF40CM-V2*
# Positivo DUO (k116)
evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:svnPositivoTecnologiaSA:pn*:pvr*:rvnPositivoTecnologiaSA:rnK116*
KEYBOARD_KEY_76=f21 # Fn+F1 toggle touchpad

View File

@ -0,0 +1,29 @@
From bd604dc8daa70b24cb37ee6aac51f58f15f29a5f Mon Sep 17 00:00:00 2001
From: saikat0511 <57610828+saikat0511@users.noreply.github.com>
Date: Tue, 16 May 2023 02:28:50 +0530
Subject: [PATCH] hwdb: fix keyboard entry for IdeapadFlex5 (#27643)
Fixes a bug caused by 19db450f3a243fcaf0949beebafc3025f8e3a98e (#27211).
Also this makes the model more specific.
(cherry picked from commit 738a195bd59dc2e85c15382d17d391c1781aaa4e)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 5d34e02607..60c8e2edf7 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1007,7 +1007,7 @@ evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPad*Z370*:pvr*
KEYBOARD_KEY_ae=!volumedown
KEYBOARD_KEY_b0=!volumeup
-evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPadFlex5*:pvr*
+evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:*:pvrIdeaPadFlex514IIL05:*
KEYBOARD_KEY_a0=!mute
KEYBOARD_KEY_ae=!volumedown
KEYBOARD_KEY_b0=!volumeup

View File

@ -0,0 +1,26 @@
From a4b67e4b462dc8971d1469c8544c7d32b00abb4a Mon Sep 17 00:00:00 2001
From: Edson Juliano Drosdeck <edson.drosdeck@gmail.com>
Date: Thu, 18 May 2023 14:06:42 -0400
Subject: [PATCH] hwdb: fix Positivo CG15D key toggle touchpad and programmable
keys (#27689)
(cherry picked from commit 60ca859bf04a312be822c7242bb84927bc8f9edb)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 60c8e2edf7..27113276c4 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -2055,6 +2055,8 @@ evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:svnPositivoTecnologiaSA:pn*:pvr
evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:svnPositivoTecnologiaSA:pn*:pvr*:rvnPositivoTecnologiaSA:rnK116*
KEYBOARD_KEY_76=f21 # Fn+F1 toggle touchpad
+# Positivo (CG15D)
+evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:svnPositivoTecnologiaSA:pn*:pvr*:rvn*:rnCG15D*
# Positivo Motion (N14DP6, N14DP7, N14DP7-V2, N14DP9, N14JP6, N14KP6)
evdev:name:AT Translated Set 2 keyboard:dmi:bvn*:bvr*:svnPositivoTecnologiaSA:pn*:pvr*:rvn*:rnN14[DJK]P*
KEYBOARD_KEY_76=f21 # Fn+f2 toggle touchpad

View File

@ -0,0 +1,27 @@
From 85e8c84b006c7c085a31c627dd755092757dcdad Mon Sep 17 00:00:00 2001
From: Times-Z <44286581+Times-Z@users.noreply.github.com>
Date: Wed, 31 May 2023 18:44:09 +0200
Subject: [PATCH] hwdb: add support for Elgato Stream Deck mini (gen 2)
(cherry picked from commit 505c501c67dbfc240dffb681c54e241bc6e4f83f)
Related: RHEL-5950
---
hwdb.d/70-av-production.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/70-av-production.hwdb b/hwdb.d/70-av-production.hwdb
index f89f26eb6f..9890d726e5 100644
--- a/hwdb.d/70-av-production.hwdb
+++ b/hwdb.d/70-av-production.hwdb
@@ -36,6 +36,10 @@ usb:v0FD9p0060*
usb:v0FD9p0063*
ID_AV_PRODUCTION_CONTROLLER=1
+# Stream Deck Mini (gen 2)
+usb:v0FD9p0090*
+ ID_AV_PRODUCTION_CONTROLLER=1
+
# Stream Deck XL
usb:v0FD9p006C*
ID_AV_PRODUCTION_CONTROLLER=1

View File

@ -0,0 +1,30 @@
From b949400a88d13c98e6cd30ffa47b30324505ab23 Mon Sep 17 00:00:00 2001
From: Benjamin Raison <benjamin.raison@baumink.net>
Date: Sat, 10 Jun 2023 00:34:28 +0200
Subject: [PATCH] hwdb: fix arrow keys on HP Elite Dragonfly G3
(cherry picked from commit 4fd7c712dcba3c4ed7183ba327d0b88d9b0be9bb)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 27113276c4..492092e685 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -827,6 +827,13 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP*:pnHPEliteDragonflyG2*:pvr*
evdev:name:Intel HID events:dmi:bvn*:bvr*:bd*:svnHP*:pnHPEliteDragonflyG2*:pvr*
KEYBOARD_KEY_08=unknown # rfkill is also reported by HP Wireless hotkeys
+# HP Elite Dragonfly G3
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP:pnHPEliteDragonfly13.5inchG3NotebookPC:pvr*
+ KEYBOARD_KEY_c9=up
+ KEYBOARD_KEY_d1=down
+ KEYBOARD_KEY_c8=pageup
+ KEYBOARD_KEY_d0=pagedown
+
##########################################################
# Huawei
##########################################################

View File

@ -0,0 +1,28 @@
From 4cd5d19182f3af041451a00d727e553f446dd51e Mon Sep 17 00:00:00 2001
From: Juno Computers <thelookouts@hotmail.com>
Date: Tue, 20 Jun 2023 12:41:47 -0400
Subject: [PATCH] hwdb: add support for Jun Tab2/Dere T11 to 60-sensor.hwdb
(#28092)
(cherry picked from commit 4687f001e689fd482f530a8d1d0adc93e01d74ea)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index f971f701cc..7d1d603daf 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -385,6 +385,10 @@ sensor:modalias:acpi:INVN6500*:dmi:*svnDell*:pnVenue10Pro5055:*
sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrJP2V*:svnDefaultstring:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
+# T11 / Juno Tablet 2
+sensor:modalias:acpi:NSA2513*:dmi:*:svnDigitek:*
+ ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1
+
#########################################
# DEXP
#########################################

View File

@ -0,0 +1,29 @@
From 73cc31b90c868526b9c50402debf289d0b43eb30 Mon Sep 17 00:00:00 2001
From: Hoe Hao Cheng <haochengho12907@gmail.com>
Date: Tue, 27 Jun 2023 21:29:57 +0800
Subject: [PATCH] hwdb: fix volume control keys on Lenovo IdeaPad Flex 5
(14ARE05)
(cherry picked from commit 123c0e24dd3af4c7168ee77dad841cc730b5db60)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 492092e685..ce52a3d47d 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1019,6 +1019,11 @@ evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:*:pvrIdeaPadFlex514IIL05:*
KEYBOARD_KEY_ae=!volumedown
KEYBOARD_KEY_b0=!volumeup
+evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:*:pvrIdeaPadFlex514ARE05:*
+ KEYBOARD_KEY_a0=!mute
+ KEYBOARD_KEY_ae=!volumedown
+ KEYBOARD_KEY_b0=!volumeup
+
evdev:atkbd:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:*
KEYBOARD_KEY_62=unknown # Touchpad on, also emitted by "Ideapad extra buttons", ignore
KEYBOARD_KEY_63=unknown # Touchpad off, also emitted by "Ideapad extra buttons", ignore

View File

@ -0,0 +1,81 @@
From 05016d15206db5fa3355b0ee7de36c607d7283ef Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Sun, 2 Jul 2023 11:44:57 +0200
Subject: [PATCH] hwdb: Add override for headset form-factors
Correct the SOUND_FORM_FACTOR property for Steelseries Arctis headsets.
The USB IDs were all gathered from HeadsetControl[1].
[1]: https://github.com/Sapd/HeadsetControl
(cherry picked from commit 56506988f208e7f96ae0bfd83d1ff9436cb174f5)
Related: RHEL-5950
---
hwdb.d/70-sound-card.hwdb | 31 +++++++++++++++++++++++++++++++
hwdb.d/meson.build | 1 +
hwdb.d/parse_hwdb.py | 1 +
3 files changed, 33 insertions(+)
create mode 100644 hwdb.d/70-sound-card.hwdb
diff --git a/hwdb.d/70-sound-card.hwdb b/hwdb.d/70-sound-card.hwdb
new file mode 100644
index 0000000000..51b235d94d
--- /dev/null
+++ b/hwdb.d/70-sound-card.hwdb
@@ -0,0 +1,31 @@
+# This file is part of systemd.
+#
+# Database of sound hardware that gets misdetected
+#
+# To add local entries, copy this file to
+# /etc/udev/hwdb.d/
+# and add your rules there. To load the new rules execute (as root):
+# systemd-hwdb update
+# udevadm trigger
+
+###########################################################
+# Steelseries
+###########################################################
+# Arctis Headsets
+usb:v1038p12B3*
+usb:v1038p12B6*
+usb:v1038p12D7*
+usb:v1038p1260*
+usb:v1038p12AD*
+usb:v1038p1252*
+usb:v1038p1280*
+usb:v1038p220E*
+usb:v1038p2212*
+usb:v1038p2216*
+usb:v1038p2236*
+usb:v1038p12C2*
+usb:v1038p2202*
+usb:v1038p2206*
+usb:v1038p220A*
+usb:v1038p1290*
+ SOUND_FORM_FACTOR=headset
diff --git a/hwdb.d/meson.build b/hwdb.d/meson.build
index 90b71916b7..d073477618 100644
--- a/hwdb.d/meson.build
+++ b/hwdb.d/meson.build
@@ -33,6 +33,7 @@ hwdb_files_test = files(
'70-mouse.hwdb',
'70-pda.hwdb',
'70-pointingstick.hwdb',
+ '70-sound-card.hwdb',
'70-touchpad.hwdb',
'80-ieee1394-unit-function.hwdb')
diff --git a/hwdb.d/parse_hwdb.py b/hwdb.d/parse_hwdb.py
index 5a1ae5a6a0..ee3474a6f5 100755
--- a/hwdb.d/parse_hwdb.py
+++ b/hwdb.d/parse_hwdb.py
@@ -193,6 +193,7 @@ def property_grammar():
('ID_TAG_MASTER_OF_SEAT', Literal('1')),
('ID_INFRARED_CAMERA', Or((Literal('0'), Literal('1')))),
('ID_CAMERA_DIRECTION', Or(('front', 'rear'))),
+ ('SOUND_FORM_FACTOR', Or(('internal', 'webcam', 'speaker', 'headphone', 'headset', 'handset', 'microphone'))),
)
fixed_props = [Literal(name)('NAME') - Suppress('=') - val('VALUE')
for name, val in props]

View File

@ -0,0 +1,28 @@
From f88ef2c38bb341534a69bf53d1e043ef71319a8d Mon Sep 17 00:00:00 2001
From: Thomas Genty <tomlohave@geexbox.org>
Date: Tue, 4 Jul 2023 15:41:57 +0200
Subject: [PATCH] hwdb : add support for Archos 101 Cesium Educ to
60-sensor.hwdb
(cherry picked from commit 41f34dcf3bc7004aaa9b251480d56bcfe144346d)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 7d1d603daf..d330a05629 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -126,6 +126,10 @@ sensor:modalias:acpi:MXC6655*:dmi:*:svnAquarius*:pnNS483:*
sensor:modalias:acpi:SMO8500*:dmi:*:svnARCHOS:pnARCHOS80Cesium:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
+# Archos 101 Cesium Educ
+sensor:modalias:acpi:KIOX000A*:dmi:*svn*ARCHOS:*pn*ARCHOS101CesiumEduc*
+ ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
+
#########################################
# AsusTek
#########################################

View File

@ -0,0 +1,30 @@
From 12a2ea213a9d576ab014fa58225936723f87f8b9 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Wed, 5 Jul 2023 10:16:56 +0900
Subject: [PATCH] hwdb: drop trailing white space
Follow-up for 4687f001e689fd482f530a8d1d0adc93e01d74ea.
(cherry picked from commit f94b944bf5d76fdffd72f6cca3a802ba922408a7)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index d330a05629..dc45aab1c2 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -389,9 +389,9 @@ sensor:modalias:acpi:INVN6500*:dmi:*svnDell*:pnVenue10Pro5055:*
sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrJP2V*:svnDefaultstring:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
-# T11 / Juno Tablet 2
+# T11 / Juno Tablet 2
sensor:modalias:acpi:NSA2513*:dmi:*:svnDigitek:*
- ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1
+ ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1
#########################################
# DEXP

View File

@ -0,0 +1,62 @@
From fbf377979f2865be9688522b09cf8c613c7b0d35 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Wed, 5 Jul 2023 10:28:42 +0900
Subject: [PATCH] hwdb: merge multiple keyboard entries with same setting
Follow-up for 123c0e24dd3af4c7168ee77dad841cc730b5db60.
Note, the entry was originally added for IdeaPad Flex 5 in
21b589a15504cdbd309a82abb566ef4e36957f92.
Then, a bug introduced by 19db450f3a243fcaf0949beebafc3025f8e3a98e.
But, when it was fixed by 738a195bd59dc2e85c15382d17d391c1781aaa4e,
the glob becomes too stricter, and another variant was added by
123c0e24dd3af4c7168ee77dad841cc730b5db60.
(cherry picked from commit 65d7d832a9faa462ccd18b84ec42b3794a37517d)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 23 ++++-------------------
1 file changed, 4 insertions(+), 19 deletions(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index ce52a3d47d..f3f40ef2ff 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1010,16 +1010,10 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*U300s*:pvr*
KEYBOARD_KEY_ce=f20 # micmute
evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*IdeaPad*Z370*:pvr*
- KEYBOARD_KEY_a0=!mute
- KEYBOARD_KEY_ae=!volumedown
- KEYBOARD_KEY_b0=!volumeup
-
-evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:*:pvrIdeaPadFlex514IIL05:*
- KEYBOARD_KEY_a0=!mute
- KEYBOARD_KEY_ae=!volumedown
- KEYBOARD_KEY_b0=!volumeup
-
-evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:*:pvrIdeaPadFlex514ARE05:*
+# Lenovo IdeaPad Flex 5
+evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:*:pvrIdeaPadFlex5*
+# Lenovo Yoga S940 (9th gen)
+evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:pn81Q7*:pvrLenovoYogaS940:*
KEYBOARD_KEY_a0=!mute
KEYBOARD_KEY_ae=!volumedown
KEYBOARD_KEY_b0=!volumeup
@@ -1028,15 +1022,6 @@ evdev:atkbd:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:*
KEYBOARD_KEY_62=unknown # Touchpad on, also emitted by "Ideapad extra buttons", ignore
KEYBOARD_KEY_63=unknown # Touchpad off, also emitted by "Ideapad extra buttons", ignore
-# Fix for volume keys on Lenovo Yoga S940
-# For 10th gen it should be pn81Q8 instead of pn81Q7 but
-# I don't have a device to test
-# perhaps pn81Q* would work for both generations
-evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO:pn81Q7*:pvrLenovoYogaS940:*
- KEYBOARD_KEY_a0=!mute
- KEYBOARD_KEY_ae=!volumedown
- KEYBOARD_KEY_b0=!volumeup
-
# Lenovo Y50-70
evdev:atkbd:dmi:bvn*:bvr*:svnLENOVO*:pn*20378*:pvr*
KEYBOARD_KEY_f3=f21 # Fn+F6 (toggle touchpad)

View File

@ -0,0 +1,28 @@
From 3a599d4526639b841e7b8a3ca772d609416616e1 Mon Sep 17 00:00:00 2001
From: Yu Watanabe <watanabe.yu+github@gmail.com>
Date: Wed, 5 Jul 2023 10:17:59 +0900
Subject: [PATCH] hwdb: make matching modalias for Archos 101 Cesium Educ more
strict
Follow-up for 41f34dcf3bc7004aaa9b251480d56bcfe144346d.
(cherry picked from commit 495f387c27e9ea2e8d28301963d2730b4786e355)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index dc45aab1c2..cd4bee6ea0 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -127,7 +127,7 @@ sensor:modalias:acpi:SMO8500*:dmi:*:svnARCHOS:pnARCHOS80Cesium:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
# Archos 101 Cesium Educ
-sensor:modalias:acpi:KIOX000A*:dmi:*svn*ARCHOS:*pn*ARCHOS101CesiumEduc*
+sensor:modalias:acpi:KIOX000A*:dmi:*:svnARCHOS:pnARCHOS101CesiumEduc:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
#########################################

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,29 @@
From 375afaffe36a02c2cc66f0ab9220c9508d509945 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Wed, 5 Jul 2023 23:15:09 +0200
Subject: [PATCH] update hwdb autosuspend data for v254
(cherry picked from commit 61905882c9fd60e7e12b68c4ac8d384e377ff93c)
Related: RHEL-5950
---
hwdb.d/60-autosuspend-fingerprint-reader.hwdb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hwdb.d/60-autosuspend-fingerprint-reader.hwdb b/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
index a5cc89474f..5719696bfc 100644
--- a/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
+++ b/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
@@ -173,9 +173,12 @@ usb:v10A5pD205*
# Supported by libfprint driver goodixmoc
usb:v27C6p5840*
usb:v27C6p6014*
+usb:v27C6p6092*
usb:v27C6p6094*
usb:v27C6p609C*
usb:v27C6p60A2*
+usb:v27C6p60A4*
+usb:v27C6p60BC*
usb:v27C6p631C*
usb:v27C6p634C*
usb:v27C6p6384*

View File

@ -0,0 +1,30 @@
From 3a1380628b80f0c5d254f4b2df347c664efdd8f0 Mon Sep 17 00:00:00 2001
From: Thomas Genty <tomlohave@geexbox.org>
Date: Thu, 6 Jul 2023 12:39:28 +0200
Subject: [PATCH] hwdb: add support for Archos 101 Cesium to 60-sensor.hwdb
(#28270)
Co-authored-by: Yu Watanabe <watanabe.yu+github@gmail.com>
(cherry picked from commit 7d06cd73c28b57255a95ca73840eee32b243c50e)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index cd4bee6ea0..4fb7387f60 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -123,7 +123,11 @@ sensor:modalias:acpi:MXC6655*:dmi:*:svnAquarius*:pnNS483:*
#########################################
# Archos
#########################################
+
+# Archos 80 Cesium
sensor:modalias:acpi:SMO8500*:dmi:*:svnARCHOS:pnARCHOS80Cesium:*
+# Archos 101 Cesium
+sensor:modalias:acpi:KIOX000A*:dmi:*:svnARCHOS:pnARCHOS101CESIUM:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
# Archos 101 Cesium Educ

View File

@ -0,0 +1,87 @@
From 93a411ee54646d858bdcf2eb004fdfd1d5be21e9 Mon Sep 17 00:00:00 2001
From: Andrew Baxter <i@isandrew.com>
Date: Thu, 6 Jul 2023 19:42:33 +0900
Subject: [PATCH] Hwdb: Add Sanwa Direct 400-MA128 external trackpad (#28272)
* Hwdb: Add Sanwa Direct 400-MA128 external trackpad
```
$ udevadm info /dev/input/by-path/pci-0000:28:00.3-usb-0:1.4.4.1:1.1-event-mouse
P: /devices/pci0000:00/0000:00:07.1/0000:28:00.3/usb5/5-1/5-1.4/5-1.4.4/5-1.4.4.1/5-1.4.4.1:1.1/0003:258A:0501.0097/input/input256/event15
M: event15
R: 15
U: input
D: c 13:79
N: input/event15
L: 0
S: input/by-id/usb-SINO_WEALTH_USB_TOUCHPAD-if01-event-mouse
S: input/by-path/pci-0000:28:00.3-usb-0:1.4.4.1:1.1-event-mouse
E: DEVPATH=/devices/pci0000:00/0000:00:07.1/0000:28:00.3/usb5/5-1/5-1.4/5-1.4.4/5-1.4.4.1/5-1.4.4.1:1.1/0003:258A:0501.0097/input/input256/event15
E: DEVNAME=/dev/input/event15
E: MAJOR=13
E: MINOR=79
E: SUBSYSTEM=input
E: USEC_INITIALIZED=3436890430330
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_WIDTH_MM=106
E: ID_INPUT_HEIGHT_MM=77
E: ID_BUS=usb
E: ID_MODEL=USB_TOUCHPAD
E: ID_MODEL_ENC=USB\x20TOUCHPAD
E: ID_MODEL_ID=0501
E: ID_SERIAL=SINO_WEALTH_USB_TOUCHPAD
E: ID_VENDOR=SINO_WEALTH
E: ID_VENDOR_ENC=SINO\x20WEALTH
E: ID_VENDOR_ID=258a
E: ID_REVISION=0521
E: ID_TYPE=hid
E: ID_USB_MODEL=USB_TOUCHPAD
E: ID_USB_MODEL_ENC=USB\x20TOUCHPAD
E: ID_USB_MODEL_ID=0501
E: ID_USB_SERIAL=SINO_WEALTH_USB_TOUCHPAD
E: ID_USB_VENDOR=SINO_WEALTH
E: ID_USB_VENDOR_ENC=SINO\x20WEALTH
E: ID_USB_VENDOR_ID=258a
E: ID_USB_REVISION=0521
E: ID_USB_TYPE=hid
E: ID_USB_INTERFACES=:030101:030000:
E: ID_USB_INTERFACE_NUM=01
E: ID_USB_DRIVER=usbhid
E: ID_PATH=pci-0000:28:00.3-usb-0:1.4.4.1:1.1
E: ID_PATH_TAG=pci-0000_28_00_3-usb-0_1_4_4_1_1_1
E: ID_INPUT_TOUCHPAD_INTEGRATION=internal
E: LIBINPUT_DEVICE_GROUP=3/258a/501:usb-0000:28:00.3-1.4.4
E: DEVLINKS=/dev/input/by-id/usb-SINO_WEALTH_USB_TOUCHPAD-if01-event-mouse /dev/input/by-path/pci-0000:28:00.3-usb-0:1.4.4.1:1.1-event-mouse
```
Link to product: https://www.amazon.co.jp/gp/product/B07Z5HCMFP
(cherry picked from commit 1b91662ca0968f7a7ed3a069b7990b73d750ac51)
Related: RHEL-5950
---
hwdb.d/60-evdev.hwdb | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
index 56cb3d3636..a9ce4e2862 100644
--- a/hwdb.d/60-evdev.hwdb
+++ b/hwdb.d/60-evdev.hwdb
@@ -811,6 +811,17 @@ evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnSAMSUNGELECTRONICSCO.,LTD.:pn870Z5E/
EVDEV_ABS_35=::30
EVDEV_ABS_36=::29
+#########################################
+# Sanwa Direct
+#########################################
+
+# Sanwa Direct 400-MA128 Trackpad
+evdev:input:b0003v258Ap0501*
+ EVDEV_ABS_00=::16
+ EVDEV_ABS_01=::10
+ EVDEV_ABS_35=::16
+ EVDEV_ABS_36=::10
+
#########################################
# Star Labs
#########################################

View File

@ -0,0 +1,135 @@
From ad537f4b68cb00b9d21c60925063c7a060089ea7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Tue, 11 Jul 2023 23:51:10 +0200
Subject: [PATCH] hwdb: drop POINTINGSTICK_CONST_ACCEL
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The TODO says we were supposed to do that in 20192020 (if I interpreted the
enigmatic notation correctly). The comment in hwdb said:
> DO NOT USE THIS PROPERTY. This property is kept for backwards
> compatibility. The only known consumer, libinput, stopped reading this
> property in version 1.9.0. No new entries for this property should be
> added.
… and we're currently on libinput-1.23.0.
Most likely there are no users, and even if they are, they'll just get a
slightly misbehaving pointingstick, which shouldn't be too bad.
(cherry picked from commit 28dd29dd95089f676703c7eb355ceb6e2512bb41)
Related: RHEL-5950
---
TODO | 2 --
hwdb.d/70-pointingstick.hwdb | 44 ------------------------------------
hwdb.d/parse_hwdb.py | 1 -
3 files changed, 47 deletions(-)
diff --git a/TODO b/TODO
index abe8faf5e8..76ce65c529 100644
--- a/TODO
+++ b/TODO
@@ -87,8 +87,6 @@ Deprecations and removals:
* Remove any support for booting without /usr pre-mounted in the initrd entirely.
Update INITRD_INTERFACE.md accordingly.
-* 2019-10 Remove POINTINGSTICK_CONST_ACCEL references from the hwdb, see #9573
-
* remove cgrouspv1 support EOY 2023. As per
https://lists.freedesktop.org/archives/systemd-devel/2022-July/048120.html
and then rework cgroupsv2 support around fds, i.e. keep one fd per active
diff --git a/hwdb.d/70-pointingstick.hwdb b/hwdb.d/70-pointingstick.hwdb
index a78d088173..6ff228bee6 100644
--- a/hwdb.d/70-pointingstick.hwdb
+++ b/hwdb.d/70-pointingstick.hwdb
@@ -51,28 +51,11 @@
#
# Allowed properties are:
# ID_INPUT_POINTINGSTICK
-# POINTINGSTICK_CONST_ACCEL (deprecated)
# POINTINGSTICK_SENSITIVITY
#
# Entries should be sorted with growing _SENSITIVITY and _CONST_ACCEL.
#
#########################################
-# POINTINGSTICK_CONST_ACCEL #
-#########################################
-#
-# DO NOT USE THIS PROPERTY. This property is kept for backwards
-# compatibility. The only known consumer, libinput, stopped reading this
-# property in version 1.9.0. No new entries for this property should be
-# added.
-#
-# Trackpoint const accel settings are specified as
-# POINTINGSTICK_CONST_ACCEL=<accel>
-#
-# Where <accel> is a floating point number, using a '.' separator, specifying
-# by how much to multiply deltas generated by the pointingstick to get
-# normalized deltas.
-#
-#########################################
# POINTINGSTICK_SENSITIVITY #
#########################################
#
@@ -93,30 +76,6 @@ evdev:name:*[tT]rack[pP]oint*:*
evdev:name:*[dD]ual[pP]oint [sS]tick*:*
ID_INPUT_POINTINGSTICK=1
-#########################################
-# Dell
-#########################################
-
-# Latitude D620
-evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeD620*:*
- POINTINGSTICK_CONST_ACCEL=0.5
-
-# Latitude E5570
-evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE5570*:*
- POINTINGSTICK_CONST_ACCEL=0.1
-
-# Latitude E6320
-evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6320*:*
- POINTINGSTICK_CONST_ACCEL=2.0
-
-# Latitude E6400
-evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6400*:*
- POINTINGSTICK_CONST_ACCEL=1.5
-
-# Latitude E7470
-evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE7470*:*
- POINTINGSTICK_CONST_ACCEL=0.6
-
#########################################
# Lenovo
#########################################
@@ -157,7 +116,6 @@ evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Ca
# Lenovo Thinkpad X1 Tablet
evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Tablet:*
POINTINGSTICK_SENSITIVITY=200
- POINTINGSTICK_CONST_ACCEL=1.0
# Lenovo Thinkpad X200/X201/X200s/X201s/X200 Tablet/X201 Tablet
# Note these come with 2 revisions of keyboard, with the trackpoints having a
@@ -167,9 +125,7 @@ evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?
evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20??:*
evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?Tablet:*
POINTINGSTICK_SENSITIVITY=200
- POINTINGSTICK_CONST_ACCEL=1.25
# Lenovo UltraNav SK-8845 (USB keyboard)
evdev:input:b0003v06CBp0009*
- POINTINGSTICK_CONST_ACCEL=2.5
POINTINGSTICK_SENSITIVITY=200
diff --git a/hwdb.d/parse_hwdb.py b/hwdb.d/parse_hwdb.py
index ee3474a6f5..30d5f8a569 100755
--- a/hwdb.d/parse_hwdb.py
+++ b/hwdb.d/parse_hwdb.py
@@ -174,7 +174,6 @@ def property_grammar():
('ID_INPUT_TRACKBALL', Or((Literal('0'), Literal('1')))),
('ID_SIGNAL_ANALYZER', Or((Literal('0'), Literal('1')))),
('POINTINGSTICK_SENSITIVITY', INTEGER),
- ('POINTINGSTICK_CONST_ACCEL', REAL),
('ID_INPUT_JOYSTICK_INTEGRATION', Or(('internal', 'external'))),
('ID_INPUT_TOUCHPAD_INTEGRATION', Or(('internal', 'external'))),
('XKB_FIXED_LAYOUT', xkb_setting),

View File

@ -0,0 +1,26 @@
From 99326905ee092471fb117ffd82b939e300034e0a Mon Sep 17 00:00:00 2001
From: Roger Gammans <rgammans@gammascience.co.uk>
Date: Wed, 12 Jul 2023 21:10:53 +0100
Subject: [PATCH] Add alternate name for MX Ergo as found on some devices
Fixes #28349
(cherry picked from commit 681295c0600dc47dbd72cf3fe103b827b24f3b1d)
Related: RHEL-5950
---
hwdb.d/70-mouse.hwdb | 1 +
1 file changed, 1 insertion(+)
diff --git a/hwdb.d/70-mouse.hwdb b/hwdb.d/70-mouse.hwdb
index 159bc78621..46d723a92e 100644
--- a/hwdb.d/70-mouse.hwdb
+++ b/hwdb.d/70-mouse.hwdb
@@ -539,6 +539,7 @@ mouse:bluetooth:v046dpb019:name:MX Master 2S Mouse:*
mouse:usb:v046dp406f:name:Logitech MX Ergo:*
mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:406f:*
mouse:bluetooth:v046dpb01d:name:MX Ergo Mouse:*
+mouse:bluetooth:v046dpb01d:name:Logitech MX Ergo Multi-Device Trackball :*
ID_INPUT_TRACKBALL=1
MOUSE_DPI=380@125

370140
0909-Update-hwdb.patch Normal file

File diff suppressed because it is too large Load Diff

320058
0910-hwdb-run-update-hwdb.patch Normal file

File diff suppressed because it is too large Load Diff

266182
0911-hwdb-run-update-hwdb.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,49 @@
From e1ec7dfe667b557d79bce3ea501716709d01edbb Mon Sep 17 00:00:00 2001
From: Maxim Mikityanskiy <maxtram95@gmail.com>
Date: Thu, 3 Aug 2023 17:40:15 +0300
Subject: [PATCH] hwdb: Mute SW rfkill keys on MSI Wind U100
Kernel patch [1] fixed bugs in rfkill handling on MSI Wind U100. Now
that the HW rfkill reports the correct state, and the SW rfkill is
controllable from userspace, it's necessary to mute KEY_WLAN and
KEY_BLUETOOTH generated on HW rfkill state changes. Otherwise, the
userspace will react to these keys and toggle the SW rfkill as well,
which is not desired, because the user may end up with non-functional
radios if HW and SW rfkills are out of sync.
Blocking these keycodes doesn't impair user experience, because the
desktop environment can still react to HW rfkill events and act
accordingly (for example, show notifications).
While at it, use "unknown" instead of "reserved" to mute keys, to avoid
the "atkbd serio0: Unknown key pressed" flood in dmesg.
[1]: https://lore.kernel.org/all/20230721145423.161057-1-maxtram95@gmail.com/
(cherry picked from commit fa8216e20605ff42054ee316201a13ac6cdd4cd1)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index f3f40ef2ff..87d592d2cd 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1438,9 +1438,13 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*PR200*:*
KEYBOARD_KEY_f7=reserved
KEYBOARD_KEY_f8=reserved
-# MSI Wind U90/U100 generates separate touchpad on/off keycodes so ignore touchpad toggle keycode
+# MSI Wind U90/U100 generates separate touchpad on/off keycodes so ignore touchpad toggle keycode.
+# Also ignore Wi-Fi and Bluetooth keycodes, because they are generated when the HW rfkill state
+# changes, but the userspace also toggles the SW rfkill upon receiving these keycodes.
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:*
- KEYBOARD_KEY_e4=reserved
+ KEYBOARD_KEY_e4=unknown
+ KEYBOARD_KEY_e2=unknown
+ KEYBOARD_KEY_f6=unknown
# Keymaps MSI Prestige And MSI Modern FnKeys and Special keys
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*Prestige*:*

View File

@ -0,0 +1,26 @@
From 4b6f6384246c976f3d6ab3ea29b0a6afe83e840e Mon Sep 17 00:00:00 2001
From: Juno Computers <thelookouts@hotmail.com>
Date: Sat, 26 Aug 2023 09:35:57 -0400
Subject: [PATCH] Update 60-sensor.hwdb (#28804)
Updated T11/Juno Tab 2.
(cherry picked from commit 8a76d3cc7029ea9add4d4ed38af72745f6ba7974)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 1 +
1 file changed, 1 insertion(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 4fb7387f60..6bcf2cba4a 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -395,6 +395,7 @@ sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInternational,LLC.:bvrJP
# T11 / Juno Tablet 2
sensor:modalias:acpi:NSA2513*:dmi:*:svnDigitek:*
+sensor:modalias:acpi:NSA2513*:dmi:*:svnDefaultstring:*
ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1
#########################################

View File

@ -0,0 +1,29 @@
From 1d27336a2bab5039721d2bf212ffac2f81525e4f Mon Sep 17 00:00:00 2001
From: Robby Red <73302460+robmistere@users.noreply.github.com>
Date: Sat, 2 Sep 2023 23:17:15 -0400
Subject: [PATCH] hwdb: Added config for RCA W101SA23T1 (#29041)
(cherry picked from commit f06bee168b7bae403d1538e6f2b3424ec54a7a6e)
Related: RHEL-5950
---
hwdb.d/60-sensor.hwdb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 6bcf2cba4a..c757f83f19 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -926,6 +926,12 @@ sensor:modalias:acpi:SMO8500*:dmi:*:svnProwise:pnPT301:*
sensor:modalias:acpi:SMO8500*:dmi:*:rvnReeder:rnA8iW-Rev.A:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
+#########################################
+# RCA
+#########################################
+sensor:modalias:acpi:KIOX000A*:dmi:*:svnRCA:pnW101SA23T1:*
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
+
#########################################
# Schneider
#########################################

View File

@ -0,0 +1,30 @@
From 106dd07846e1c364635551646343760c5c6430ee Mon Sep 17 00:00:00 2001
From: khm <khm@users.noreply.github.com>
Date: Wed, 6 Sep 2023 01:59:19 -0700
Subject: [PATCH] Update 60-input-id.hwdb: add TEX Shinobi (#29068)
* Update 60-input-id.hwdb: add TEX Shinobi
The TEX Shinobi keyboard with trackpoint incorrectly identifies as a mouse instead of a pointing stick. This corrects it as suggested at https://gitlab.freedesktop.org/libinput/libinput/-/issues/932#note_2069967
Following the example of the Lite-On keyboard entry, this modalias specifies the mouse unit without tagging the device's other entries.
(cherry picked from commit c00c3d93d5970408a939dd1f6087180fe723716b)
Related: RHEL-5950
---
hwdb.d/60-input-id.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-input-id.hwdb b/hwdb.d/60-input-id.hwdb
index 802ed9a1e7..1c84777fe0 100644
--- a/hwdb.d/60-input-id.hwdb
+++ b/hwdb.d/60-input-id.hwdb
@@ -75,3 +75,7 @@ id-input:modalias:input:b0003v046Dp4066e0111*
id-input:modalias:input:b0003v068Ep00F2e0100*
ID_INPUT_ACCELEROMETER=0
ID_INPUT_JOYSTICK=1
+
+# TEX Shinobi Trackpoint
+id-input:modalias:input:b0003v04D9p0407e0111-e0,1,2,4*
+ ID_INPUT_POINTINGSTICK=1

View File

@ -0,0 +1,32 @@
From d27ffb0b82f3b2ceb80e8b0ce4a1d9efb6081383 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Santamar=C3=ADa=20Rogado?= <howl.nsp@gmail.com>
Date: Wed, 6 Sep 2023 16:24:04 +0200
Subject: [PATCH] hwdb: keyboard: D330 FnLk toggle
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Map Fn+Tab to fn_esc as is FnLock toggle in this keyboard. Still doesn't behave as expected because work in ideapad_laptop kernel module could be required but now at least we report the same mapping in others keyboards with Fn+ESC for FnLock and not unknown.
Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>
(cherry picked from commit 8b7f0eb6a87cfcdf7c45d7c76424a89999f10ea5)
Related: RHEL-5950
---
hwdb.d/60-keyboard.hwdb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 87d592d2cd..48858a11d3 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1050,6 +1050,9 @@ evdev:input:b0003v04B3p301B*
evdev:name:SIPODEV Lenovo HID Device:dmi:*:svnLENOVO:*:pvrLenovoideapadD330-10IGM:*
KEYBOARD_KEY_70073=f21 # Fn+Supr (Touchpad toggle)
+evdev:name:SIPODEV Lenovo HID Device Consumer Control:dmi:*:svnLENOVO:*:pvrLenovoideapadD330-10IGM:*
+ KEYBOARD_KEY_c00ff=fn_esc # Fn+Tab (FnLk toggle)
+
###########################################################
# LG
###########################################################

View File

@ -0,0 +1,38 @@
From f0035e8f335f61683cacc2b622e8ed992b6bea0b Mon Sep 17 00:00:00 2001
From: Michael Kuhn <github@ikkoku.de>
Date: Sat, 16 Sep 2023 19:54:48 +0200
Subject: [PATCH] hwdb: Add Logitech G502 X
The already existing entry refers to the Logitech G502 X LIGHTSPEED,
rename it accordingly.
DPI and frequency were taken from Logitech G HUB and
https://www.logitech.com/assets/66240/2/g502-x-corded-gaming-mice-artanis.pdf
(cherry picked from commit 4eebc002b00076048af5e3cbafa1eb0d6319a928)
Related: RHEL-5950
---
hwdb.d/70-mouse.hwdb | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/hwdb.d/70-mouse.hwdb b/hwdb.d/70-mouse.hwdb
index 46d723a92e..7d1370ea9b 100644
--- a/hwdb.d/70-mouse.hwdb
+++ b/hwdb.d/70-mouse.hwdb
@@ -397,9 +397,13 @@ mouse:usb:v046dpc08b:name:Logitech G502 HERO SE:*
mouse:usb:v046dpc08b:name:Logitech G502 HERO Gaming Mouse:*
MOUSE_DPI=1200@1000 *2400@1000 3200@1000 6400@1000
-# Logitech G502 X (Wired)
+# Logitech G502 X
+mouse:usb:v046dpc099:name:Logitech G502 X:*
+ MOUSE_DPI=800@1000 1200@1000 *1600@1000 2400@1000 3200@1000
+
+# Logitech G502 X LIGHTSPEED (Wired)
mouse:usb:v046dpc098:name:Logitech, Inc. G502 X LIGHTSPEED:*
-# Logitech G502 X (Wireless)
+# Logitech G502 X LIGHTSPEED (Wireless)
# The USB receiver is also used by other mice. See #27118.
# If you want to enable the entry, please copy below to your custom hwdb file.
#mouse:usb:v046dpc547:name:Logitech USB Receiver:*

View File

@ -0,0 +1,38 @@
From 56592c49fd9cb6ee2934d0d2c2c217ebafa1ded8 Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Date: Sun, 17 Sep 2023 11:52:28 +0900
Subject: [PATCH] hwdb: ieee1394-unit-function: remove superfluous Weiss
Engineering DAC1 entry
Michele Perrone and Rolf Anderegg reported that their product with
model_id 0x000005 was experimental for internal use and never for
consumer market.
* https://lore.kernel.org/alsa-devel/a5b63c37-7f6f-46f3-a87f-e4e7c0c9b5c8@weiss.ch/
This commit deletes corresponding entry.
(cherry picked from commit 7760d8de3d44c0b6ffe9bd39460388fab4d1b2b9)
Related: RHEL-5950
---
hwdb.d/80-ieee1394-unit-function.hwdb | 6 ------
1 file changed, 6 deletions(-)
diff --git a/hwdb.d/80-ieee1394-unit-function.hwdb b/hwdb.d/80-ieee1394-unit-function.hwdb
index cf55f5524c..33bf7d93d8 100644
--- a/hwdb.d/80-ieee1394-unit-function.hwdb
+++ b/hwdb.d/80-ieee1394-unit-function.hwdb
@@ -912,12 +912,6 @@ ieee1394:ven00001C6Amo00000004sp00001C6Aver00000001
ID_MODEL_FROM_DATABASE=AFI1
IEEE1394_UNIT_FUNCTION_AUDIO=1
-ieee1394:node:ven0x001c6amo0x000005units0x001c6a:0x000001
-ieee1394:ven00001C6Amo00000005sp00001C6Aver00000001
- ID_VENDOR_FROM_DATABASE=Weiss Engineering
- ID_MODEL_FROM_DATABASE=DAC1
- IEEE1394_UNIT_FUNCTION_AUDIO=1
-
ieee1394:node:ven0x001c6amo0x000006units0x001c6a:0x000001
ieee1394:ven00001C6Amo00000006sp00001C6Aver00000001
ID_VENDOR_FROM_DATABASE=Weiss Engineering

View File

@ -0,0 +1,48 @@
From cb46e9f18ca6254c78f76000f28479be41aa522c Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Date: Sun, 17 Sep 2023 11:52:28 +0900
Subject: [PATCH] hwdb: ieee1394-unit-function: add Weiss Engineering DAC202
(Maya edition)
Michele Perrone and Ralf Anderegg contribute to ALSA dice driver to support
products of Weiss Engineering. Their patch includes support for DAC202 Maya
edition.
* https://lore.kernel.org/alsa-devel/24703333-9250-40bf-e736-a5f3c4862034@weiss.ch/
This commit fulfulls an entry for the model as well as supplemental comment
to DAC2/Minerva.
(cherry picked from commit 042cfb896055f52a77b7d91156920ef4105b569d)
Related: RHEL-5950
---
hwdb.d/80-ieee1394-unit-function.hwdb | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/hwdb.d/80-ieee1394-unit-function.hwdb b/hwdb.d/80-ieee1394-unit-function.hwdb
index 33bf7d93d8..503f5bbc14 100644
--- a/hwdb.d/80-ieee1394-unit-function.hwdb
+++ b/hwdb.d/80-ieee1394-unit-function.hwdb
@@ -903,7 +903,7 @@ ieee1394:ven00001C6Amo00000002sp00001C6Aver00000001
ieee1394:node:ven0x001c6amo0x000003units0x001c6a:0x000001
ieee1394:ven00001C6Amo00000003sp00001C6Aver00000001
ID_VENDOR_FROM_DATABASE=Weiss Engineering
- ID_MODEL_FROM_DATABASE=Minerva
+ ID_MODEL_FROM_DATABASE=DAC2/Minerva
IEEE1394_UNIT_FUNCTION_AUDIO=1
ieee1394:node:ven0x001c6amo0x000004units0x001c6a:0x000001
@@ -924,6 +924,12 @@ ieee1394:ven00001C6Amo00000007sp00001C6Aver00000001
ID_MODEL_FROM_DATABASE=DAC202
IEEE1394_UNIT_FUNCTION_AUDIO=1
+ieee1394:node:ven0x001c6amo0x000008units0x001c6a:0x000001
+ieee1394:ven00001C6Amo00000008sp00001C6Aver00000001
+ ID_VENDOR_FROM_DATABASE=Weiss Engineering
+ ID_MODEL_FROM_DATABASE=DAC202/Maya
+ IEEE1394_UNIT_FUNCTION_AUDIO=1
+
#
# Digidesign Digi00x family.
#

View File

@ -0,0 +1,56 @@
From 75216a8178fb89835a0099efc28f8ebed5af4e8e Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Date: Sun, 17 Sep 2023 11:52:28 +0900
Subject: [PATCH] hwdb: ieee1394-unit-function: add Weiss Engineering INT203
entry with older firmware
Michele Perrone reported that the model ID for INT203 with initial firmware
is 0x00000a.
* https://lore.kernel.org/alsa-devel/a5b63c37-7f6f-46f3-a87f-e4e7c0c9b5c8@weiss.ch/
This commit fulfills the entry corresponding to it as well as supplemental
comment denoting to it.
(cherry picked from commit 618edc0f566bf36843b32c9beb3dfa64db2371cf)
Related: RHEL-5950
---
hwdb.d/80-ieee1394-unit-function.hwdb | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/hwdb.d/80-ieee1394-unit-function.hwdb b/hwdb.d/80-ieee1394-unit-function.hwdb
index 503f5bbc14..bca410495a 100644
--- a/hwdb.d/80-ieee1394-unit-function.hwdb
+++ b/hwdb.d/80-ieee1394-unit-function.hwdb
@@ -912,10 +912,14 @@ ieee1394:ven00001C6Amo00000004sp00001C6Aver00000001
ID_MODEL_FROM_DATABASE=AFI1
IEEE1394_UNIT_FUNCTION_AUDIO=1
+# Starting from the middle of life time of INT203, the same firmware as
+# INT202 is compatible. The firmware dynamically switches its functionality
+# based on the state of internal jumper pins. Additionally, the design of
+# FireWire option card for DAC1 is something like embedded-INT203.
ieee1394:node:ven0x001c6amo0x000006units0x001c6a:0x000001
ieee1394:ven00001C6Amo00000006sp00001C6Aver00000001
ID_VENDOR_FROM_DATABASE=Weiss Engineering
- ID_MODEL_FROM_DATABASE=INT202
+ ID_MODEL_FROM_DATABASE=INT202/INT203/DAC1
IEEE1394_UNIT_FUNCTION_AUDIO=1
ieee1394:node:ven0x001c6amo0x000007units0x001c6a:0x000001
@@ -930,6 +934,14 @@ ieee1394:ven00001C6Amo00000008sp00001C6Aver00000001
ID_MODEL_FROM_DATABASE=DAC202/Maya
IEEE1394_UNIT_FUNCTION_AUDIO=1
+# The older version of firmware for INT203. Additionally, the design of
+# FireWire option card for DAC1 is something like embedded-INT203.
+ieee1394:node:ven0x001c6amo0x00000aunits0x001c6a:0x000001
+ieee1394:ven00001C6Amo0000000Asp00001C6Aver00000001
+ ID_VENDOR_FROM_DATABASE=Weiss Engineering
+ ID_MODEL_FROM_DATABASE=INT203/DAC1
+ IEEE1394_UNIT_FUNCTION_AUDIO=1
+
#
# Digidesign Digi00x family.
#

View File

@ -0,0 +1,43 @@
From 02361470f034c1457dddfe2cebe9bbd545a5bf40 Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Date: Sun, 17 Sep 2023 11:52:28 +0900
Subject: [PATCH] hwdb: ieee1394-unit-function: add Weiss Engieering MAN301
Michele Perrone contributes configuration ROM image for Weiss MAN301, which
includes two units for 1394TA AV/C devices 1.0 and TCAT general protocol.
* https://lore.kernel.org/alsa-devel/20230822135807.GA470519@workstation.local/
This commit adds hwdb entry for the model.
(cherry picked from commit 56f62f6f5a4dde21f09bf27003cf3522de4d0a4e)
Related: RHEL-5950
---
hwdb.d/80-ieee1394-unit-function.hwdb | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/hwdb.d/80-ieee1394-unit-function.hwdb b/hwdb.d/80-ieee1394-unit-function.hwdb
index bca410495a..d62a2dec4b 100644
--- a/hwdb.d/80-ieee1394-unit-function.hwdb
+++ b/hwdb.d/80-ieee1394-unit-function.hwdb
@@ -1399,3 +1399,19 @@ ieee1394:ven000001F2mo*sp000001F2ver00000024
ID_VENDOR_FROM_DATABASE=MOTU
ID_MODEL_FROM_DATABASE=MOTU V4HD
IEEE1394_UNIT_FUNCTION_VIDEO=1
+
+# Weiss Engineering MAN301 (DICE application): unit 0: AV/C devices 1.0.
+ieee1394:node:ven0x001c6amo0x00000bunits*0x00a02d:0x010001*
+ieee1394:ven00001C6Amo0000000Bsp0000A02Dver00010001
+ ID_VENDOR_FROM_DATABASE=Weiss Engineering Ltd.
+ ID_MODEL_FROM_DATABASE=MAN301
+ IEEE1394_UNIT_FUNCTION_AUDIO=1
+ IEEE1394_UNIT_FUNCTION_VIDEO=0
+
+# Weiss Engineering MAN301 (DICE application): unit 1: TCAT general protocol.
+ieee1394:node:ven0x001c6amo0x00000bunits*0x001c6a:0x000001*
+ieee1394:ven00001C6Amo0000000Bsp00001C6Aver00000001
+ ID_VENDOR_FROM_DATABASE=Weiss Engineering Ltd.
+ ID_MODEL_FROM_DATABASE=MAN301
+ IEEE1394_UNIT_FUNCTION_AUDIO=1
+ IEEE1394_UNIT_FUNCTION_VIDEO=0

Some files were not shown because too many files have changed in this diff Show More