diff options
author | Fabien Chouteau <fabien.chouteau@barco.com> | 2010-04-08 03:31:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:35 -0400 |
commit | 71adf118946957839a13aa4d1094183e05c6c094 (patch) | |
tree | b99d1113b8a36da96fc7b498b2cea39fcc440914 /drivers/usb/gadget/Kconfig | |
parent | e49bbce133a049f6f325db6b0cee49f406d03a6e (diff) |
USB: gadget: add HID gadget driver
g_hid is a USB gadget driver implementing the Human Interface Device class
specification. The driver handles basic HID protocol handling in the
kernel, and allows userspace to read/write HID reports trough /dev/hidgX
character devices.
Signed-off-by: Fabien Chouteau <fabien.chouteau@barco.com>
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r-- | drivers/usb/gadget/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 11a3e0fa4331..390c13372bdc 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -863,6 +863,17 @@ config USB_G_MULTI_CDC | |||
863 | 863 | ||
864 | If unsure, say "y". | 864 | If unsure, say "y". |
865 | 865 | ||
866 | config USB_G_HID | ||
867 | tristate "HID Gadget" | ||
868 | help | ||
869 | The HID gadget driver provides generic emulation of USB | ||
870 | Human Interface Devices (HID). | ||
871 | |||
872 | For more information, see Documentation/usb/gadget_hid.txt which | ||
873 | includes sample code for accessing the device files. | ||
874 | |||
875 | Say "y" to link the driver statically, or "m" to build a | ||
876 | dynamically linked module called "g_hid". | ||
866 | 877 | ||
867 | # put drivers that need isochronous transfer support (for audio | 878 | # put drivers that need isochronous transfer support (for audio |
868 | # or video class gadget drivers), or specific hardware, here. | 879 | # or video class gadget drivers), or specific hardware, here. |