diff -Nru systemd-245.4/debian/changelog systemd-245.4/debian/changelog --- systemd-245.4/debian/changelog 2021-07-22 03:00:21.000000000 +0800 +++ systemd-245.4/debian/changelog 2021-07-28 15:27:14.000000000 +0800 @@ -1,3 +1,9 @@ +systemd (245.4-4ubuntu3.12) focal; urgency=medium + + * Add ACCEL_LOCATION=base property for Dell clamshell models (LP: #1938259) + + -- Yao Wei Wed, 28 Jul 2021 15:27:14 +0800 + systemd (245.4-4ubuntu3.11) focal-security; urgency=medium * d/p/lp1937117/0001-revert-lp1929560-network-move-set-MAC-and-set-nomaster-operations-out.patch, diff -Nru systemd-245.4/debian/patches/dell-clamshell-accel-location-base.patch systemd-245.4/debian/patches/dell-clamshell-accel-location-base.patch --- systemd-245.4/debian/patches/dell-clamshell-accel-location-base.patch 1970-01-01 08:00:00.000000000 +0800 +++ systemd-245.4/debian/patches/dell-clamshell-accel-location-base.patch 2021-07-28 15:27:14.000000000 +0800 @@ -0,0 +1,26 @@ +From: Yao Wei +Date: Wed, 28 Jul 2021 10:45:44 +0800 +Subject: Add ACCEL_LOCATION=base property for Dell clamshell models + +Origin: upstream, https://github.com/systemd/systemd/pull/20314 +--- + 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..e19a3e9 100644 +--- a/hwdb.d/60-sensor.hwdb ++++ b/hwdb.d/60-sensor.hwdb +@@ -249,6 +249,12 @@ 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*:sku0A3E:* ++ ACCEL_LOCATION=base ++ ++sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:sku0B0B:* ++ ACCEL_LOCATION=base ++ + # Dell Venue 10 Pro 5055 + sensor:modalias:acpi:INVN6500*:dmi:*svnDell*:pnVenue10Pro5055* + ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1 diff -Nru systemd-245.4/debian/patches/series systemd-245.4/debian/patches/series --- systemd-245.4/debian/patches/series 2021-07-22 03:00:21.000000000 +0800 +++ systemd-245.4/debian/patches/series 2021-07-28 15:27:14.000000000 +0800 @@ -148,3 +148,4 @@ CVE-2021-33910.patch lp1937117/0001-revert-lp1929560-network-move-set-MAC-and-set-nomaster-operations-out.patch lp1937117/0002-avoid-changing-interface-master-if-interface-already-up.patch +dell-clamshell-accel-location-base.patch