Lines Matching +full:0 +full:x51
24 LAMP_ARRAY_ATTRIBUTES_REPORT_ID = 0x01,
25 LAMP_ATTRIBUTES_REQUEST_REPORT_ID = 0x02,
26 LAMP_ATTRIBUTES_RESPONSE_REPORT_ID = 0x03,
27 LAMP_MULTI_UPDATE_REPORT_ID = 0x04,
28 LAMP_RANGE_UPDATE_REPORT_ID = 0x05,
29 LAMP_ARRAY_CONTROL_REPORT_ID = 0x06,
33 0x05, 0x59, // Usage Page (Lighting and Illumination)
34 0x09, 0x01, // Usage (Lamp Array)
35 0xa1, 0x01, // Collection (Application)
36 0x85, LAMP_ARRAY_ATTRIBUTES_REPORT_ID, // Report ID (1)
37 0x09, 0x02, // Usage (Lamp Array Attributes Report)
38 0xa1, 0x02, // Collection (Logical)
39 0x09, 0x03, // Usage (Lamp Count)
40 0x15, 0x00, // Logical Minimum (0)
41 0x27, 0xff, 0xff, 0x00, 0x00, // Logical Maximum (65535)
42 0x75, 0x10, // Report Size (16)
43 0x95, 0x01, // Report Count (1)
44 0xb1, 0x03, // Feature (Cnst,Var,Abs)
45 0x09, 0x04, // Usage (Bounding Box Width In Micrometers)
46 0x09, 0x05, // Usage (Bounding Box Height In Micrometers)
47 0x09, 0x06, // Usage (Bounding Box Depth In Micrometers)
48 0x09, 0x07, // Usage (Lamp Array Kind)
49 0x09, 0x08, // Usage (Min Update Interval In Microseconds)
50 0x15, 0x00, // Logical Minimum (0)
51 0x27, 0xff, 0xff, 0xff, 0x7f, // Logical Maximum (2147483647)
52 0x75, 0x20, // Report Size (32)
53 0x95, 0x05, // Report Count (5)
54 0xb1, 0x03, // Feature (Cnst,Var,Abs)
55 0xc0, // End Collection
56 0x85, LAMP_ATTRIBUTES_REQUEST_REPORT_ID, // Report ID (2)
57 0x09, 0x20, // Usage (Lamp Attributes Request Report)
58 0xa1, 0x02, // Collection (Logical)
59 0x09, 0x21, // Usage (Lamp Id)
60 0x15, 0x00, // Logical Minimum (0)
61 0x27, 0xff, 0xff, 0x00, 0x00, // Logical Maximum (65535)
62 0x75, 0x10, // Report Size (16)
63 0x95, 0x01, // Report Count (1)
64 0xb1, 0x02, // Feature (Data,Var,Abs)
65 0xc0, // End Collection
66 0x85, LAMP_ATTRIBUTES_RESPONSE_REPORT_ID, // Report ID (3)
67 0x09, 0x22, // Usage (Lamp Attributes Response Report)
68 0xa1, 0x02, // Collection (Logical)
69 0x09, 0x21, // Usage (Lamp Id)
70 0x15, 0x00, // Logical Minimum (0)
71 0x27, 0xff, 0xff, 0x00, 0x00, // Logical Maximum (65535)
72 0x75, 0x10, // Report Size (16)
73 0x95, 0x01, // Report Count (1)
74 0xb1, 0x02, // Feature (Data,Var,Abs)
75 0x09, 0x23, // Usage (Position X In Micrometers)
76 0x09, 0x24, // Usage (Position Y In Micrometers)
77 0x09, 0x25, // Usage (Position Z In Micrometers)
78 0x09, 0x27, // Usage (Update Latency In Microseconds)
79 0x09, 0x26, // Usage (Lamp Purposes)
80 0x15, 0x00, // Logical Minimum (0)
81 0x27, 0xff, 0xff, 0xff, 0x7f, // Logical Maximum (2147483647)
82 0x75, 0x20, // Report Size (32)
83 0x95, 0x05, // Report Count (5)
84 0xb1, 0x02, // Feature (Data,Var,Abs)
85 0x09, 0x28, // Usage (Red Level Count)
86 0x09, 0x29, // Usage (Green Level Count)
87 0x09, 0x2a, // Usage (Blue Level Count)
88 0x09, 0x2b, // Usage (Intensity Level Count)
89 0x09, 0x2c, // Usage (Is Programmable)
90 0x09, 0x2d, // Usage (Input Binding)
91 0x15, 0x00, // Logical Minimum (0)
92 0x26, 0xff, 0x00, // Logical Maximum (255)
93 0x75, 0x08, // Report Size (8)
94 0x95, 0x06, // Report Count (6)
95 0xb1, 0x02, // Feature (Data,Var,Abs)
96 0xc0, // End Collection
97 0x85, LAMP_MULTI_UPDATE_REPORT_ID, // Report ID (4)
98 0x09, 0x50, // Usage (Lamp Multi Update Report)
99 0xa1, 0x02, // Collection (Logical)
100 0x09, 0x03, // Usage (Lamp Count)
101 0x09, 0x55, // Usage (Lamp Update Flags)
102 0x15, 0x00, // Logical Minimum (0)
103 0x25, 0x08, // Logical Maximum (8)
104 0x75, 0x08, // Report Size (8)
105 0x95, 0x02, // Report Count (2)
106 0xb1, 0x02, // Feature (Data,Var,Abs)
107 0x09, 0x21, // Usage (Lamp Id)
108 0x15, 0x00, // Logical Minimum (0)
109 0x27, 0xff, 0xff, 0x00, 0x00, // Logical Maximum (65535)
110 0x75, 0x10, // Report Size (16)
111 0x95, 0x08, // Report Count (8)
112 0xb1, 0x02, // Feature (Data,Var,Abs)
113 0x09, 0x51, // Usage (Red Update Channel)
114 0x09, 0x52, // Usage (Green Update Channel)
115 0x09, 0x53, // Usage (Blue Update Channel)
116 0x09, 0x54, // Usage (Intensity Update Channel)
117 0x09, 0x51, // Usage (Red Update Channel)
118 0x09, 0x52, // Usage (Green Update Channel)
119 0x09, 0x53, // Usage (Blue Update Channel)
120 0x09, 0x54, // Usage (Intensity Update Channel)
121 0x09, 0x51, // Usage (Red Update Channel)
122 0x09, 0x52, // Usage (Green Update Channel)
123 0x09, 0x53, // Usage (Blue Update Channel)
124 0x09, 0x54, // Usage (Intensity Update Channel)
125 0x09, 0x51, // Usage (Red Update Channel)
126 0x09, 0x52, // Usage (Green Update Channel)
127 0x09, 0x53, // Usage (Blue Update Channel)
128 0x09, 0x54, // Usage (Intensity Update Channel)
129 0x09, 0x51, // Usage (Red Update Channel)
130 0x09, 0x52, // Usage (Green Update Channel)
131 0x09, 0x53, // Usage (Blue Update Channel)
132 0x09, 0x54, // Usage (Intensity Update Channel)
133 0x09, 0x51, // Usage (Red Update Channel)
134 0x09, 0x52, // Usage (Green Update Channel)
135 0x09, 0x53, // Usage (Blue Update Channel)
136 0x09, 0x54, // Usage (Intensity Update Channel)
137 0x09, 0x51, // Usage (Red Update Channel)
138 0x09, 0x52, // Usage (Green Update Channel)
139 0x09, 0x53, // Usage (Blue Update Channel)
140 0x09, 0x54, // Usage (Intensity Update Channel)
141 0x09, 0x51, // Usage (Red Update Channel)
142 0x09, 0x52, // Usage (Green Update Channel)
143 0x09, 0x53, // Usage (Blue Update Channel)
144 0x09, 0x54, // Usage (Intensity Update Channel)
145 0x15, 0x00, // Logical Minimum (0)
146 0x26, 0xff, 0x00, // Logical Maximum (255)
147 0x75, 0x08, // Report Size (8)
148 0x95, 0x20, // Report Count (32)
149 0xb1, 0x02, // Feature (Data,Var,Abs)
150 0xc0, // End Collection
151 0x85, LAMP_RANGE_UPDATE_REPORT_ID, // Report ID (5)
152 0x09, 0x60, // Usage (Lamp Range Update Report)
153 0xa1, 0x02, // Collection (Logical)
154 0x09, 0x55, // Usage (Lamp Update Flags)
155 0x15, 0x00, // Logical Minimum (0)
156 0x25, 0x08, // Logical Maximum (8)
157 0x75, 0x08, // Report Size (8)
158 0x95, 0x01, // Report Count (1)
159 0xb1, 0x02, // Feature (Data,Var,Abs)
160 0x09, 0x61, // Usage (Lamp Id Start)
161 0x09, 0x62, // Usage (Lamp Id End)
162 0x15, 0x00, // Logical Minimum (0)
163 0x27, 0xff, 0xff, 0x00, 0x00, // Logical Maximum (65535)
164 0x75, 0x10, // Report Size (16)
165 0x95, 0x02, // Report Count (2)
166 0xb1, 0x02, // Feature (Data,Var,Abs)
167 0x09, 0x51, // Usage (Red Update Channel)
168 0x09, 0x52, // Usage (Green Update Channel)
169 0x09, 0x53, // Usage (Blue Update Channel)
170 0x09, 0x54, // Usage (Intensity Update Channel)
171 0x15, 0x00, // Logical Minimum (0)
172 0x26, 0xff, 0x00, // Logical Maximum (255)
173 0x75, 0x08, // Report Size (8)
174 0x95, 0x04, // Report Count (4)
175 0xb1, 0x02, // Feature (Data,Var,Abs)
176 0xc0, // End Collection
177 0x85, LAMP_ARRAY_CONTROL_REPORT_ID, // Report ID (6)
178 0x09, 0x70, // Usage (Lamp Array Control Report)
179 0xa1, 0x02, // Collection (Logical)
180 0x09, 0x71, // Usage (Autonomous Mode)
181 0x15, 0x00, // Logical Minimum (0)
182 0x25, 0x01, // Logical Maximum (1)
183 0x75, 0x08, // Report Size (8)
184 0x95, 0x01, // Report Count (1)
185 0xb1, 0x02, // Feature (Data,Var,Abs)
186 0xc0, // End Collection
187 0xc0 // End Collection
200 { 0x29, { 25000, 53000, 5000 } },
201 { 0x3a, { 41700, 53000, 5000 } },
202 { 0x3b, { 58400, 53000, 5000 } },
203 { 0x3c, { 75100, 53000, 5000 } },
204 { 0x3d, { 91800, 53000, 5000 } },
205 { 0x3e, { 108500, 53000, 5000 } },
206 { 0x3f, { 125200, 53000, 5000 } },
207 { 0x40, { 141900, 53000, 5000 } },
208 { 0x41, { 158600, 53000, 5000 } },
209 { 0x42, { 175300, 53000, 5000 } },
210 { 0x43, { 192000, 53000, 5000 } },
211 { 0x44, { 208700, 53000, 5000 } },
212 { 0x45, { 225400, 53000, 5000 } },
213 { 0xf1, { 242100, 53000, 5000 } },
214 { 0x46, { 258800, 53000, 5000 } },
215 { 0x4c, { 275500, 53000, 5000 } },
216 { 0x4a, { 294500, 53000, 5000 } },
217 { 0x4d, { 311200, 53000, 5000 } },
218 { 0x4b, { 327900, 53000, 5000 } },
219 { 0x4e, { 344600, 53000, 5000 } },
220 { 0x35, { 24500, 67500, 5250 } },
221 { 0x1e, { 42500, 67500, 5250 } },
222 { 0x1f, { 61000, 67500, 5250 } },
223 { 0x20, { 79500, 67500, 5250 } },
224 { 0x21, { 98000, 67500, 5250 } },
225 { 0x22, { 116500, 67500, 5250 } },
226 { 0x23, { 135000, 67500, 5250 } },
227 { 0x24, { 153500, 67500, 5250 } },
228 { 0x25, { 172000, 67500, 5250 } },
229 { 0x26, { 190500, 67500, 5250 } },
230 { 0x27, { 209000, 67500, 5250 } },
231 { 0x2d, { 227500, 67500, 5250 } },
232 { 0x2e, { 246000, 67500, 5250 } },
233 { 0x2a, { 269500, 67500, 5250 } },
234 { 0x53, { 294500, 67500, 5250 } },
235 { 0x55, { 311200, 67500, 5250 } },
236 { 0x54, { 327900, 67500, 5250 } },
237 { 0x56, { 344600, 67500, 5250 } },
238 { 0x2b, { 31000, 85500, 5500 } },
239 { 0x14, { 51500, 85500, 5500 } },
240 { 0x1a, { 70000, 85500, 5500 } },
241 { 0x08, { 88500, 85500, 5500 } },
242 { 0x15, { 107000, 85500, 5500 } },
243 { 0x17, { 125500, 85500, 5500 } },
244 { 0x1c, { 144000, 85500, 5500 } },
245 { 0x18, { 162500, 85500, 5500 } },
246 { 0x0c, { 181000, 85500, 5500 } },
247 { 0x12, { 199500, 85500, 5500 } },
248 { 0x13, { 218000, 85500, 5500 } },
249 { 0x2f, { 236500, 85500, 5500 } },
250 { 0x30, { 255000, 85500, 5500 } },
251 { 0x31, { 273500, 85500, 5500 } },
252 { 0x5f, { 294500, 85500, 5500 } },
253 { 0x60, { 311200, 85500, 5500 } },
254 { 0x61, { 327900, 85500, 5500 } },
255 { 0x39, { 33000, 103500, 5750 } },
256 { 0x04, { 57000, 103500, 5750 } },
257 { 0x16, { 75500, 103500, 5750 } },
258 { 0x07, { 94000, 103500, 5750 } },
259 { 0x09, { 112500, 103500, 5750 } },
260 { 0x0a, { 131000, 103500, 5750 } },
261 { 0x0b, { 149500, 103500, 5750 } },
262 { 0x0d, { 168000, 103500, 5750 } },
263 { 0x0e, { 186500, 103500, 5750 } },
264 { 0x0f, { 205000, 103500, 5750 } },
265 { 0x33, { 223500, 103500, 5750 } },
266 { 0x34, { 242000, 103500, 5750 } },
267 { 0x28, { 267500, 103500, 5750 } },
268 { 0x5c, { 294500, 103500, 5750 } },
269 { 0x5d, { 311200, 103500, 5750 } },
270 { 0x5e, { 327900, 103500, 5750 } },
271 { 0x57, { 344600, 94500, 5625 } },
272 { 0xe1, { 37000, 121500, 6000 } },
273 { 0x1d, { 66000, 121500, 6000 } },
274 { 0x1b, { 84500, 121500, 6000 } },
275 { 0x06, { 103000, 121500, 6000 } },
276 { 0x19, { 121500, 121500, 6000 } },
277 { 0x05, { 140000, 121500, 6000 } },
278 { 0x11, { 158500, 121500, 6000 } },
279 { 0x10, { 177000, 121500, 6000 } },
280 { 0x36, { 195500, 121500, 6000 } },
281 { 0x37, { 214000, 121500, 6000 } },
282 { 0x38, { 232500, 121500, 6000 } },
283 { 0xe5, { 251500, 121500, 6000 } },
284 { 0x52, { 273500, 129000, 6125 } },
285 { 0x59, { 294500, 121500, 6000 } },
286 { 0x5a, { 311200, 121500, 6000 } },
287 { 0x5b, { 327900, 121500, 6000 } },
288 { 0xe0, { 28000, 139500, 6250 } },
289 { 0xfe, { 47500, 139500, 6250 } },
290 { 0xe3, { 66000, 139500, 6250 } },
291 { 0xe2, { 84500, 139500, 6250 } },
292 { 0x2c, { 140000, 139500, 6250 } },
293 { 0xe6, { 195500, 139500, 6250 } },
294 { 0x65, { 214000, 139500, 6250 } },
295 { 0xe4, { 234000, 139500, 6250 } },
296 { 0x50, { 255000, 147000, 6375 } },
297 { 0x51, { 273500, 147000, 6375 } },
298 { 0x4f, { 292000, 147000, 6375 } },
299 { 0x62, { 311200, 139500, 6250 } },
300 { 0x63, { 327900, 139500, 6250 } },
301 { 0x58, { 344600, 130500, 6125 } },
305 { 0x29, { 25000, 53000, 5000 } },
306 { 0x3a, { 41700, 53000, 5000 } },
307 { 0x3b, { 58400, 53000, 5000 } },
308 { 0x3c, { 75100, 53000, 5000 } },
309 { 0x3d, { 91800, 53000, 5000 } },
310 { 0x3e, { 108500, 53000, 5000 } },
311 { 0x3f, { 125200, 53000, 5000 } },
312 { 0x40, { 141900, 53000, 5000 } },
313 { 0x41, { 158600, 53000, 5000 } },
314 { 0x42, { 175300, 53000, 5000 } },
315 { 0x43, { 192000, 53000, 5000 } },
316 { 0x44, { 208700, 53000, 5000 } },
317 { 0x45, { 225400, 53000, 5000 } },
318 { 0xf1, { 242100, 53000, 5000 } },
319 { 0x46, { 258800, 53000, 5000 } },
320 { 0x4c, { 275500, 53000, 5000 } },
321 { 0x4a, { 294500, 53000, 5000 } },
322 { 0x4d, { 311200, 53000, 5000 } },
323 { 0x4b, { 327900, 53000, 5000 } },
324 { 0x4e, { 344600, 53000, 5000 } },
325 { 0x35, { 24500, 67500, 5250 } },
326 { 0x1e, { 42500, 67500, 5250 } },
327 { 0x1f, { 61000, 67500, 5250 } },
328 { 0x20, { 79500, 67500, 5250 } },
329 { 0x21, { 98000, 67500, 5250 } },
330 { 0x22, { 116500, 67500, 5250 } },
331 { 0x23, { 135000, 67500, 5250 } },
332 { 0x24, { 153500, 67500, 5250 } },
333 { 0x25, { 172000, 67500, 5250 } },
334 { 0x26, { 190500, 67500, 5250 } },
335 { 0x27, { 209000, 67500, 5250 } },
336 { 0x2d, { 227500, 67500, 5250 } },
337 { 0x2e, { 246000, 67500, 5250 } },
338 { 0x2a, { 269500, 67500, 5250 } },
339 { 0x53, { 294500, 67500, 5250 } },
340 { 0x55, { 311200, 67500, 5250 } },
341 { 0x54, { 327900, 67500, 5250 } },
342 { 0x56, { 344600, 67500, 5250 } },
343 { 0x2b, { 31000, 85500, 5500 } },
344 { 0x14, { 51500, 85500, 5500 } },
345 { 0x1a, { 70000, 85500, 5500 } },
346 { 0x08, { 88500, 85500, 5500 } },
347 { 0x15, { 107000, 85500, 5500 } },
348 { 0x17, { 125500, 85500, 5500 } },
349 { 0x1c, { 144000, 85500, 5500 } },
350 { 0x18, { 162500, 85500, 5500 } },
351 { 0x0c, { 181000, 85500, 5500 } },
352 { 0x12, { 199500, 85500, 5500 } },
353 { 0x13, { 218000, 85500, 5500 } },
354 { 0x2f, { 234500, 85500, 5500 } },
355 { 0x30, { 251000, 85500, 5500 } },
356 { 0x5f, { 294500, 85500, 5500 } },
357 { 0x60, { 311200, 85500, 5500 } },
358 { 0x61, { 327900, 85500, 5500 } },
359 { 0x39, { 33000, 103500, 5750 } },
360 { 0x04, { 57000, 103500, 5750 } },
361 { 0x16, { 75500, 103500, 5750 } },
362 { 0x07, { 94000, 103500, 5750 } },
363 { 0x09, { 112500, 103500, 5750 } },
364 { 0x0a, { 131000, 103500, 5750 } },
365 { 0x0b, { 149500, 103500, 5750 } },
366 { 0x0d, { 168000, 103500, 5750 } },
367 { 0x0e, { 186500, 103500, 5750 } },
368 { 0x0f, { 205000, 103500, 5750 } },
369 { 0x33, { 223500, 103500, 5750 } },
370 { 0x34, { 240000, 103500, 5750 } },
371 { 0x32, { 256500, 103500, 5750 } },
372 { 0x28, { 271500, 94500, 5750 } },
373 { 0x5c, { 294500, 103500, 5750 } },
374 { 0x5d, { 311200, 103500, 5750 } },
375 { 0x5e, { 327900, 103500, 5750 } },
376 { 0x57, { 344600, 94500, 5625 } },
377 { 0xe1, { 28000, 121500, 6000 } },
378 { 0x64, { 47500, 121500, 6000 } },
379 { 0x1d, { 66000, 121500, 6000 } },
380 { 0x1b, { 84500, 121500, 6000 } },
381 { 0x06, { 103000, 121500, 6000 } },
382 { 0x19, { 121500, 121500, 6000 } },
383 { 0x05, { 140000, 121500, 6000 } },
384 { 0x11, { 158500, 121500, 6000 } },
385 { 0x10, { 177000, 121500, 6000 } },
386 { 0x36, { 195500, 121500, 6000 } },
387 { 0x37, { 214000, 121500, 6000 } },
388 { 0x38, { 232500, 121500, 6000 } },
389 { 0xe5, { 251500, 121500, 6000 } },
390 { 0x52, { 273500, 129000, 6125 } },
391 { 0x59, { 294500, 121500, 6000 } },
392 { 0x5a, { 311200, 121500, 6000 } },
393 { 0x5b, { 327900, 121500, 6000 } },
394 { 0xe0, { 28000, 139500, 6250 } },
395 { 0xfe, { 47500, 139500, 6250 } },
396 { 0xe3, { 66000, 139500, 6250 } },
397 { 0xe2, { 84500, 139500, 6250 } },
398 { 0x2c, { 140000, 139500, 6250 } },
399 { 0xe6, { 195500, 139500, 6250 } },
400 { 0x65, { 214000, 139500, 6250 } },
401 { 0xe4, { 234000, 139500, 6250 } },
402 { 0x50, { 255000, 147000, 6375 } },
403 { 0x51, { 273500, 147000, 6375 } },
404 { 0x4f, { 292000, 147000, 6375 } },
405 { 0x62, { 311200, 139500, 6250 } },
406 { 0x63, { 327900, 139500, 6250 } },
407 { 0x58, { 344600, 130500, 6125 } },
449 driver_data->next_lamp_id = 0; in tux_ll_start()
462 return 0; in tux_ll_open()
518 driver_data->next_lamp_id = 0; in handle_lamp_attributes_request_report()
553 rep->red_level_count = 0xff; in handle_lamp_attributes_response_report()
554 rep->green_level_count = 0xff; in handle_lamp_attributes_response_report()
555 rep->blue_level_count = 0xff; in handle_lamp_attributes_response_report()
556 rep->intensity_level_count = 0xff; in handle_lamp_attributes_response_report()
559 if (driver_data->kbl_map[lamp_id].code <= 0xe8) { in handle_lamp_attributes_response_report()
564 * "10 Keyboard/Keypad Page (0x07)" of "HID Usage Tables v1.5" in handle_lamp_attributes_response_report()
565 * and should return 0, see "26.8.3 Lamp Attributes" of the same in handle_lamp_attributes_response_report()
568 rep->input_binding = 0; in handle_lamp_attributes_response_report()
579 #define LAMP_UPDATE_FLAGS_LAMP_UPDATE_COMPLETE BIT(0)
613 for (unsigned int i = 0; i < rep->lamp_count; ++i) { in handle_lamp_multi_update_report()
627 for (unsigned int i = 0; i < rep->lamp_count; ++i) { in handle_lamp_multi_update_report()
630 for (unsigned int j = 0; in handle_lamp_multi_update_report()
635 if (key_id_j != 0x00 && key_id_j != key_id) in handle_lamp_multi_update_report()
638 if (key_id_j == 0x00) in handle_lamp_multi_update_report()
648 * that Windows writes intensity = 0 for RGB leds in handle_lamp_multi_update_report()
656 rgb_configs_j->red = red_i * intensity_i / 0xff; in handle_lamp_multi_update_report()
657 rgb_configs_j->green = green_i * intensity_i / 0xff; in handle_lamp_multi_update_report()
658 rgb_configs_j->blue = blue_i * intensity_i / 0xff; in handle_lamp_multi_update_report()
667 memset(next, 0, sizeof(*next)); in handle_lamp_multi_update_report()
721 LAMP_UPDATE_FLAGS_LAMP_UPDATE_COMPLETE : 0; in handle_lamp_range_update_report()
723 for (unsigned int j = 0; j < lamp_multi_update_report.lamp_count; ++j) { in handle_lamp_range_update_report()
734 if (ret < 0) in handle_lamp_range_update_report()
842 hdev->vendor = 0x21ba; in tux_virt_lamparray_add_device()
843 hdev->product = 0x0400; in tux_virt_lamparray_add_device()