diff options
author | Reyad Attiyat <reyad.attiyat@gmail.com> | 2014-05-27 03:10:59 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-05-28 09:45:15 -0400 |
commit | b510d09c974a9b579bf0c164d7a7dce3dd847850 (patch) | |
tree | 626d10fb29519ba9db7cd4c581263dee6d626390 /drivers/hid/hid-debug.c | |
parent | 662d4ceae8d45bc8634d9f4c9a9e05ef42041038 (diff) |
HID: debug: add labels for HID Sensor Usages
Add in debugfs report descriptor labels for HID Sensor Usages.
Signed-off-by: Reyad Attiyat <reyad.attiyat@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-debug.c')
-rw-r--r-- | drivers/hid/hid-debug.c | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c index 941ab3c287ec..c2537df10f47 100644 --- a/drivers/hid/hid-debug.c +++ b/drivers/hid/hid-debug.c | |||
@@ -272,6 +272,85 @@ static const struct hid_usage_entry hid_usage_table[] = { | |||
272 | {0, 0xAA, "Shared_Parameter_Blocks"}, | 272 | {0, 0xAA, "Shared_Parameter_Blocks"}, |
273 | {0, 0xAB, "Create_New_Effect_Report"}, | 273 | {0, 0xAB, "Create_New_Effect_Report"}, |
274 | {0, 0xAC, "RAM_Pool_Available"}, | 274 | {0, 0xAC, "RAM_Pool_Available"}, |
275 | { 0x20, 0, "Sensor" }, | ||
276 | { 0x20, 0x01, "Sensor" }, | ||
277 | { 0x20, 0x10, "Biometric" }, | ||
278 | { 0x20, 0x11, "BiometricHumanPresence" }, | ||
279 | { 0x20, 0x12, "BiometricHumanProximity" }, | ||
280 | { 0x20, 0x13, "BiometricHumanTouch" }, | ||
281 | { 0x20, 0x20, "Electrical" }, | ||
282 | { 0x20, 0x21, "ElectricalCapacitance" }, | ||
283 | { 0x20, 0x22, "ElectricalCurrent" }, | ||
284 | { 0x20, 0x23, "ElectricalPower" }, | ||
285 | { 0x20, 0x24, "ElectricalInductance" }, | ||
286 | { 0x20, 0x25, "ElectricalResistance" }, | ||
287 | { 0x20, 0x26, "ElectricalVoltage" }, | ||
288 | { 0x20, 0x27, "ElectricalPoteniometer" }, | ||
289 | { 0x20, 0x28, "ElectricalFrequency" }, | ||
290 | { 0x20, 0x29, "ElectricalPeriod" }, | ||
291 | { 0x20, 0x30, "Environmental" }, | ||
292 | { 0x20, 0x31, "EnvironmentalAtmosphericPressure" }, | ||
293 | { 0x20, 0x32, "EnvironmentalHumidity" }, | ||
294 | { 0x20, 0x33, "EnvironmentalTemperature" }, | ||
295 | { 0x20, 0x34, "EnvironmentalWindDirection" }, | ||
296 | { 0x20, 0x35, "EnvironmentalWindSpeed" }, | ||
297 | { 0x20, 0x40, "Light" }, | ||
298 | { 0x20, 0x41, "LightAmbientLight" }, | ||
299 | { 0x20, 0x42, "LightConsumerInfrared" }, | ||
300 | { 0x20, 0x50, "Location" }, | ||
301 | { 0x20, 0x51, "LocationBroadcast" }, | ||
302 | { 0x20, 0x52, "LocationDeadReckoning" }, | ||
303 | { 0x20, 0x53, "LocationGPS" }, | ||
304 | { 0x20, 0x54, "LocationLookup" }, | ||
305 | { 0x20, 0x55, "LocationOther" }, | ||
306 | { 0x20, 0x56, "LocationStatic" }, | ||
307 | { 0x20, 0x57, "LocationTriangulation" }, | ||
308 | { 0x20, 0x60, "Mechanical" }, | ||
309 | { 0x20, 0x61, "MechanicalBooleanSwitch" }, | ||
310 | { 0x20, 0x62, "MechanicalBooleanSwitchArray" }, | ||
311 | { 0x20, 0x63, "MechanicalMultivalueSwitch" }, | ||
312 | { 0x20, 0x64, "MechanicalForce" }, | ||
313 | { 0x20, 0x65, "MechanicalPressure" }, | ||
314 | { 0x20, 0x66, "MechanicalStrain" }, | ||
315 | { 0x20, 0x67, "MechanicalWeight" }, | ||
316 | { 0x20, 0x68, "MechanicalHapticVibrator" }, | ||
317 | { 0x20, 0x69, "MechanicalHallEffectSwitch" }, | ||
318 | { 0x20, 0x70, "Motion" }, | ||
319 | { 0x20, 0x71, "MotionAccelerometer1D" }, | ||
320 | { 0x20, 0x72, "MotionAccelerometer2D" }, | ||
321 | { 0x20, 0x73, "MotionAccelerometer3D" }, | ||
322 | { 0x20, 0x74, "MotionGyrometer1D" }, | ||
323 | { 0x20, 0x75, "MotionGyrometer2D" }, | ||
324 | { 0x20, 0x76, "MotionGyrometer3D" }, | ||
325 | { 0x20, 0x77, "MotionMotionDetector" }, | ||
326 | { 0x20, 0x78, "MotionSpeedometer" }, | ||
327 | { 0x20, 0x79, "MotionAccelerometer" }, | ||
328 | { 0x20, 0x7A, "MotionGyrometer" }, | ||
329 | { 0x20, 0x80, "Orientation" }, | ||
330 | { 0x20, 0x81, "OrientationCompass1D" }, | ||
331 | { 0x20, 0x82, "OrientationCompass2D" }, | ||
332 | { 0x20, 0x83, "OrientationCompass3D" }, | ||
333 | { 0x20, 0x84, "OrientationInclinometer1D" }, | ||
334 | { 0x20, 0x85, "OrientationInclinometer2D" }, | ||
335 | { 0x20, 0x86, "OrientationInclinometer3D" }, | ||
336 | { 0x20, 0x87, "OrientationDistance1D" }, | ||
337 | { 0x20, 0x88, "OrientationDistance2D" }, | ||
338 | { 0x20, 0x89, "OrientationDistance3D" }, | ||
339 | { 0x20, 0x8A, "OrientationDeviceOrientation" }, | ||
340 | { 0x20, 0x8B, "OrientationCompass" }, | ||
341 | { 0x20, 0x8C, "OrientationInclinometer" }, | ||
342 | { 0x20, 0x8D, "OrientationDistance" }, | ||
343 | { 0x20, 0x90, "Scanner" }, | ||
344 | { 0x20, 0x91, "ScannerBarcode" }, | ||
345 | { 0x20, 0x91, "ScannerRFID" }, | ||
346 | { 0x20, 0x91, "ScannerNFC" }, | ||
347 | { 0x20, 0xA0, "Time" }, | ||
348 | { 0x20, 0xA1, "TimeAlarmTimer" }, | ||
349 | { 0x20, 0xA2, "TimeRealTimeClock" }, | ||
350 | { 0x20, 0xE0, "Other" }, | ||
351 | { 0x20, 0xE1, "OtherCustom" }, | ||
352 | { 0x20, 0xE2, "OtherGeneric" }, | ||
353 | { 0x20, 0xE3, "OtherGenericEnumerator" }, | ||
275 | { 0x84, 0, "Power Device" }, | 354 | { 0x84, 0, "Power Device" }, |
276 | { 0x84, 0x02, "PresentStatus" }, | 355 | { 0x84, 0x02, "PresentStatus" }, |
277 | { 0x84, 0x03, "ChangeStatus" }, | 356 | { 0x84, 0x03, "ChangeStatus" }, |