Skip to content

Commit df6201a

Browse files
committed
Add support for more devices
Add support for - Surface Pro 8 - Surface Pro 9 - Surface Laptop Studio Additionally, re-arrange the patches in order of device names.
1 parent 2b05be5 commit df6201a

File tree

33 files changed

+318
-102
lines changed

33 files changed

+318
-102
lines changed

patches/v1/0001-Add-support-for-BUS_VIRTUAL.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 3f437a3a53b2159bb385335be0598f8859ff385f Mon Sep 17 00:00:00 2001
22
From: Dorian Stoll <[email protected]>
33
Date: Sat, 27 Jun 2020 18:21:11 +0200
4-
Subject: [PATCH 01/13] Add support for BUS_VIRTUAL
4+
Subject: [PATCH 01/16] Add support for BUS_VIRTUAL
55

66
This is needed to support IPTS devices through the iptsd userspace
77
daemon. It exposes the touchscreen / stylus as uinput, since the parsing
@@ -102,5 +102,5 @@ index 3953b1e..734463f 100755
102102
assert re.match('[0-9a-f]{4}', pid), f'{tabletfile}: {pid} must be lowercase hex'
103103

104104
--
105-
2.40.1
105+
2.41.0
106106

patches/v1/0002-Add-support-for-Intel-Management-Engine-bus.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 52157eec5eb3c6f172531f741d2897b0401ac6c2 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Sat, 1 Jun 2019 21:17:15 +0200
4-
Subject: [PATCH 02/13] Add support for Intel Management Engine bus
4+
Subject: [PATCH 02/16] Add support for Intel Management Engine bus
55

66
Add support for devices connected via the Intel Management Engine (MEI).
77
This is required to support IPTS based devices, such as (among others)
@@ -97,5 +97,5 @@ index 734463f..c9c6312 100755
9797
assert re.match('[0-9a-f]{4}', pid), f'{tabletfile}: {pid} must be lowercase hex'
9898

9999
--
100-
2.40.1
100+
2.41.0
101101

patches/v1/0003-data-Add-Microsoft-Surface-Pro-3.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 75db7ee0734d19b8d68ee1d2b8e85706e743cfc8 Mon Sep 17 00:00:00 2001
22
From: "Antony Jordan (Tablet)" <[email protected]>
33
Date: Wed, 8 Jun 2022 22:03:33 +0200
4-
Subject: [PATCH 03/13] data: Add Microsoft Surface Pro 3
4+
Subject: [PATCH 03/16] data: Add Microsoft Surface Pro 3
55

66
---
77
data/surface-pro3.tablet | 14 ++++++++++++++
@@ -29,5 +29,5 @@ index 0000000..3238d43
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.40.1
32+
2.41.0
3333

patches/v1/0004-data-Add-Microsoft-Surface-Pro-4.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From c8700d17bda8620d372e07c9789eba84984c6db1 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Tue, 18 Aug 2020 20:18:55 +0200
4-
Subject: [PATCH 04/13] data: Add Microsoft Surface Pro 4
4+
Subject: [PATCH 04/16] data: Add Microsoft Surface Pro 4
55

66
---
77
data/surface-pro4.tablet | 14 ++++++++++++++
@@ -29,5 +29,5 @@ index 0000000..1e0c67c
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.40.1
32+
2.41.0
3333

patches/v1/0005-data-Add-Microsoft-Surface-Pro-5.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 0531299aabb786c049e7046578f317f2e8999d26 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Tue, 18 Aug 2020 20:19:02 +0200
4-
Subject: [PATCH 05/13] data: Add Microsoft Surface Pro 5
4+
Subject: [PATCH 05/16] data: Add Microsoft Surface Pro 5
55

66
---
77
data/surface-pro5.tablet | 14 ++++++++++++++
@@ -29,5 +29,5 @@ index 0000000..b26af3a
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.40.1
32+
2.41.0
3333

patches/v1/0006-data-Add-Microsoft-Surface-Pro-6.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 2c4b1f3e0c2f7b8c06c439cbc01438ef92ba13b7 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Tue, 18 Aug 2020 20:19:07 +0200
4-
Subject: [PATCH 06/13] data: Add Microsoft Surface Pro 6
4+
Subject: [PATCH 06/16] data: Add Microsoft Surface Pro 6
55

