]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/hid/Kconfig
HID: add hidraw interface
[linux-2.6-omap-h63xx.git] / drivers / hid / Kconfig
index 8fbe9fdac128ea232099499729f80693b3aa0acf..cacf89e65af4d9f96b1785c873b6f76b384775c3 100644 (file)
@@ -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"
@@ -24,6 +33,7 @@ config HID
 
 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
@@ -36,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