diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-06-10 09:16:13 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-06-18 07:41:59 -0400 |
commit | 1ccd7a2a33f2b47e46c51f4501e9623a51d28090 (patch) | |
tree | bfcee4e23158ec8eb777c77ef3ea1d484dde7fff /drivers/hid/Kconfig | |
parent | 3c2c4b73aa79e4a1b601710b59e092441175f4bb (diff) |
HID: uhid: introduce user-space I/O driver support for HID
This adds a dummy driver that will support user-space I/O drivers for the
HID subsystem. This allows to write transport-level drivers like USB-HID
and Bluetooth-HID in user-space.
Low-Energy Bluetooth needs this to feed HID data that is parsed in
user-space back into the kernel.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r-- | drivers/hid/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index e9c68fedfcff..8cca0af2dbd1 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -59,6 +59,27 @@ config HIDRAW | |||
59 | 59 | ||
60 | If unsure, say Y. | 60 | If unsure, say Y. |
61 | 61 | ||
62 | config UHID | ||
63 | tristate "User-space I/O driver support for HID subsystem" | ||
64 | depends on HID | ||
65 | default n | ||
66 | ---help--- | ||
67 | Say Y here if you want to provide HID I/O Drivers from user-space. | ||
68 | This allows to write I/O drivers in user-space and feed the data from | ||
69 | the device into the kernel. The kernel parses the HID reports, loads the | ||
70 | corresponding HID Device Driver or provides input devices on top of your | ||
71 | user-space device. | ||
72 | |||
73 | This driver cannot be used to parse HID-reports in user-space and write | ||
74 | special HID-drivers. You should use hidraw for that. | ||
75 | Instead, this driver allows to write the transport-layer driver in | ||
76 | user-space like USB-HID and Bluetooth-HID do in kernel-space. | ||
77 | |||
78 | If unsure, say N. | ||
79 | |||
80 | To compile this driver as a module, choose M here: the | ||
81 | module will be called uhid. | ||
82 | |||
62 | source "drivers/hid/usbhid/Kconfig" | 83 | source "drivers/hid/usbhid/Kconfig" |
63 | 84 | ||
64 | menu "Special HID drivers" | 85 | menu "Special HID drivers" |