diff -Nru systemd-247.3/debian/changelog systemd-247.3/debian/changelog --- systemd-247.3/debian/changelog 2021-09-08 02:34:22.000000000 +0800 +++ systemd-247.3/debian/changelog 2021-09-14 18:32:12.000000000 +0800 @@ -1,3 +1,11 @@ +systemd (247.3-3ubuntu3.7) hirsute; 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:32:12 +0800 + systemd (247.3-3ubuntu3.6) hirsute; urgency=medium * d/p/dell-clamshell-accel-location-base-with-sku.patch: diff -Nru systemd-247.3/debian/patches/lp1943561-dell-clamshell-accel-location-base-with-sku.patch systemd-247.3/debian/patches/lp1943561-dell-clamshell-accel-location-base-with-sku.patch --- systemd-247.3/debian/patches/lp1943561-dell-clamshell-accel-location-base-with-sku.patch 1970-01-01 08:00:00.000000000 +0800 +++ systemd-247.3/debian/patches/lp1943561-dell-clamshell-accel-location-base-with-sku.patch 2021-09-14 18:32:12.000000000 +0800 @@ -0,0 +1,33 @@ +From: =?utf-8?b?IllhbyBXZWkgKOmtj+mKmOW7tyki?= +Date: Tue, 14 Sep 2021 18:30:26 +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 | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb +index 0f75fd1..3db3f1a 100644 +--- a/hwdb.d/60-sensor.hwdb ++++ b/hwdb.d/60-sensor.hwdb +@@ -293,6 +293,14 @@ sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:pnLatitude9520:*:ct10:* + sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:pnLatitude7420:* + ACCEL_LOCATION=base + ++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 8 Pro 3845 + sensor:modalias:acpi:INVN6500*:dmi:*svnDellInc.*:pnVenue8Pro3845:* + ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 diff -Nru systemd-247.3/debian/patches/series systemd-247.3/debian/patches/series --- systemd-247.3/debian/patches/series 2021-09-08 02:34:22.000000000 +0800 +++ systemd-247.3/debian/patches/series 2021-09-14 18:32:12.000000000 +0800 @@ -101,3 +101,4 @@ CVE-2021-33910.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