All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] HID: Make the HID bus visible in the Kconfig options
@ 2012-06-22  9:18 Henrik Rydberg
  2012-07-20 11:38 ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Henrik Rydberg @ 2012-06-22  9:18 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Dmitry Torokhov, linux-input, Henrik Rydberg

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 <rydberg@euromail.se>
---
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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] HID: Make the HID bus visible in the Kconfig options
  2012-06-22  9:18 [PATCH] HID: Make the HID bus visible in the Kconfig options Henrik Rydberg
@ 2012-07-20 11:38 ` Jiri Kosina
  2012-07-20 12:20   ` Henrik Rydberg
  0 siblings, 1 reply; 3+ messages in thread
From: Jiri Kosina @ 2012-07-20 11:38 UTC (permalink / raw)
  To: Henrik Rydberg; +Cc: Dmitry Torokhov, linux-input

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 <rydberg@euromail.se>
> ---
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] HID: Make the HID bus visible in the Kconfig options
  2012-07-20 11:38 ` Jiri Kosina
@ 2012-07-20 12:20   ` Henrik Rydberg
  0 siblings, 0 replies; 3+ messages in thread
From: Henrik Rydberg @ 2012-07-20 12:20 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Dmitry Torokhov, linux-input

> > 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 <rydberg@euromail.se>
> > ---
> > 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-20 12:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22  9:18 [PATCH] HID: Make the HID bus visible in the Kconfig options Henrik Rydberg
2012-07-20 11:38 ` Jiri Kosina
2012-07-20 12:20   ` Henrik Rydberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.