1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158 | phablet@ubuntu-phablet:~$ sudo udevadm test-builtin input_id /devices/virtual/input/input1/
calling: test-builtin
=== trie on-disk ===
tool version: 219
file size: 6711498 bytes
header size 80 bytes
strings 1721914 bytes
nodes 4989504 bytes
Load module index
Network interface NamePolicy= disabled on kernel command line, ignoring.
timestamp of '/etc/systemd/network' changed
timestamp of '/lib/systemd/network' changed
Parsed configuration file /lib/systemd/network/99-default.link
Created link configuration context.
ID_INPUT=1
capabilities/ev raw kernel attribute: 3
capabilities/ev decoded bit map:
bit 0: 00000003
capabilities/abs raw kernel attribute: 0
capabilities/abs decoded bit map:
capabilities/rel raw kernel attribute: 0
capabilities/rel decoded bit map:
capabilities/key raw kernel attribute: 80 0 78 0 40c0000 0 0 0
capabilities/key decoded bit map:
bit 0: 00000000
bit 32: 00000000
bit 64: 00000000
bit 96: 040C0000
bit 128: 00000000
bit 160: 00000078
bit 192: 00000000
bit 224: 00000080
properties raw kernel attribute: 0
properties decoded bit map:
test_key: checking bit block 0 for any keys; found=0
test_key: checking bit block 32 for any keys; found=0
test_key: checking bit block 64 for any keys; found=0
test_key: checking bit block 96 for any keys; found=1
test_key: checking bit block 128 for any keys; found=1
test_key: checking bit block 160 for any keys; found=1
test_key: checking bit block 192 for any keys; found=1
test_key: checking bit block 224 for any keys; found=1
ID_INPUT_KEY=1
Unload module index
Unloaded link configuration context.
phablet@ubuntu-phablet:~$ sudo udevadm test-builtin input_id /devices/virtual/input/input2/
calling: test-builtin
=== trie on-disk ===
tool version: 219
file size: 6711498 bytes
header size 80 bytes
strings 1721914 bytes
nodes 4989504 bytes
Load module index
Network interface NamePolicy= disabled on kernel command line, ignoring.
timestamp of '/etc/systemd/network' changed
timestamp of '/lib/systemd/network' changed
Parsed configuration file /lib/systemd/network/99-default.link
Created link configuration context.
ID_INPUT=1
capabilities/ev raw kernel attribute: 5
capabilities/ev decoded bit map:
bit 0: 00000005
capabilities/abs raw kernel attribute: 0
capabilities/abs decoded bit map:
capabilities/rel raw kernel attribute: 2
capabilities/rel decoded bit map:
bit 0: 00000002
capabilities/key raw kernel attribute: 0
capabilities/key decoded bit map:
properties raw kernel attribute: 0
properties decoded bit map:
test_key: no EV_KEY capability
Unload module index
Unloaded link configuration context.
phablet@ubuntu-phablet:~$ sudo udevadm test-builtin input_id /devices/virtual/input/input3/
calling: test-builtin
=== trie on-disk ===
tool version: 219
file size: 6711498 bytes
header size 80 bytes
strings 1721914 bytes
nodes 4989504 bytes
Load module index
Network interface NamePolicy= disabled on kernel command line, ignoring.
timestamp of '/etc/systemd/network' changed
timestamp of '/lib/systemd/network' changed
Parsed configuration file /lib/systemd/network/99-default.link
Created link configuration context.
ID_INPUT=1
capabilities/ev raw kernel attribute: 9
capabilities/ev decoded bit map:
bit 0: 00000009
capabilities/abs raw kernel attribute: 17f
capabilities/abs decoded bit map:
bit 0: 0000017F
capabilities/rel raw kernel attribute: 0
capabilities/rel decoded bit map:
capabilities/key raw kernel attribute: 0
capabilities/key decoded bit map:
properties raw kernel attribute: 0
properties decoded bit map:
ID_INPUT_ACCELEROMETER=1
test_key: no EV_KEY capability
Unload module index
Unloaded link configuration context.
phablet@ubuntu-phablet:~$ sudo udevadm test-builtin input_id /devices/virtual/input/input4/
calling: test-builtin
=== trie on-disk ===
tool version: 219
file size: 6711498 bytes
header size 80 bytes
strings 1721914 bytes
nodes 4989504 bytes
Load module index
Network interface NamePolicy= disabled on kernel command line, ignoring.
timestamp of '/etc/systemd/network' changed
timestamp of '/lib/systemd/network' changed
Parsed configuration file /lib/systemd/network/99-default.link
Created link configuration context.
ID_INPUT=1
capabilities/ev raw kernel attribute: b
capabilities/ev decoded bit map:
bit 0: 0000000B
capabilities/abs raw kernel attribute: 6630000 1000003
capabilities/abs decoded bit map:
bit 0: 01000003
bit 32: 06630000
capabilities/rel raw kernel attribute: 0
capabilities/rel decoded bit map:
capabilities/key raw kernel attribute: 400 0 0 0 0 0 0 100000 0 0 0
capabilities/key decoded bit map:
bit 0: 00000000
bit 32: 00000000
bit 64: 00000000
bit 96: 00100000
bit 128: 00000000
bit 160: 00000000
bit 192: 00000000
bit 224: 00000000
bit 256: 00000000
bit 288: 00000000
bit 320: 00000400
properties raw kernel attribute: 2
properties decoded bit map:
bit 0: 00000002
ID_INPUT_TOUCHSCREEN=1
test_key: checking bit block 0 for any keys; found=0
test_key: checking bit block 32 for any keys; found=0
test_key: checking bit block 64 for any keys; found=0
test_key: checking bit block 96 for any keys; found=1
test_key: checking bit block 128 for any keys; found=1
test_key: checking bit block 160 for any keys; found=1
test_key: checking bit block 192 for any keys; found=1
test_key: checking bit block 224 for any keys; found=1
ID_INPUT_KEY=1
Unload module index
Unloaded link configuration context.
|