Mir

Merge lp:~brandontschaefer/mir/add-umock-device into lp:mir

Proposed by Brandon Schaefer
Status: Merged
Approved by: Brandon Schaefer
Approved revision: no longer in the source branch.
Merged at revision: 3019
Proposed branch: lp:~brandontschaefer/mir/add-umock-device
Merge into: lp:mir
Diff against target: 552 lines (+444/-81)
5 files modified
tests/mir_test_framework/udev_recordings/laptop-keyboard-hello.evemu (+5/-81)
tests/mir_test_framework/udev_recordings/laptop-mouse-click.evemu (+136/-0)
tests/mir_test_framework/udev_recordings/laptop-mouse-motion.evemu (+153/-0)
tests/mir_test_framework/udev_recordings/laptop-mouse.ioctl (+22/-0)
tests/mir_test_framework/udev_recordings/laptop-mouse.umockdev (+128/-0)
To merge this branch: bzr merge lp:~brandontschaefer/mir/add-umock-device
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Chris Halse Rogers Approve
Alan Griffiths Approve
Review via email: mp+274053@code.launchpad.net

Commit message

These will be used for testing cookies.

Fix the laptop keyboard hello as its timestamps cause the test to go much slower then it needs to.

Description of the change

These will be used for testing cookies.

Fix the laptop keyboard hello as its timestamps cause the test to go much slower then it needs to.

https://code.launchpad.net/~mir-team/mir/attestable-timestamps-client/+merge/271715

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

I don't see this being harmful.

review: Approve
Revision history for this message
Chris Halse Rogers (raof) wrote :

