diff -Nru systemd-247.3/debian/changelog systemd-247.3/debian/changelog --- systemd-247.3/debian/changelog 2021-07-20 19:38:18.000000000 +0800 +++ systemd-247.3/debian/changelog 2021-07-28 16:32:40.000000000 +0800 @@ -1,3 +1,10 @@ +systemd (247.3-3ubuntu3.5) hirsute; urgency=medium + + * Use SKU to identify Dell clamshell models for accelerometer properties + (LP: #1938259) + + -- Yao Wei Wed, 28 Jul 2021 16:32:40 +0800 + systemd (247.3-3ubuntu3.4) hirsute-security; urgency=medium * SECURITY UPDATE: DoS via DHCP FORCERENEW diff -Nru systemd-247.3/debian/patches/dell-clamshell-accel-location-base-with-sku.patch systemd-247.3/debian/patches/dell-clamshell-accel-location-base-with-sku.patch --- systemd-247.3/debian/patches/dell-clamshell-accel-location-base-with-sku.patch 1970-01-01 08:00:00.000000000 +0800 +++ systemd-247.3/debian/patches/dell-clamshell-accel-location-base-with-sku.patch 2021-07-28 16:32:40.000000000 +0800 @@ -0,0 +1,30 @@ +From: Yao Wei +Date: Tue, 27 Jul 2021 14:05:28 +0800 +Subject: [PATCH] Use SKU to identify Dell clamshell models for accelerometer + properties + +As per request from Dell, we need to use sku property of modalias that +is patched into linux 5.13 for model identification: + + https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e26f023e01ef26b4138bc1099af309bdc4523d23 +--- + 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 0f75fd1..1df69a5 100644 +--- a/hwdb.d/60-sensor.hwdb ++++ b/hwdb.d/60-sensor.hwdb +@@ -287,10 +287,10 @@ sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t:* + sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:pnVostro5581:* + ACCEL_LOCATION=base + +-sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:pnLatitude9520:*:ct10:* ++sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0A3E:* + ACCEL_LOCATION=base + +-sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:pnLatitude7420:* ++sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B0B:* + ACCEL_LOCATION=base + + # Dell Venue 8 Pro 3845 diff -Nru systemd-247.3/debian/patches/series systemd-247.3/debian/patches/series --- systemd-247.3/debian/patches/series 2021-07-20 19:38:11.000000000 +0800 +++ systemd-247.3/debian/patches/series 2021-07-28 16:32:40.000000000 +0800 @@ -96,3 +96,4 @@ lp1891215/0004-fs-util-make-sure-conservative_renameat-properly-det.patch CVE-2020-13529.patch CVE-2021-33910.patch +dell-clamshell-accel-location-base-with-sku.patch