X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fhid%2FKconfig;h=cacf89e65af4d9f96b1785c873b6f76b384775c3;hb=b22d8370061898f3029cdc2601fbdec493443f03;hp=5b004b2b1a4e01082a63b0bf3dd036f7c39c5982;hpb=58037eb961f859607b161c50d9d4ecb374de1e8f;p=linux-2.6 diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 5b004b2b1a..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" @@ -37,7 +46,25 @@ config HID_DEBUG If unsure, say N -source "drivers/hid/usbhid/Kconfig" +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. -endmenu + If unsure, say Y. + +source "drivers/hid/usbhid/Kconfig" +endif # HID_SUPPORT