From 385c568863997cd357a1b6ed2f0f78293b89c66c Mon Sep 17 00:00:00 2001 From: tigro Date: Wed, 30 Oct 2024 18:40:46 +0300 Subject: [PATCH] Added support of Inferit Eclipse accelerometer --- ...ort-of-Inferit-Eclipse-accelerometer.patch | 26 +++++++++++++++++++ SPECS/systemd.spec | 5 ++++ 2 files changed, 31 insertions(+) create mode 100644 SOURCES/5000-Added-support-of-Inferit-Eclipse-accelerometer.patch diff --git a/SOURCES/5000-Added-support-of-Inferit-Eclipse-accelerometer.patch b/SOURCES/5000-Added-support-of-Inferit-Eclipse-accelerometer.patch new file mode 100644 index 0000000..53fb8e6 --- /dev/null +++ b/SOURCES/5000-Added-support-of-Inferit-Eclipse-accelerometer.patch @@ -0,0 +1,26 @@ +From 0ef3440b393b8e13b3f5796bfbbd984f8d5bb115 Mon Sep 17 00:00:00 2001 +From: tigro +Date: Tue, 4 Jun 2024 15:31:32 +0300 +Subject: [PATCH] Added support of Inferit Eclipse accelerometer + +--- + 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 0008715..2b3a8fc 100644 +--- a/hwdb.d/60-sensor.hwdb ++++ b/hwdb.d/60-sensor.hwdb +@@ -997,3 +997,9 @@ sensor:modalias:acpi:KIOX000A*:dmi:*:svnWortmann_AG:pnTERRA_PAD_1061:* + ######################################### + sensor:modalias:acpi:BMA250E*:dmi:*:svnYOURS:pnY8W81:* + ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 ++ ++######################################### ++# Inferit Eclipse ++######################################### ++sensor:modalias:acpi:STKH8321*:dmi:*:svnINFERIT:pnEclipse:* ++ ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1 +-- +2.45.1 + diff --git a/SPECS/systemd.spec b/SPECS/systemd.spec index b22eb1a..eeb1f71 100644 --- a/SPECS/systemd.spec +++ b/SPECS/systemd.spec @@ -1132,6 +1132,10 @@ Patch1040: 1040-efi-don-t-pull-kernel-cmdline-from-SMBIOS-in-a-confi.patch Patch1041: 1041-Fix-detection-of-TDX-confidential-VM-on-Azure-platfo.patch Patch1042: 1042-ukify-Skip-test-on-architectures-without-UEFI.patch +# MSVSphere +# Added support of Inferit Eclipse accelerometer +Patch5000: 5000-Added-support-of-Inferit-Eclipse-accelerometer.patch + # Downstream-only patches (9000–9999) %ifarch %{ix86} x86_64 aarch64 @@ -2030,6 +2034,7 @@ systemd-hwdb update &>/dev/null || : %changelog * Thu Nov 14 2024 Arkady L. Shane - 252-46.2.inferit - Change email +- Added support of Inferit Eclipse accelerometer * Tue Sep 10 2024 systemd maintenance team - 252-46.2 - add %%posttrans scriptlet to make sure our SELinux policy module is actually installed (RHEL-46339)