Skip to content

Commit 92ae6af

Browse files
committed
Update to libwacom-2.7.0
1 parent 21ba755 commit 92ae6af

14 files changed

+64
-81
lines changed

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

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From a7475cd68d1e76d74bdb192652bdd5b7a879f1d7 Mon Sep 17 00:00:00 2001
1+
From 6fe89a80a28042bc57fd625ad82181e4092b95f2 Mon Sep 17 00:00:00 2001
22
From: Dorian Stoll <[email protected]>
33
Date: Sat, 27 Jun 2020 18:21:11 +0200
44
Subject: [PATCH 01/12] Add support for BUS_VIRTUAL
@@ -16,8 +16,8 @@ Signed-off-by: Dorian Stoll <[email protected]>
1616
libwacom/libwacom.c | 5 +++++
1717
libwacom/libwacom.h | 1 +
1818
test/test-tablet-validity.c | 1 +
19-
test/test_data_files.py | 2 +-
20-
5 files changed, 12 insertions(+), 1 deletion(-)
19+
test/test_data_files.py | 1 +
20+
5 files changed, 12 insertions(+)
2121

2222
diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c
2323
index 804ac3d..96aaa5e 100644
@@ -89,18 +89,17 @@ index 2095089..da5fe07 100644
8989
g_assert_cmpint(pid, >, 0);
9090
break;
9191
diff --git a/test/test_data_files.py b/test/test_data_files.py
92-
index d732bd1..4b21b6a 100755
92+
index c2db899..476aeca 100755
9393
--- a/test/test_data_files.py
9494
+++ b/test/test_data_files.py
95-
@@ -41,7 +41,7 @@ def test_device_match(tabletfile):
96-
continue
97-
98-
bus, vid, pid = match.split(':')[:3] # skip the name part of the match
99-
- assert bus in ['usb', 'bluetooth', 'i2c', 'serial'], f'{tabletfile}: unknown bus type'
100-
+ assert bus in ['usb', 'bluetooth', 'i2c', 'serial', 'virt'], f'{tabletfile}: unknown bus type'
101-
assert re.match('[0-9a-f]{4}', vid), f'{tabletfile}: {vid} must be lowercase hex'
102-
assert re.match('[0-9a-f]{4}', pid), f'{tabletfile}: {pid} must be lowercase hex'
103-
95+
@@ -46,6 +46,7 @@ def test_device_match(tabletfile):
96+
"bluetooth",
97+
"i2c",
98+
"serial",
99+
+ "virt",
100+
], f"{tabletfile}: unknown bus type"
101+
assert re.match(
102+
"[0-9a-f]{4}", vid
104103
--
105-
2.39.1
104+
2.40.1
106105

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

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From df9f3dc3b76fac2dae92e53250cc5ed8ed8f4c8a Mon Sep 17 00:00:00 2001
1+
From 10ef0701cdde200063a73b3db5bfb305a12909c2 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Sat, 1 Jun 2019 21:17:15 +0200
44
Subject: [PATCH 02/12] Add support for Intel Management Engine bus
@@ -11,8 +11,8 @@ the Microsoft Surface Books, Surface Pro 5 and 6, and Surface Laptops.
1111
libwacom/libwacom.c | 5 +++++
1212
libwacom/libwacom.h | 1 +
1313
test/test-tablet-validity.c | 1 +
14-
test/test_data_files.py | 2 +-
15-
5 files changed, 12 insertions(+), 1 deletion(-)
14+
test/test_data_files.py | 1 +
15+
5 files changed, 12 insertions(+)
1616

1717
diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c
1818
index 96aaa5e..cc3ecfd 100644
@@ -84,18 +84,17 @@ index da5fe07..6b45597 100644
8484
g_assert_cmpint(pid, >, 0);
8585
break;
8686
diff --git a/test/test_data_files.py b/test/test_data_files.py
87-
index 4b21b6a..04a1310 100755
87+
index 476aeca..cc739dd 100755
8888
--- a/test/test_data_files.py
8989
+++ b/test/test_data_files.py
90-
@@ -41,7 +41,7 @@ def test_device_match(tabletfile):
91-
continue
92-
93-
bus, vid, pid = match.split(':')[:3] # skip the name part of the match
94-
- assert bus in ['usb', 'bluetooth', 'i2c', 'serial', 'virt'], f'{tabletfile}: unknown bus type'
95-
+ assert bus in ['usb', 'bluetooth', 'i2c', 'serial', 'virt', 'mei'], f'{tabletfile}: unknown bus type'
96-
assert re.match('[0-9a-f]{4}', vid), f'{tabletfile}: {vid} must be lowercase hex'
97-
assert re.match('[0-9a-f]{4}', pid), f'{tabletfile}: {pid} must be lowercase hex'
98-
90+
@@ -47,6 +47,7 @@ def test_device_match(tabletfile):
91+
"i2c",
92+
"serial",
93+
"virt",
94+
+ "mei",
95+
], f"{tabletfile}: unknown bus type"
96+
assert re.match(
97+
"[0-9a-f]{4}", vid
9998
--
100-
2.39.1
99+
2.40.1
101100

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From f0bef3c18c6050f7fd3151a8dc504f777966bef3 Mon Sep 17 00:00:00 2001
1+
From 77664bc3c0be343b8e6acddb5bcb18bfb591da24 Mon Sep 17 00:00:00 2001
22
From: "Antony Jordan (Tablet)" <[email protected]>
33
Date: Wed, 8 Jun 2022 22:03:33 +0200
44
Subject: [PATCH 03/12] data: Add Microsoft Surface Pro 3
@@ -29,5 +29,5 @@ index 0000000..3238d43
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.39.1
32+
2.40.1
3333

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 30c13b66db3ab0d7037bfed649eb018dce6d64d4 Mon Sep 17 00:00:00 2001
1+
From fa3a6c733c16529098f5a5066eb8fd3051177d8f Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Tue, 18 Aug 2020 20:18:55 +0200
44
Subject: [PATCH 04/12] data: Add Microsoft Surface Pro 4
@@ -29,5 +29,5 @@ index 0000000..1e0c67c
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.39.1
32+
2.40.1
3333

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 435890e807f4af7bedd4977627b305b8e448b1b2 Mon Sep 17 00:00:00 2001
1+
From c1e48260b343e6616f1106ff4769ad11e9a0948b Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Tue, 18 Aug 2020 20:19:02 +0200
44
Subject: [PATCH 05/12] data: Add Microsoft Surface Pro 5
@@ -29,5 +29,5 @@ index 0000000..b26af3a
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.39.1
32+
2.40.1
3333

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 73304fe135721875de0bef2dbbde32285a81c4c3 Mon Sep 17 00:00:00 2001
1+
From ccacedf0af12ab54bfaacb7f286cf7611d52f2c4 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Tue, 18 Aug 2020 20:19:07 +0200
44
Subject: [PATCH 06/12] data: Add Microsoft Surface Pro 6
@@ -29,5 +29,5 @@ index 0000000..e97fad8
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.39.1
32+
2.40.1
3333

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 3dc12d92bd13fd38501e9bb2f6b3e1cc3b94ce5a Mon Sep 17 00:00:00 2001
1+
From 21fa2ae7428ae749938aef68a8498f23017bf4d0 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Tue, 18 Aug 2020 20:19:13 +0200
44
Subject: [PATCH 07/12] data: Add Microsoft Surface Pro 7
@@ -29,5 +29,5 @@ index 0000000..7961379
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.39.1
32+
2.40.1
3333

patches/v2/0008-data-Add-Microsoft-Surface-Book.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 1f047efd4bd7ab1d77b99d079bde082463ee47f0 Mon Sep 17 00:00:00 2001
1+
From 45d559ed17e818fd4bd26966c3b4c3fb833ad23b Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Tue, 18 Aug 2020 20:19:38 +0200
44
Subject: [PATCH 08/12] data: Add Microsoft Surface Book
@@ -29,5 +29,5 @@ index 0000000..e2a5401
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.39.1
32+
2.40.1
3333

patches/v2/0009-data-Add-Microsoft-Surface-Book-2-13.5.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 65e4bca15a972b86e1fdb8efb00ba6f0f3c89367 Mon Sep 17 00:00:00 2001
1+
From cad8b471eb747cdc53da8a8a16976352921e6fe2 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Tue, 18 Aug 2020 20:20:04 +0200
44
Subject: [PATCH 09/12] data: Add Microsoft Surface Book 2 (13.5")
@@ -29,5 +29,5 @@ index 0000000..b13cb07
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.39.1
32+
2.40.1
3333

patches/v2/0010-data-Add-Microsoft-Surface-Book-2-15.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From e0969b521e5ec1ee8563fe9ba1e1b61386ace57a Mon Sep 17 00:00:00 2001
1+
From ff81b9f652459ccef960516c2381bfc3cbe1d519 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Tue, 18 Aug 2020 20:20:13 +0200
44
Subject: [PATCH 10/12] data: Add Microsoft Surface Book 2 (15")
@@ -29,5 +29,5 @@ index 0000000..ad98cc7
2929
+Touch=true
3030
+Buttons=0
3131
--
32-
2.39.1
32+
2.40.1
3333

0 commit comments

Comments
 (0)