xref: /linux-6.15/drivers/hid/Kconfig (revision 8c19a515)
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
73*8c19a515SJiri Slabyconfig HID_APPLE
74*8c19a515SJiri Slaby	tristate "Apple"
75*8c19a515SJiri Slaby	default m
76*8c19a515SJiri Slaby	depends on (USB_HID || BT_HIDP)
77*8c19a515SJiri Slaby	---help---
78*8c19a515SJiri Slaby	Support for some Apple devices which less or more break
79*8c19a515SJiri Slaby	HID specification.
80*8c19a515SJiri Slaby
81*8c19a515SJiri Slaby	Say Y here if you want support for the special keys (Fn, Numlock) on
82*8c19a515SJiri Slaby	Apple iBooks, PowerBooks, MacBooks, MacBook Pros and aluminum USB
83*8c19a515SJiri Slaby	keyboards.
84*8c19a515SJiri Slaby
85*8c19a515SJiri Slaby	If unsure, say M.
86*8c19a515SJiri Slaby
875f22a799SJiri Slabyconfig HID_LOGITECH
885f22a799SJiri Slaby	tristate "Logitech"
895f22a799SJiri Slaby	default m
905f22a799SJiri Slaby	depends on USB_HID
915f22a799SJiri Slaby	---help---
925f22a799SJiri Slaby	Support for some Logitech devices which breaks less or more
935f22a799SJiri Slaby	HID specification.
945f22a799SJiri Slaby
955f22a799SJiri Slabyendmenu
965f22a799SJiri Slaby
973cd70986SJan Engelhardtendif # HID_SUPPORT
98