diff -Nru systemd-245.4/debian/changelog systemd-245.4/debian/changelog --- systemd-245.4/debian/changelog 2021-09-08 02:37:22.000000000 +0800 +++ systemd-245.4/debian/changelog 2021-09-14 18:02:42.000000000 +0800 @@ -1,3 +1,11 @@ +systemd (245.4-4ubuntu3.14) focal; urgency=medium + + * d/p/lp1943561-dell-clamshell-accel-location-base-with-sku.patch: + Add ACCEL_LOCATION=base property for 6 Dell clamshell models + (LP: #1943561) + + -- Yao Wei (魏銘廷) Tue, 14 Sep 2021 18:02:42 +0800 + systemd (245.4-4ubuntu3.13) focal; urgency=medium * d/p/dell-clamshell-accel-location-base-with-sku.patch: diff -Nru systemd-245.4/debian/patches/lp1943561-dell-clamshell-accel-location-base-with-sku.patch systemd-245.4/debian/patches/lp1943561-dell-clamshell-accel-location-base-with-sku.patch --- systemd-245.4/debian/patches/lp1943561-dell-clamshell-accel-location-base-with-sku.patch 1970-01-01 08:00:00.000000000 +0800 +++ systemd-245.4/debian/patches/lp1943561-dell-clamshell-accel-location-base-with-sku.patch 2021-09-14 18:02:42.000000000 +0800 @@ -0,0 +1,31 @@ +From: =?utf-8?b?IllhbyBXZWkgKOmtj+mKmOW7tyki?= +Date: Tue, 14 Sep 2021 17:55:56 +0800 +Subject: Add Dell models that requires ACCEL_LOCATION=base + +Origin: upstream, https://github.com/systemd/systemd/pull/20661 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1943561 + +This adds additional 6 models that without this param, the screen +rotates when the clamshell laptop rotates, which is an unwanted +behavior. +--- + 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 abedbac..da5c87c 100644 +--- a/hwdb.d/60-sensor.hwdb ++++ b/hwdb.d/60-sensor.hwdb +@@ -247,6 +247,12 @@ sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t* + # Dell + ######################################### + sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:pnVostro5581:* ++sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0A36:* ++sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0A3E:* ++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:* + ACCEL_LOCATION=base + + # Dell Venue 10 Pro 5055 diff -Nru systemd-245.4/debian/patches/series systemd-245.4/debian/patches/series --- systemd-245.4/debian/patches/series 2021-09-08 02:37:22.000000000 +0800 +++ systemd-245.4/debian/patches/series 2021-09-14 18:02:42.000000000 +0800 @@ -155,3 +155,4 @@ lp1935051-shared-unit-file-make-sure-the-old-hashmaps-and-sets.patch lp1934147/0001-cgroup-do-catchup-for-unit-cgroup-inotify-watch-file.patch lp1934147/0002-core-Make-sure-cgroup_oom_queue-is-flushed-on-manage.patch +lp1943561-dell-clamshell-accel-location-base-with-sku.patch