I'm slightly concerned about sending all the events at timestamp 0, but this should only cause tests to supriously fail, so we'll notice if that's a problem :)

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/mir_test_framework/udev_recordings/laptop-keyboard-hello.evemu'
2--- tests/mir_test_framework/udev_recordings/laptop-keyboard-hello.evemu 2015-09-08 21:22:41 +0000
3+++ tests/mir_test_framework/udev_recordings/laptop-keyboard-hello.evemu 2015-10-10 17:56:23 +0000
4@@ -189,84 +189,8 @@
5 ################################
6 # Waiting for events #
7 ################################
8-E: 0.000000 0004 0004 0028 # EV_MSC / MSC_SCAN 28
9-E: 0.000000 0001 001c 0000 # EV_KEY / KEY_ENTER 0
10-E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
11-E: 0.825945 0004 0004 0054 # EV_MSC / MSC_SCAN 54
12-E: 0.825945 0001 0036 0001 # EV_KEY / KEY_RIGHTSHIFT 1
13-E: 0.825945 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
14-E: 1.101404 0004 0004 0054 # EV_MSC / MSC_SCAN 54
15-E: 1.101404 0001 0036 0002 # EV_KEY / KEY_RIGHTSHIFT 2
16-E: 1.101404 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
17-E: 1.131449 0004 0004 0054 # EV_MSC / MSC_SCAN 54
18-E: 1.131449 0001 0036 0002 # EV_KEY / KEY_RIGHTSHIFT 2
19-E: 1.131449 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
20-E: 1.161472 0004 0004 0036 # EV_MSC / MSC_SCAN 36
21-E: 1.161472 0001 0024 0001 # EV_KEY / KEY_J 1
22-E: 1.161472 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
23-E: 1.221981 0004 0004 0036 # EV_MSC / MSC_SCAN 36
24-E: 1.221981 0001 0024 0000 # EV_KEY / KEY_J 0
25-E: 1.221981 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
26-E: 1.241906 0004 0004 0054 # EV_MSC / MSC_SCAN 54
27-E: 1.241906 0001 0036 0000 # EV_KEY / KEY_RIGHTSHIFT 0
28-E: 1.241906 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
29-E: 1.346773 0004 0004 0032 # EV_MSC / MSC_SCAN 32
30-E: 1.346773 0001 0020 0001 # EV_KEY / KEY_D 1
31-E: 1.346773 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
32-E: 1.432213 0004 0004 0032 # EV_MSC / MSC_SCAN 32
33-E: 1.432213 0001 0020 0000 # EV_KEY / KEY_D 0
34-E: 1.432213 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
35-E: 1.562060 0004 0004 0025 # EV_MSC / MSC_SCAN 25
36-E: 1.562060 0001 0019 0001 # EV_KEY / KEY_P 1
37-E: 1.562060 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
38-E: 1.622477 0004 0004 0025 # EV_MSC / MSC_SCAN 25
39-E: 1.622477 0001 0019 0000 # EV_KEY / KEY_P 0
40-E: 1.622477 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
41-E: 1.687305 0004 0004 0025 # EV_MSC / MSC_SCAN 25
42-E: 1.687305 0001 0019 0001 # EV_KEY / KEY_P 1
43-E: 1.687305 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
44-E: 1.777807 0004 0004 0025 # EV_MSC / MSC_SCAN 25
45-E: 1.777807 0001 0019 0000 # EV_KEY / KEY_P 0
46-E: 1.777807 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
47-E: 1.867577 0004 0004 0031 # EV_MSC / MSC_SCAN 31
48-E: 1.867577 0001 001f 0001 # EV_KEY / KEY_S 1
49-E: 1.867577 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
50-E: 1.953019 0004 0004 0031 # EV_MSC / MSC_SCAN 31
51-E: 1.953019 0001 001f 0000 # EV_KEY / KEY_S 0
52-E: 1.953019 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
53-E: 2.118004 0004 0004 0054 # EV_MSC / MSC_SCAN 54
54-E: 2.118004 0001 0036 0001 # EV_KEY / KEY_RIGHTSHIFT 1
55-E: 2.118004 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
56-E: 2.348316 0004 0004 0002 # EV_MSC / MSC_SCAN 2
57-E: 2.348316 0001 0002 0001 # EV_KEY / KEY_1 1
58-E: 2.348316 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
59-E: 2.489561 0004 0004 0002 # EV_MSC / MSC_SCAN 2
60-E: 2.489561 0001 0002 0000 # EV_KEY / KEY_1 0
61-E: 2.489561 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
62-E: 2.523740 0004 0004 0054 # EV_MSC / MSC_SCAN 54
63-E: 2.523740 0001 0036 0000 # EV_KEY / KEY_RIGHTSHIFT 0
64-E: 2.523740 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
65-E: 6.714286 0004 0004 0029 # EV_MSC / MSC_SCAN 29
66-E: 6.714286 0001 001d 0001 # EV_KEY / KEY_LEFTCTRL 1
67-E: 6.714286 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
68-E: 6.989728 0004 0004 0029 # EV_MSC / MSC_SCAN 29
69-E: 6.989728 0001 001d 0002 # EV_KEY / KEY_LEFTCTRL 2
70-E: 6.989728 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
71-E: 7.019767 0004 0004 0029 # EV_MSC / MSC_SCAN 29
72-E: 7.019767 0001 001d 0002 # EV_KEY / KEY_LEFTCTRL 2
73-E: 7.019767 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
74-E: 7.049847 0004 0004 0029 # EV_MSC / MSC_SCAN 29
75-E: 7.049847 0001 001d 0002 # EV_KEY / KEY_LEFTCTRL 2
76-E: 7.049847 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
77-E: 7.079889 0004 0004 0029 # EV_MSC / MSC_SCAN 29
78-E: 7.079889 0001 001d 0002 # EV_KEY / KEY_LEFTCTRL 2
79-E: 7.079889 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
80-E: 7.109934 0004 0004 0029 # EV_MSC / MSC_SCAN 29
81-E: 7.109934 0001 001d 0002 # EV_KEY / KEY_LEFTCTRL 2
82-E: 7.109934 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
83-E: 7.139943 0004 0004 0029 # EV_MSC / MSC_SCAN 29
84-E: 7.139943 0001 001d 0002 # EV_KEY / KEY_LEFTCTRL 2
85-E: 7.139943 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
86-E: 7.170005 0004 0004 0023 # EV_MSC / MSC_SCAN 23
87-E: 7.170005 0001 0017 0001 # EV_KEY / KEY_I 1
88-E: 7.170005 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
89+E: 0.000000 0004 0004 0028 # EV_MSC / MSC_SCAN 28
90+E: 0.000000 0001 001c 0000 # EV_KEY / KEY_ENTER 0
91+E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
92+E: 0.000000 0004 0004 0036 # EV_MSC / MSC_SCAN 36
93+E: 0.000000 0001 0024 0001 # EV_KEY / KEY_J 1
94
95=== added file 'tests/mir_test_framework/udev_recordings/laptop-mouse-click.evemu'
96--- tests/mir_test_framework/udev_recordings/laptop-mouse-click.evemu 1970-01-01 00:00:00 +0000
97+++ tests/mir_test_framework/udev_recordings/laptop-mouse-click.evemu 2015-10-10 17:56:23 +0000
98@@ -0,0 +1,136 @@
99+# device /dev/input/event5
100+# EVEMU 1.2
101+# Input device name: "SynPS/2 Synaptics TouchPad"
102+# Input device ID: bus 0x11 vendor 0x02 product 0x07 version 0x1b1
103+# Supported events:
104+# Event type 0 (EV_SYN)
105+# Event code 0 (SYN_REPORT)
106+# Event code 1 (SYN_CONFIG)
107+# Event code 2 (SYN_MT_REPORT)
108+# Event code 3 (SYN_DROPPED)
109+# Event code 4 ((null))
110+# Event code 5 ((null))
111+# Event code 6 ((null))
112+# Event code 7 ((null))
113+# Event code 8 ((null))
114+# Event code 9 ((null))
115+# Event code 10 ((null))
116+# Event code 11 ((null))
117+# Event code 12 ((null))
118+# Event code 13 ((null))
119+# Event code 14 ((null))
120+# Event type 1 (EV_KEY)
121+# Event code 272 (BTN_LEFT)
122+# Event code 273 (BTN_RIGHT)
123+# Event code 325 (BTN_TOOL_FINGER)
124+# Event code 330 (BTN_TOUCH)
125+# Event code 333 (BTN_TOOL_DOUBLETAP)
126+# Event code 334 (BTN_TOOL_TRIPLETAP)
127+# Event type 3 (EV_ABS)
128+# Event code 0 (ABS_X)
129+# Value 2840
130+# Min 1472
131+# Max 5470
132+# Fuzz 0
133+# Flat 0
134+# Resolution 60
135+# Event code 1 (ABS_Y)
136+# Value 2457
137+# Min 1408
138+# Max 4498
139+# Fuzz 0
140+# Flat 0
141+# Resolution 85
142+# Event code 24 (ABS_PRESSURE)
143+# Value 0
144+# Min 0
145+# Max 255
146+# Fuzz 0
147+# Flat 0
148+# Resolution 0
149+# Event code 28 (ABS_TOOL_WIDTH)
150+# Value 0
151+# Min 0
152+# Max 15
153+# Fuzz 0
154+# Flat 0
155+# Resolution 0
156+# Event code 47 (ABS_MT_SLOT)
157+# Value 0
158+# Min 0
159+# Max 1
160+# Fuzz 0
161+# Flat 0
162+# Resolution 0
163+# Event code 53 (ABS_MT_POSITION_X)
164+# Value 0
165+# Min 1472
166+# Max 5470
167+# Fuzz 0
168+# Flat 0
169+# Resolution 60
170+# Event code 54 (ABS_MT_POSITION_Y)
171+# Value 0
172+# Min 1408
173+# Max 4498
174+# Fuzz 0
175+# Flat 0
176+# Resolution 85
177+# Event code 57 (ABS_MT_TRACKING_ID)
178+# Value 0
179+# Min 0
180+# Max 65535
181+# Fuzz 0
182+# Flat 0
183+# Resolution 0
184+# Properties:
185+# Property type 0 (INPUT_PROP_POINTER)
186+# Property type 3 (INPUT_PROP_SEMI_MT)
187+# N: SynPS/2 Synaptics TouchPad
188+# I: 0011 0002 0007 01b1
189+# P: 09 00 00 00 00 00 00 00
190+# B: 00 0b 00 00 00 00 00 00 00
191+# B: 01 00 00 00 00 00 00 00 00
192+# B: 01 00 00 00 00 00 00 00 00
193+# B: 01 00 00 00 00 00 00 00 00
194+# B: 01 00 00 00 00 00 00 00 00
195+# B: 01 00 00 03 00 00 00 00 00
196+# B: 01 20 64 00 00 00 00 00 00
197+# B: 01 00 00 00 00 00 00 00 00
198+# B: 01 00 00 00 00 00 00 00 00
199+# B: 01 00 00 00 00 00 00 00 00
200+# B: 01 00 00 00 00 00 00 00 00
201+# B: 01 00 00 00 00 00 00 00 00
202+# B: 01 00 00 00 00 00 00 00 00
203+# B: 02 00 00 00 00 00 00 00 00
204+# B: 03 03 00 00 11 00 80 60 02
205+# B: 04 00 00 00 00 00 00 00 00
206+# B: 05 00 00 00 00 00 00 00 00
207+# B: 11 00 00 00 00 00 00 00 00
208+# B: 12 00 00 00 00 00 00 00 00
209+# B: 14 00 00 00 00 00 00 00 00
210+# B: 15 00 00 00 00 00 00 00 00
211+# B: 15 00 00 00 00 00 00 00 00
212+# A: 00 1472 5470 0 0 60
213+# A: 01 1408 4498 0 0 85
214+# A: 18 0 255 0 0 0
215+# A: 1c 0 15 0 0 0
216+# A: 2f 0 1 0 0 0
217+# A: 35 1472 5470 0 0 60
218+# A: 36 1408 4498 0 0 85
219+# A: 39 0 65535 0 0 0
220+################################
221+# Waiting for events #
222+################################
223+E: 0.000000 0001 0110 0001 # EV_KEY / BTN_LEFT 1
224+E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
225+E: 0.000000 0001 0110 0000 # EV_KEY / BTN_LEFT 0
226+E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
227+E: 0.000000 0001 0110 0001 # EV_KEY / BTN_LEFT 1
228+E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
229+E: 0.000000 0001 0110 0000 # EV_KEY / BTN_LEFT 0
230+E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
231+E: 0.000000 0001 0110 0001 # EV_KEY / BTN_LEFT 1
232+E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
233+E: 0.000000 0001 0110 0000 # EV_KEY / BTN_LEFT 0
234+E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
235
236=== added file 'tests/mir_test_framework/udev_recordings/laptop-mouse-motion.evemu'
237--- tests/mir_test_framework/udev_recordings/laptop-mouse-motion.evemu 1970-01-01 00:00:00 +0000
238+++ tests/mir_test_framework/udev_recordings/laptop-mouse-motion.evemu 2015-10-10 17:56:23 +0000
239@@ -0,0 +1,153 @@
240+# device /dev/input/event5
241+# EVEMU 1.2
242+# Input device name: "SynPS/2 Synaptics TouchPad"
243+# Input device ID: bus 0x11 vendor 0x02 product 0x07 version 0x1b1
244+# Supported events:
245+# Event type 0 (EV_SYN)
246+# Event code 0 (SYN_REPORT)
247+# Event code 1 (SYN_CONFIG)
248+# Event code 2 (SYN_MT_REPORT)
249+# Event code 3 (SYN_DROPPED)
250+# Event code 4 ((null))
251+# Event code 5 ((null))
252+# Event code 6 ((null))
253+# Event code 7 ((null))
254+# Event code 8 ((null))
255+# Event code 9 ((null))
256+# Event code 10 ((null))
257+# Event code 11 ((null))
258+# Event code 12 ((null))
259+# Event code 13 ((null))
260+# Event code 14 ((null))
261+# Event type 1 (EV_KEY)
262+# Event code 272 (BTN_LEFT)
263+# Event code 273 (BTN_RIGHT)
264+# Event code 325 (BTN_TOOL_FINGER)
265+# Event code 330 (BTN_TOUCH)
266+# Event code 333 (BTN_TOOL_DOUBLETAP)
267+# Event code 334 (BTN_TOOL_TRIPLETAP)
268+# Event type 3 (EV_ABS)
269+# Event code 0 (ABS_X)
270+# Value 4171
271+# Min 1472
272+# Max 5470
273+# Fuzz 0
274+# Flat 0
275+# Resolution 60
276+# Event code 1 (ABS_Y)
277+# Value 3320
278+# Min 1408
279+# Max 4498
280+# Fuzz 0
281+# Flat 0
282+# Resolution 85
283+# Event code 24 (ABS_PRESSURE)
284+# Value 0
285+# Min 0
286+# Max 255
287+# Fuzz 0
288+# Flat 0
289+# Resolution 0
290+# Event code 28 (ABS_TOOL_WIDTH)
291+# Value 0
292+# Min 0
293+# Max 15
294+# Fuzz 0
295+# Flat 0
296+# Resolution 0
297+# Event code 47 (ABS_MT_SLOT)
298+# Value 0
299+# Min 0
300+# Max 1
301+# Fuzz 0
302+# Flat 0
303+# Resolution 0
304+# Event code 53 (ABS_MT_POSITION_X)
305+# Value 0
306+# Min 1472
307+# Max 5470
308+# Fuzz 0
309+# Flat 0
310+# Resolution 60
311+# Event code 54 (ABS_MT_POSITION_Y)
312+# Value 0
313+# Min 1408
314+# Max 4498
315+# Fuzz 0
316+# Flat 0
317+# Resolution 85
318+# Event code 57 (ABS_MT_TRACKING_ID)
319+# Value 0
320+# Min 0
321+# Max 65535
322+# Fuzz 0
323+# Flat 0
324+# Resolution 0
325+# Properties:
326+# Property type 0 (INPUT_PROP_POINTER)
327+# Property type 3 (INPUT_PROP_SEMI_MT)
328+# N: SynPS/2 Synaptics TouchPad
329+# I: 0011 0002 0007 01b1
330+# P: 09 00 00 00 00 00 00 00
331+# B: 00 0b 00 00 00 00 00 00 00
332+# B: 01 00 00 00 00 00 00 00 00
333+# B: 01 00 00 00 00 00 00 00 00
334+# B: 01 00 00 00 00 00 00 00 00
335+# B: 01 00 00 00 00 00 00 00 00
336+# B: 01 00 00 03 00 00 00 00 00
337+# B: 01 20 64 00 00 00 00 00 00
338+# B: 01 00 00 00 00 00 00 00 00
339+# B: 01 00 00 00 00 00 00 00 00
340+# B: 01 00 00 00 00 00 00 00 00
341+# B: 01 00 00 00 00 00 00 00 00
342+# B: 01 00 00 00 00 00 00 00 00
343+# B: 01 00 00 00 00 00 00 00 00
344+# B: 02 00 00 00 00 00 00 00 00
345+# B: 03 03 00 00 11 00 80 60 02
346+# B: 04 00 00 00 00 00 00 00 00
347+# B: 05 00 00 00 00 00 00 00 00
348+# B: 11 00 00 00 00 00 00 00 00
349+# B: 12 00 00 00 00 00 00 00 00
350+# B: 14 00 00 00 00 00 00 00 00
351+# B: 15 00 00 00 00 00 00 00 00
352+# B: 15 00 00 00 00 00 00 00 00
353+# A: 00 1472 5470 0 0 60
354+# A: 01 1408 4498 0 0 85
355+# A: 18 0 255 0 0 0
356+# A: 1c 0 15 0 0 0
357+# A: 2f 0 1 0 0 0
358+# A: 35 1472 5470 0 0 60
359+# A: 36 1408 4498 0 0 85
360+# A: 39 0 65535 0 0 0
361+################################
362+# Waiting for events #
363+################################
364+E: 0.000000 0003 0039 0137 # EV_ABS / ABS_MT_TRACKING_ID 137
365+E: 0.000000 0003 0035 3461 # EV_ABS / ABS_MT_POSITION_X 3461
366+E: 0.000000 0003 0036 2303 # EV_ABS / ABS_MT_POSITION_Y 2303
367+E: 0.000000 0003 0000 3461 # EV_ABS / ABS_X 3461
368+E: 0.000000 0003 0001 2303 # EV_ABS / ABS_Y 2303
369+E: 0.000000 0003 0018 0015 # EV_ABS / ABS_PRESSURE 15
370+E: 0.000000 0003 001c 0006 # EV_ABS / ABS_TOOL_WIDTH 6
371+E: 0.000000 0001 0145 0001 # EV_KEY / BTN_TOOL_FINGER 1
372+E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
373+E: 0.000000 0003 0035 3499 # EV_ABS / ABS_MT_POSITION_X 3499
374+E: 0.000000 0003 0036 2304 # EV_ABS / ABS_MT_POSITION_Y 2304
375+E: 0.000000 0001 014a 0001 # EV_KEY / BTN_TOUCH 1
376+E: 0.000000 0003 0000 3499 # EV_ABS / ABS_X 3499
377+E: 0.000000 0003 0001 2304 # EV_ABS / ABS_Y 2304
378+E: 0.000000 0003 0018 0047 # EV_ABS / ABS_PRESSURE 47
379+E: 0.000000 0003 001c 0004 # EV_ABS / ABS_TOOL_WIDTH 4
380+E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
381+E: 0.000000 0003 0035 3506 # EV_ABS / ABS_MT_POSITION_X 3506
382+E: 0.000000 0003 0036 2302 # EV_ABS / ABS_MT_POSITION_Y 2302
383+E: 0.000000 0003 0000 3506 # EV_ABS / ABS_X 3506
384+E: 0.000000 0003 0001 2302 # EV_ABS / ABS_Y 2302
385+E: 0.000000 0003 0018 0054 # EV_ABS / ABS_PRESSURE 54
386+E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
387+E: 0.000000 0003 0035 3522 # EV_ABS / ABS_MT_POSITION_X 3522
388+E: 0.000000 0003 0036 2306 # EV_ABS / ABS_MT_POSITION_Y 2306
389+E: 0.000000 0003 0000 3522 # EV_ABS / ABS_X 3522
390+E: 0.000000 0003 0001 2306 # EV_ABS / ABS_Y 2306
391+E: 0.000000 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
392+E: 0.000000 0003 001c 0005 # EV_ABS / ABS_TOOL_WIDTH 5
393
394=== added file 'tests/mir_test_framework/udev_recordings/laptop-mouse.ioctl'
395--- tests/mir_test_framework/udev_recordings/laptop-mouse.ioctl 1970-01-01 00:00:00 +0000
396+++ tests/mir_test_framework/udev_recordings/laptop-mouse.ioctl 2015-10-10 17:56:23 +0000
397@@ -0,0 +1,22 @@
398+@DEV /dev/input/event5
399+EVIOCGNAME(0) 27 53796E50532F322053796E61707469637320546F756368506164000000000000E0FA01B02A7F00000000000000000000B0A501B02A7F000020DC01B02A7F0000000100000000000004C234C92A7F00
400+EVIOCGVERSION 0 01000100
401+EVIOCGID 0 110002000700B101
402+EVIOCGPHYS(0) 22 697361303036302F736572696F312F696E707574300068506164000000000000E0FA01B02A7F00000000000000000000B0A501B02A7F000020DC01B02A7F0000000100000000000004C234C92A7F00
403+EVIOCGBIT(1) 96 000000000000000000000000000000000000000000000000000000000000000000000300000000002064000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
404+EVIOCGBIT(3) 8 0300001100806002
405+EVIOCGBIT(2) 2 0000
406+EVIOCGBIT(5) 2 0000
407+EVIOCGBIT(17) 2 0000
408+EVIOCGBIT(21) 16 00000000000000000000000000000000
409+EVIOCGPROP(0) 4 09000000
410+EVIOCGABS(53) 0 00000000C00500005E15000000000000000000003C000000
411+EVIOCGABS(54) 0 000000008005000092110000000000000000000055000000
412+EVIOCGABS(57) 0 0000000000000000FFFF0000000000000000000000000000
413+EVIOCGABS(47) 0 010000000000000001000000000000000000000000000000
414+EVIOCGKEY(0) 96 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
415+EVIOCGNAME(0) 27 53796E50532F322053796E61707469637320546F756368506164000000000000E0FA013C997F0000000000000000000090DA013C997F000050EF033C997F0000000100000000000004B2F654997F00
416+EVIOCGPHYS(0) 22 697361303036302F736572696F312F696E707574300068506164000000000000E0FA013C997F0000000000000000000090DA013C997F000050EF033C997F0000000100000000000004B2F654997F00
417+EVIOCGABS(47) 0 000000000000000001000000000000000000000000000000
418+EVIOCGNAME(0) 27 53796E50532F322053796E61707469637320546F75636850616400000000000040C50298B17F0000000000000000000060F40198B17F000070D70298B17F0000000100000000000004128BAEB17F00
419+EVIOCGPHYS(0) 22 697361303036302F736572696F312F696E70757430006850616400000000000040C50298B17F0000000000000000000060F40198B17F000070D70298B17F0000000100000000000004128BAEB17F00
420
421=== added file 'tests/mir_test_framework/udev_recordings/laptop-mouse.umockdev'
422--- tests/mir_test_framework/udev_recordings/laptop-mouse.umockdev 1970-01-01 00:00:00 +0000
423+++ tests/mir_test_framework/udev_recordings/laptop-mouse.umockdev 2015-10-10 17:56:23 +0000
424@@ -0,0 +1,128 @@
425+P: /devices/platform/i8042/serio1/input/input5/event5
426+N: input/event5
427+S: input/by-path/platform-i8042-serio-1-event-mouse
428+E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-1-event-mouse
429+E: DEVNAME=/dev/input/event5
430+E: ID_INPUT=1
431+E: ID_INPUT_HEIGHT_MM=36
432+E: ID_INPUT_TOUCHPAD=1
433+E: ID_INPUT_WIDTH_MM=66
434+E: ID_PATH=platform-i8042-serio-1
435+E: ID_PATH_TAG=platform-i8042-serio-1
436+E: ID_SERIAL=noserial
437+E: MAJOR=13
438+E: MINOR=69
439+E: SUBSYSTEM=input
440+A: dev=13:69
441+L: device=../../input5
442+A: power/async=disabled
443+A: power/control=auto
444+A: power/runtime_active_kids=0
445+A: power/runtime_active_time=0
446+A: power/runtime_enabled=disabled
447+A: power/runtime_status=unsupported
448+A: power/runtime_suspended_time=0
449+A: power/runtime_usage=0
450+
451+P: /devices/platform/i8042/serio1/input/input5
452+E: ABS=260800011000003
453+E: EV=b
454+E: ID_FOR_SEAT=input-platform-i8042-serio-1
455+E: ID_INPUT=1
456+E: ID_INPUT_TOUCHPAD=1
457+E: ID_PATH=platform-i8042-serio-1
458+E: ID_PATH_TAG=platform-i8042-serio-1
459+E: ID_SERIAL=noserial
460+E: KEY=6420 30000 0 0 0 0
461+E: MODALIAS=input:b0011v0002p0007e01B1-e0,1,3,k110,111,145,14A,14D,14E,ra0,1,18,1C,2F,35,36,39,mlsfw
462+E: NAME="SynPS/2 Synaptics TouchPad"
463+E: PHYS="isa0060/serio1/input0"
464+E: PRODUCT=11/2/7/1b1
465+E: PROP=9
466+E: SUBSYSTEM=input
467+E: TAGS=:seat:
468+A: capabilities/abs=260800011000003
469+A: capabilities/ev=b
470+A: capabilities/ff=0
471+A: capabilities/key=6420 30000 0 0 0 0
472+A: capabilities/led=0
473+A: capabilities/msc=0
474+A: capabilities/rel=0
475+A: capabilities/snd=0
476+A: capabilities/sw=0
477+L: device=../../../serio1
478+A: id/bustype=0011
479+A: id/product=0007
480+A: id/vendor=0002
481+A: id/version=01b1
482+A: modalias=input:b0011v0002p0007e01B1-e0,1,3,k110,111,145,14A,14D,14E,ra0,1,18,1C,2F,35,36,39,mlsfw
483+A: name=SynPS/2 Synaptics TouchPad
484+A: phys=isa0060/serio1/input0
485+A: power/async=disabled
486+A: power/control=auto
487+A: power/runtime_active_kids=0
488+A: power/runtime_active_time=0
489+A: power/runtime_enabled=disabled
490+A: power/runtime_status=unsupported
491+A: power/runtime_suspended_time=0
492+A: power/runtime_usage=0
493+A: properties=9
494+A: uniq=
495+
496+P: /devices/platform/i8042/serio1
497+E: DRIVER=psmouse
498+E: MODALIAS=serio:ty01pr00id00ex00
499+E: SERIO_EXTRA=00
500+E: SERIO_FIRMWARE_ID=PNP: LEN0015 PNP0f13
501+E: SERIO_ID=00
502+E: SERIO_PROTO=00
503+E: SERIO_TYPE=01
504+E: SUBSYSTEM=serio
505+A: bind_mode=auto
506+A: description=i8042 AUX port
507+L: driver=../../../../bus/serio/drivers/psmouse
508+A: firmware_id=PNP: LEN0015 PNP0f13
509+A: id/extra=00
510+A: id/id=00
511+A: id/proto=00
512+A: id/type=01
513+A: modalias=serio:ty01pr00id00ex00
514+A: power/async=disabled
515+A: power/control=auto
516+A: power/runtime_active_kids=0
517+A: power/runtime_active_time=0
518+A: power/runtime_enabled=disabled
519+A: power/runtime_status=unsupported
520+A: power/runtime_suspended_time=0
521+A: power/runtime_usage=0
522+A: power/wakeup=disabled
523+A: power/wakeup_abort_count=
524+A: power/wakeup_active=
525+A: power/wakeup_active_count=
526+A: power/wakeup_count=
527+A: power/wakeup_expire_count=
528+A: power/wakeup_last_time_ms=
529+A: power/wakeup_max_time_ms=
530+A: power/wakeup_total_time_ms=
531+A: protocol=SynPS/2
532+A: rate=80
533+A: resetafter=5
534+A: resolution=200
535+A: resync_time=0
536+
537+P: /devices/platform/i8042
538+E: DRIVER=i8042
539+E: MODALIAS=platform:i8042
540+E: SUBSYSTEM=platform
541+L: driver=../../../bus/platform/drivers/i8042
542+A: driver_override=(null)
543+A: modalias=platform:i8042
544+A: power/async=disabled
545+A: power/control=auto
546+A: power/runtime_active_kids=0
547+A: power/runtime_active_time=0
548+A: power/runtime_enabled=disabled
549+A: power/runtime_status=unsupported
550+A: power/runtime_suspended_time=0
551+A: power/runtime_usage=0
552+

Subscribers

People subscribed via source and target branches