mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 14:12:51 +00:00
58037eb961
There have been many reports recently about broken HID devices, the diagnosis of which required users to recompile their kernels in order to be able to provide debugging output needed for coding a quirk for a particular device. This patch makes CONFIG_HID_DEBUG default y if !EMBEDDED and makes it possible to control debugging output produced by HID code by supplying 'debug=1' module parameter. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
#
|
|
# HID driver configuration
|
|
#
|
|
menu "HID Devices"
|
|
depends on INPUT
|
|
|
|
config HID
|
|
tristate "Generic HID support"
|
|
depends on INPUT
|
|
default y
|
|
---help---
|
|
A human interface device (HID) is a type of computer device that
|
|
interacts directly with and takes input from humans. The term "HID"
|
|
most commonly used to refer to the USB-HID specification, but other
|
|
devices (such as, but not strictly limited to, Bluetooth) are
|
|
designed using HID specification (this involves certain keyboards,
|
|
mice, tablets, etc). This option compiles into kernel the generic
|
|
HID layer code (parser, usages, etc.), which can then be used by
|
|
transport-specific HID implementation (like USB or Bluetooth).
|
|
|
|
For docs and specs, see http://www.usb.org/developers/hidpage/
|
|
|
|
If unsure, say Y
|
|
|
|
config HID_DEBUG
|
|
bool "HID debugging support"
|
|
default y if !EMBEDDED
|
|
depends on HID
|
|
---help---
|
|
This option lets the HID layer output diagnostics about its internal
|
|
state, resolve HID usages, dump HID fields, etc. Individual HID drivers
|
|
use this debugging facility to output information about individual HID
|
|
devices, etc.
|
|
|
|
This feature is useful for those who are either debugging the HID parser
|
|
or any HID hardware device.
|
|
|
|
If unsure, say N
|
|
|
|
source "drivers/hid/usbhid/Kconfig"
|
|
|
|
endmenu
|
|
|