1- From 1b05921d0832770f31544ec252a8fedbd3b8db2c Mon Sep 17 00:00:00 2001
1+ From dc3f22ed257f40bb2eb086f5379208e4400e8530 Mon Sep 17 00:00:00 2001
22From: Maximilian Luz <
[email protected] >
33Date: Sat, 1 Jun 2019 21:17:15 +0200
44Subject: [PATCH 02/12] Add support for Intel Management Engine bus
@@ -7,12 +7,25 @@ Add support for devices connected via the Intel Management Engine (MEI).
77This is required to support IPTS based devices, such as (among others)
88the Microsoft Surface Books, Surface Pro 5 and 6, and Surface Laptops.
99---
10+ data/test_data_files.py | 2 +-
1011 libwacom/libwacom-database.c | 4 ++++
1112 libwacom/libwacom.c | 5 +++++
1213 libwacom/libwacom.h | 1 +
1314 test/test-tablet-validity.c | 1 +
14- 4 files changed, 11 insertions(+)
15+ 5 files changed, 12 insertions(+), 1 deletion(- )
1516
17+ diff --git a/data/test_data_files.py b/data/test_data_files.py
18+ index cb5ca6d..466b18a 100755
19+ --- a/data/test_data_files.py
20+ +++ b/data/test_data_files.py
21+ @@ -29,6 +29,6 @@ def test_device_match(tabletfile):
22+ continue
23+
24+ bus, vid, pid = match.split(':')[:3] # skip the name part of the match
25+ - assert bus in ['usb', 'bluetooth', 'i2c', 'serial', 'virt'], f'{tabletfile}: unknown bus type'
26+ + assert bus in ['usb', 'bluetooth', 'i2c', 'serial', 'virt', 'mei'], f'{tabletfile}: unknown bus type'
27+ assert re.match('[0-9a-f]{4}', vid), f'{tabletfile}: {vid} must be lowercase hex'
28+ assert re.match('[0-9a-f]{4}', pid), f'{tabletfile}: {pid} must be lowercase hex'
1629diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c
1730index 7be5247..37ffd37 100644
1831--- a/libwacom/libwacom-database.c
0 commit comments