blob: 8067b653f8bf93b467b18cb8e3d82de64812d757 [file] [log] [blame]
Jiri Kosina63f38612006-12-08 18:41:30 +01001#
2# HID driver configuration
3#
Jan Engelhardt3cd70982007-04-30 13:27:48 +02004menuconfig HID_SUPPORT
5 bool "HID Devices"
Jiri Kosina63f38612006-12-08 18:41:30 +01006 depends on INPUT
Jan Engelhardt3cd70982007-04-30 13:27:48 +02007 default y
Jan Engelhardt06bfb7e2007-08-18 12:56:21 +02008 ---help---
9 Say Y here to get to see options for various computer-human interface
10 device drivers. This option alone does not add any kernel code.
11
12 If you say N, all options in this submenu will be skipped and disabled.
Jan Engelhardt3cd70982007-04-30 13:27:48 +020013
14if HID_SUPPORT
Jiri Kosina63f38612006-12-08 18:41:30 +010015
16config HID
17 tristate "Generic HID support"
Russell Kingc96c9d72006-12-22 17:09:16 +000018 depends on INPUT
Jiri Kosina63f38612006-12-08 18:41:30 +010019 default y
20 ---help---
Jiri Kosina69e4d942007-01-03 23:03:14 +010021 A human interface device (HID) is a type of computer device that
22 interacts directly with and takes input from humans. The term "HID"
23 most commonly used to refer to the USB-HID specification, but other
24 devices (such as, but not strictly limited to, Bluetooth) are
25 designed using HID specification (this involves certain keyboards,
26 mice, tablets, etc). This option compiles into kernel the generic
27 HID layer code (parser, usages, etc.), which can then be used by
28 transport-specific HID implementation (like USB or Bluetooth).
29
30 For docs and specs, see http://www.usb.org/developers/hidpage/
31
32 If unsure, say Y
Jiri Kosina63f38612006-12-08 18:41:30 +010033
Jiri Kosinac080d892007-01-25 11:43:31 +010034config HID_DEBUG
35 bool "HID debugging support"
Jiri Kosina58037eb2007-05-30 15:07:13 +020036 default y if !EMBEDDED
Jiri Kosinac080d892007-01-25 11:43:31 +010037 depends on HID
38 ---help---
39 This option lets the HID layer output diagnostics about its internal
40 state, resolve HID usages, dump HID fields, etc. Individual HID drivers
41 use this debugging facility to output information about individual HID
42 devices, etc.
43
44 This feature is useful for those who are either debugging the HID parser
45 or any HID hardware device.
46
47 If unsure, say N
48
Jiri Kosina86166b72007-05-14 09:57:40 +020049config HIDRAW
50 bool "/dev/hidraw raw HID device support"
51 depends on HID
52 ---help---
53 Say Y here if you want to support HID devices (from the USB
54 specification standpoint) that aren't strictly user interface
55 devices, like monitor controls and Uninterruptable Power Supplies.
56
57 This module supports these devices separately using a separate
58 event interface on /dev/hidraw.
59
60 There is also a /dev/hiddev configuration option in the USB HID
61 configuration menu. In comparison to hiddev, this device does not process
62 the hid events at all (no parsing, no lookups). This lets applications
63 to work on raw hid events when they want to, and avoid using transport-specific
64 userspace libhid/libusb libraries.
65
66 If unsure, say Y.
67
Jiri Kosina6db3dfe2007-03-08 16:47:49 +010068source "drivers/hid/usbhid/Kconfig"
69
Jiri Slaby5f22a792008-05-16 11:49:19 +020070menu "Special HID drivers"
71 depends on HID
72
Jiri Slaby02ae9a12008-05-16 11:49:22 +020073config HID_COMPAT
74 bool "Load all HID drivers on hid core load"
75 default y
76 ---help---
77 Compatible option for older userspace. If you have system without udev
78 support of module loading through aliases and also old
79 module-init-tools which can't handle hid bus, choose Y here. Otherwise
80 say N. If you say N and your userspace is old enough, the only
81 functionality you loose is modules autoloading.
82
83 If unsure, say Y.
84
Jiri Slaby8c19a512008-06-18 23:36:49 +020085config HID_APPLE
86 tristate "Apple"
87 default m
88 depends on (USB_HID || BT_HIDP)
89 ---help---
90 Support for some Apple devices which less or more break
91 HID specification.
92
93 Say Y here if you want support for the special keys (Fn, Numlock) on
94 Apple iBooks, PowerBooks, MacBooks, MacBook Pros and aluminum USB
95 keyboards.
96
97 If unsure, say M.
98
Jiri Slaby5f22a792008-05-16 11:49:19 +020099config HID_LOGITECH
100 tristate "Logitech"
101 default m
102 depends on USB_HID
103 ---help---
104 Support for some Logitech devices which breaks less or more
105 HID specification.
106
Jiri Slaby78a849a2008-06-20 21:26:11 +0200107config HID_MICROSOFT
108 tristate "Microsoft"
109 default m
110 depends on USB_HID
111 ---help---
112 Support for some Microsoft devices which breaks less or more
113 HID specification.
114
Jiri Slaby5f22a792008-05-16 11:49:19 +0200115endmenu
116
Jan Engelhardt3cd70982007-04-30 13:27:48 +0200117endif # HID_SUPPORT