xref: /linux/drivers/hid/Kconfig (revision 14a21cd459f97e3b3cc4fcde48fc5bcdb81d097e)
163f3861dSJiri Kosina#
263f3861dSJiri Kosina# HID driver configuration
363f3861dSJiri Kosina#
43cd70986SJan Engelhardtmenuconfig HID_SUPPORT
53cd70986SJan Engelhardt	bool "HID Devices"
663f3861dSJiri Kosina	depends on INPUT
73cd70986SJan Engelhardt	default y
806bfb7ebSJan Engelhardt	---help---
906bfb7ebSJan Engelhardt	  Say Y here to get to see options for various computer-human interface
1006bfb7ebSJan Engelhardt	  device drivers. This option alone does not add any kernel code.
1106bfb7ebSJan Engelhardt
1206bfb7ebSJan Engelhardt	  If you say N, all options in this submenu will be skipped and disabled.
133cd70986SJan Engelhardt
143cd70986SJan Engelhardtif HID_SUPPORT
1563f3861dSJiri Kosina
1663f3861dSJiri Kosinaconfig HID
1763f3861dSJiri Kosina	tristate "Generic HID support"
18c96c9d7bSRussell King	depends on INPUT
1963f3861dSJiri Kosina	default y
2063f3861dSJiri Kosina	---help---
2169e4d948SJiri Kosina	  A human interface device (HID) is a type of computer device that
2269e4d948SJiri Kosina	  interacts directly with and takes input from humans. The term "HID"
2369e4d948SJiri Kosina	  most commonly used to refer to the USB-HID specification, but other
2469e4d948SJiri Kosina	  devices (such as, but not strictly limited to, Bluetooth) are
2569e4d948SJiri Kosina	  designed using HID specification (this involves certain keyboards,
2669e4d948SJiri Kosina	  mice, tablets, etc). This option compiles into kernel the generic
2769e4d948SJiri Kosina	  HID layer code (parser, usages, etc.), which can then be used by
2869e4d948SJiri Kosina	  transport-specific HID implementation (like USB or Bluetooth).
2969e4d948SJiri Kosina
3069e4d948SJiri Kosina	  For docs and specs, see http://www.usb.org/developers/hidpage/
3169e4d948SJiri Kosina
3269e4d948SJiri Kosina	  If unsure, say Y
3363f3861dSJiri Kosina
34c080d89aSJiri Kosinaconfig HID_DEBUG
35c080d89aSJiri Kosina	bool "HID debugging support"
3658037eb9SJiri Kosina	default y if !EMBEDDED
37c080d89aSJiri Kosina	depends on HID
38c080d89aSJiri Kosina	---help---
39c080d89aSJiri Kosina	This option lets the HID layer output diagnostics about its internal
40c080d89aSJiri Kosina	state, resolve HID usages, dump HID fields, etc. Individual HID drivers
41c080d89aSJiri Kosina	use this debugging facility to output information about individual HID
42c080d89aSJiri Kosina	devices, etc.
43c080d89aSJiri Kosina
44c080d89aSJiri Kosina	This feature is useful for those who are either debugging the HID parser
45c080d89aSJiri Kosina	or any HID hardware device.
46c080d89aSJiri Kosina
47c080d89aSJiri Kosina	If unsure, say N
48c080d89aSJiri Kosina
4986166b7bSJiri Kosinaconfig HIDRAW
5086166b7bSJiri Kosina	bool "/dev/hidraw raw HID device support"
5186166b7bSJiri Kosina	depends on HID
5286166b7bSJiri Kosina	---help---
5386166b7bSJiri Kosina	Say Y here if you want to support HID devices (from the USB
5486166b7bSJiri Kosina	specification standpoint) that aren't strictly user interface
5586166b7bSJiri Kosina	devices, like monitor controls and Uninterruptable Power Supplies.
5686166b7bSJiri Kosina
5786166b7bSJiri Kosina	This module supports these devices separately using a separate
5886166b7bSJiri Kosina	event interface on /dev/hidraw.
5986166b7bSJiri Kosina
6086166b7bSJiri Kosina	There is also a /dev/hiddev configuration option in the USB HID
6186166b7bSJiri Kosina	configuration menu. In comparison to hiddev, this device does not process
6286166b7bSJiri Kosina	the hid events at all (no parsing, no lookups). This lets applications
6386166b7bSJiri Kosina	to work on raw hid events when they want to, and avoid using transport-specific
6486166b7bSJiri Kosina	userspace libhid/libusb libraries.
6586166b7bSJiri Kosina
6686166b7bSJiri Kosina	If unsure, say Y.
6786166b7bSJiri Kosina
686db3dfefSJiri Kosinasource "drivers/hid/usbhid/Kconfig"
696db3dfefSJiri Kosina
705f22a799SJiri Slabymenu "Special HID drivers"
715f22a799SJiri Slaby	depends on HID
725f22a799SJiri Slaby
7302ae9a1aSJiri Slabyconfig HID_COMPAT
7402ae9a1aSJiri Slaby	bool "Load all HID drivers on hid core load"
7502ae9a1aSJiri Slaby	default y
7602ae9a1aSJiri Slaby	---help---
7702ae9a1aSJiri Slaby	Compatible option for older userspace. If you have system without udev
7802ae9a1aSJiri Slaby	support of module loading through aliases and also old
7902ae9a1aSJiri Slaby	module-init-tools which can't handle hid bus, choose Y here. Otherwise
8002ae9a1aSJiri Slaby	say N. If you say N and your userspace is old enough, the only
8102ae9a1aSJiri Slaby	functionality you loose is modules autoloading.
8202ae9a1aSJiri Slaby
8302ae9a1aSJiri Slaby	If unsure, say Y.
8402ae9a1aSJiri Slaby
85*14a21cd4SJiri Slabyconfig HID_A4TECH
86*14a21cd4SJiri Slaby	tristate "A4 tech"
87*14a21cd4SJiri Slaby	default m
88*14a21cd4SJiri Slaby	depends on USB_HID
89*14a21cd4SJiri Slaby	---help---
90*14a21cd4SJiri Slaby	Support for A4 tech X5 and WOP-35 / Trust 450L mice.
91*14a21cd4SJiri Slaby
928c19a515SJiri Slabyconfig HID_APPLE
938c19a515SJiri Slaby	tristate "Apple"
948c19a515SJiri Slaby	default m
958c19a515SJiri Slaby	depends on (USB_HID || BT_HIDP)
968c19a515SJiri Slaby	---help---
978c19a515SJiri Slaby	Support for some Apple devices which less or more break
988c19a515SJiri Slaby	HID specification.
998c19a515SJiri Slaby
1008c19a515SJiri Slaby	Say Y here if you want support for the special keys (Fn, Numlock) on
1018c19a515SJiri Slaby	Apple iBooks, PowerBooks, MacBooks, MacBook Pros and aluminum USB
1028c19a515SJiri Slaby	keyboards.
1038c19a515SJiri Slaby
1048c19a515SJiri Slaby	If unsure, say M.
1058c19a515SJiri Slaby
1060f221320SJiri Slabyconfig HID_CYPRESS
1070f221320SJiri Slaby	tristate "Cypress"
1080f221320SJiri Slaby	default m
1090f221320SJiri Slaby	depends on USB_HID
1100f221320SJiri Slaby	---help---
1110f221320SJiri Slaby	Support for Cypress mouse and barcodes.
1120f221320SJiri Slaby
1135f22a799SJiri Slabyconfig HID_LOGITECH
1145f22a799SJiri Slaby	tristate "Logitech"
1155f22a799SJiri Slaby	default m
1165f22a799SJiri Slaby	depends on USB_HID
1175f22a799SJiri Slaby	---help---
1185f22a799SJiri Slaby	Support for some Logitech devices which breaks less or more
1195f22a799SJiri Slaby	HID specification.
1205f22a799SJiri Slaby
12178a849a6SJiri Slabyconfig HID_MICROSOFT
12278a849a6SJiri Slaby	tristate "Microsoft"
12378a849a6SJiri Slaby	default m
12478a849a6SJiri Slaby	depends on USB_HID
12578a849a6SJiri Slaby	---help---
12678a849a6SJiri Slaby	Support for some Microsoft devices which breaks less or more
12778a849a6SJiri Slaby	HID specification.
12878a849a6SJiri Slaby
12990231e7eSJiri Slabyconfig HID_SUNPLUS
13090231e7eSJiri Slaby	tristate "Sunplus"
13190231e7eSJiri Slaby	default m
13290231e7eSJiri Slaby	depends on USB_HID
13390231e7eSJiri Slaby	---help---
13490231e7eSJiri Slaby	Support for Sunplus WDesktop input device.
13590231e7eSJiri Slaby
1365f22a799SJiri Slabyendmenu
1375f22a799SJiri Slaby
1383cd70986SJan Engelhardtendif # HID_SUPPORT
139