66
---
77
data/surface-pro6.tablet | 14 ++++++++++++++
@@ -29,5 +29,5 @@ index 0000000..e97fad8
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.40.1
32+
2.41.0
3333

patches/v1/0007-data-Add-Microsoft-Surface-Pro-7.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From fb983a5b9bd17510c370d0b8d242dd48cd6b77f0 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Tue, 18 Aug 2020 20:19:13 +0200
4-
Subject: [PATCH 07/13] data: Add Microsoft Surface Pro 7
4+
Subject: [PATCH 07/16] data: Add Microsoft Surface Pro 7
55

66
---
77
data/surface-pro7.tablet | 14 ++++++++++++++
@@ -29,5 +29,5 @@ index 0000000..7961379
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.40.1
32+
2.41.0
3333

patches/v2/0013-data-Add-Microsoft-Surface-Pro-7.patch renamed to patches/v1/0008-data-Add-Microsoft-Surface-Pro-7.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From c748e1e7d0b37d6513717446b63eabbc3871bc0d Mon Sep 17 00:00:00 2001
1+
From 0756e4c76b4b3fbe81b51129893eb5a240be6a15 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Fri, 26 May 2023 12:32:21 +0200
4-
Subject: [PATCH 13/13] data: Add Microsoft Surface Pro 7+
4+
Subject: [PATCH 08/16] data: Add Microsoft Surface Pro 7+
55

66
Based on https://github.com/linux-surface/libwacom-surface/issues/12
77
---
@@ -30,5 +30,5 @@ index 0000000..36e1e3f
3030
+Touch=true
3131
+Buttons=0
3232
--
33-
2.40.1
33+
2.41.0
3434

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
From cfee67252f87151fe41437f46719eabc20c1236b Mon Sep 17 00:00:00 2001
2+
From: Maximilian Luz <[email protected]>
3+
Date: Sun, 11 Jun 2023 21:29:52 +0200
4+
Subject: [PATCH 09/16] data: Add Microsoft Surface Pro 8
5+
6+
Based on https://github.com/linux-surface/libwacom-surface/issues/13
7+
---
8+
data/surface-pro8.tablet | 14 ++++++++++++++
9+
1 file changed, 14 insertions(+)
10+
create mode 100644 data/surface-pro8.tablet
11+
12+
diff --git a/data/surface-pro8.tablet b/data/surface-pro8.tablet
13+
new file mode 100644
14+
index 0000000..fe779af
15+
--- /dev/null
16+
+++ b/data/surface-pro8.tablet
17+
@@ -0,0 +1,14 @@
18+
+# This is for the Microsoft Surface Pro 8
19+
+
20+
+[Device]
21+
+Name=Microsoft Surface Pro 8
22+
+Class=PenDisplay
23+
+DeviceMatch=virt:045e:0c37
24+
+Width=10
25+
+Height=6
26+
+IntegratedIn=Display;System;
27+
+
28+
+[Features]
29+
+Stylus=false
30+
+Touch=true
31+
+Buttons=0
32+
--
33+
2.41.0
34+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
From fe48b903f11ba7ef0f638eb9dea22dfdd8302831 Mon Sep 17 00:00:00 2001
2+
From: Maximilian Luz <[email protected]>
3+
Date: Wed, 14 Jun 2023 21:11:36 +0200
4+
Subject: [PATCH 10/16] data: Add Microsoft Surface Pro 9
5+
6+
IDs taken from https://github.com/quo/ithc-linux/issues/5
7+
---
8+
data/surface-pro9.tablet | 14 ++++++++++++++
9+
1 file changed, 14 insertions(+)
10+
create mode 100644 data/surface-pro9.tablet
11+
12+
diff --git a/data/surface-pro9.tablet b/data/surface-pro9.tablet
13+
new file mode 100644
14+
index 0000000..e5ccf68
15+
--- /dev/null
16+
+++ b/data/surface-pro9.tablet
17+
@@ -0,0 +1,14 @@
18+
+# This is for the Microsoft Surface Pro 9
19+
+
20+
+[Device]
21+
+Name=Microsoft Surface Pro 9
22+
+Class=PenDisplay
23+
+DeviceMatch=virt:045e:0c52
24+
+Width=10
25+
+Height=6
26+
+IntegratedIn=Display;System;
27+
+
28+
+[Features]
29+
+Stylus=false
30+
+Touch=true
31+
+Buttons=0
32+
--
33+
2.41.0
34+

0 commit comments

Comments
 (0)