[PATCH] HID: Make the HID bus visible in the Kconfig options

Subsystems: hid core layer, the rest, usb hid/hidbp drivers (usb keyboards, mice, remote controls, ...)

STALE5135d

3 messages, 3 authors, 2012-07-20 · open the first message on its own page

[PATCH] HID: Make the HID bus visible in the Kconfig options

From: Henrik Rydberg <hidden>
Date: 2012-06-22 09:16:24

The HID subsystem was made a proper bus in 2008, but the config
options do not reflect this. Modify the HID and USB_HID entries
to better explain what they do.

Signed-off-by: Henrik Rydberg <redacted>
---
Hi Jiri,

As the HID subsystem moves more and more towards a regular bus, the
config options become less and less apt. This patch, for next, only
scratches the surface but hopefully in the right direction.

Cheers,
Henrik

 drivers/hid/Kconfig        |    9 +++++----
 drivers/hid/usbhid/Kconfig |    8 ++++----
 2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index fabf817..adfcc29 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -14,7 +14,7 @@ menuconfig HID_SUPPORT
 if HID_SUPPORT
 
 config HID
-	tristate "Generic HID support"
+	tristate "HID bus support"
 	depends on INPUT
 	default y
 	---help---
@@ -23,9 +23,10 @@ config HID
 	  most commonly used to refer to the USB-HID specification, but other
 	  devices (such as, but not strictly limited to, Bluetooth) are
 	  designed using HID specification (this involves certain keyboards,
-	  mice, tablets, etc). This option compiles into kernel the generic
-	  HID layer code (parser, usages, etc.), which can then be used by
-	  transport-specific HID implementation (like USB or Bluetooth).
+	  mice, tablets, etc). This option adds the HID bus to the kernel,
+	  together with generic HID layer code. The HID devices are added and
+	  removed from the HID bus by the transport-layer drivers, such as
+	  usbhid (USB_HID) and hidp (BT_HIDP).
 
 	  For docs and specs, see http://www.usb.org/developers/hidpage/
 
diff --git a/drivers/hid/usbhid/Kconfig b/drivers/hid/usbhid/Kconfig
index 0f20fd1..0108c59 100644
--- a/drivers/hid/usbhid/Kconfig
+++ b/drivers/hid/usbhid/Kconfig
@@ -1,13 +1,13 @@
-comment "USB Input Devices"
+menu "USB HID support"
 	depends on USB
 
 config USB_HID
-	tristate "USB Human Interface Device (full HID) support"
+	tristate "USB HID transport layer"
 	default y
 	depends on USB && INPUT
 	select HID
 	---help---
-	  Say Y here if you want full HID support to connect USB keyboards,
+	  Say Y here if you want to connect USB keyboards,
 	  mice, joysticks, graphic tablets, or any other HID based devices
 	  to your computer via USB, as well as Uninterruptible Power Supply
 	  (UPS) and monitor control devices.
@@ -81,4 +81,4 @@ config USB_MOUSE
 
 endmenu
 
-
+endmenu
-- 
1.7.10.4

Re: [PATCH] HID: Make the HID bus visible in the Kconfig options

From: Jiri Kosina <hidden>
Date: 2012-07-20 11:38:13

On Fri, 22 Jun 2012, Henrik Rydberg wrote:
The HID subsystem was made a proper bus in 2008, but the config
options do not reflect this. Modify the HID and USB_HID entries
to better explain what they do.

Signed-off-by: Henrik Rydberg <redacted>
---
Hi Jiri,

As the HID subsystem moves more and more towards a regular bus, the
config options become less and less apt. This patch, for next, only
scratches the surface but hopefully in the right direction.
Applied, thank you Henrik.

-- 
Jiri Kosina
SUSE Labs

Re: [PATCH] HID: Make the HID bus visible in the Kconfig options

From: Henrik Rydberg <hidden>
Date: 2012-07-20 12:19:41

quoted
The HID subsystem was made a proper bus in 2008, but the config
options do not reflect this. Modify the HID and USB_HID entries
to better explain what they do.

Signed-off-by: Henrik Rydberg <redacted>
---
Hi Jiri,

As the HID subsystem moves more and more towards a regular bus, the
config options become less and less apt. This patch, for next, only
scratches the surface but hopefully in the right direction.
Applied, thank you Henrik.
This patch has actually been applied already, we added it to the patch
for 3.5.

Thanks,
Henrik
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help