X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fhid%2FKconfig;h=cacf89e65af4d9f96b1785c873b6f76b384775c3;hb=8ffa5b65968262ba6bb046329972791c0d960745;hp=ec796ad087df1e274e37dfd4bd04c20ca864b39b;hpb=274ec7a8c07036bd02e8f2301456e443ef30b8a8;p=linux-2.6 diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index ec796ad087..cacf89e65a 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -1,8 +1,17 @@ # # HID driver configuration # -menu "HID Devices" +menuconfig HID_SUPPORT + bool "HID Devices" depends on INPUT + default y + ---help--- + Say Y here to get to see options for various computer-human interface + device drivers. This option alone does not add any kernel code. + + If you say N, all options in this submenu will be skipped and disabled. + +if HID_SUPPORT config HID tristate "Generic HID support" @@ -22,5 +31,40 @@ config HID If unsure, say Y -endmenu +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 + +config HIDRAW + bool "/dev/hidraw raw HID device support" + depends on HID + ---help--- + Say Y here if you want to support HID devices (from the USB + specification standpoint) that aren't strictly user interface + devices, like monitor controls and Uninterruptable Power Supplies. + + This module supports these devices separately using a separate + event interface on /dev/hidraw. + + There is also a /dev/hiddev configuration option in the USB HID + configuration menu. In comparison to hiddev, this device does not process + the hid events at all (no parsing, no lookups). This lets applications + to work on raw hid events when they want to, and avoid using transport-specific + userspace libhid/libusb libraries. + + If unsure, say Y. + +source "drivers/hid/usbhid/Kconfig" +endif # HID_SUPPORT