summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@canonical.com>2021-07-28 09:48:02 -0400
committerDan Streetman <ddstreet@canonical.com>2021-07-28 09:57:35 -0400
commit5c1be33900edee94da0dc9a4ade8edcd079b4c85 (patch)
tree533237b844f0833eef95dff948cd00c6e8a0b421
parent734b6fb6cbf1bcf3c73c4604681b3b93b1ca305d (diff)
Add ACCEL_LOCATION=base property for Dell clamshell models
LP: #1938259
-rw-r--r--debian/changelog4
-rw-r--r--debian/patches/dell-clamshell-accel-location-base.patch26
-rw-r--r--debian/patches/series1
3 files changed, 31 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 19656c37f8..077179d2e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
systemd (245.4-4ubuntu3.12) UNRELEASED; urgency=medium
+ [ Yao Wei ]
+ * d/p/dell-clamshell-accel-location-base.patch:
+ Add ACCEL_LOCATION=base property for Dell clamshell models (LP: #1938259)
+
[ Lukas Märdian ]
* Add d/p/lp1934221-resolved-disable-event-sources-before-unreffing-them.patch
- Fix segfault in systemd-resolve (LP: #1934221)
diff --git a/debian/patches/dell-clamshell-accel-location-base.patch b/debian/patches/dell-clamshell-accel-location-base.patch
new file mode 100644
index 0000000000..7070c5925e
--- /dev/null
+++ b/debian/patches/dell-clamshell-accel-location-base.patch
@@ -0,0 +1,26 @@
+From: Yao Wei <yao.wei@canonical.com>
+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 --git a/debian/patches/series b/debian/patches/series
index 8b6900d2aa..461ace3ff0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -152,3 +152,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
lp1937238-util-return-the-correct-correct-wd-from-inotify-help.patch
+dell-clamshell-accel-location-base.patch