Hi,

HID-BP confuses people, we know that.
I don't want to see the HID-BP drivers removed,
but I think it would be a good idea to make them more
difficult to enable, unless someone knows what they
are looking for.  (Basically it would reduce support
incidents a lot.)

I modified the USB input menu 2 different ways.
The first way just makes some small text & Help file
changes, and I suspect that this isn't enough of a change.

The second way puts HID-BP in its own sub-menu and
updates the Help file.  I think that this is the better
choice, so unless there is a great hue and cry,
please apply the "hidbpmenu-2542.patch" file.

~Randy
--- ./drivers/usb/input/Config.in.hid   Fri Oct 11 21:22:14 2002
+++ ./drivers/usb/input/Config.in       Sun Oct 13 21:40:04 2002
@@ -15,8 +15,8 @@
 dep_mbool '    /dev/hiddev raw HID device support' CONFIG_USB_HIDDEV $CONFIG_USB_HID
 
 if [ "$CONFIG_USB_HID" != "y" ]; then
-   dep_tristate '  USB HIDBP Keyboard (basic) support' CONFIG_USB_KBD $CONFIG_USB 
$CONFIG_INPUT
-   dep_tristate '  USB HIDBP Mouse (basic) support' CONFIG_USB_MOUSE $CONFIG_USB 
$CONFIG_INPUT
+   dep_tristate '  USB HIDBP Keyboard (simple Boot) support' CONFIG_USB_KBD 
+$CONFIG_USB $CONFIG_INPUT
+   dep_tristate '  USB HIDBP Mouse (simple Boot) support' CONFIG_USB_MOUSE 
+$CONFIG_USB $CONFIG_INPUT
 fi
 
 dep_tristate '  Aiptek 6000U/8000U tablet support' CONFIG_USB_AIPTEK $CONFIG_USB 
$CONFIG_INPUT
--- ./drivers/usb/input/Config.help.hid Fri Oct 11 21:22:11 2002
+++ ./drivers/usb/input/Config.help     Sun Oct 13 21:31:57 2002
@@ -63,7 +63,8 @@
   to use the generic HID driver for your USB keyboard and prefer
   to use the keyboard in its limited Boot Protocol mode instead.
 
-  This is almost certainly not what you want.
+  This is almost certainly not what you want.  This is mostly
+  useful for embedded applications or simple keyboards.
 
   This code is also available as a module ( = code which can be
   inserted in and removed from the running kernel whenever you want).
@@ -77,7 +78,8 @@
   to use the generic HID driver for your USB keyboard and prefer
   to use the keyboard in its limited Boot Protocol mode instead.
 
-  This is almost certainly not what you want.
+  This is almost certainly not what you want.  This is mostly
+  useful for embedded applications or simple mice.
 
   This code is also available as a module ( = code which can be
   inserted in and removed from the running kernel whenever you want).
--- ./drivers/usb/input/Config.in.hid   Fri Oct 11 21:22:14 2002
+++ ./drivers/usb/input/Config.in       Sun Oct 13 21:55:36 2002
@@ -15,8 +15,11 @@
 dep_mbool '    /dev/hiddev raw HID device support' CONFIG_USB_HIDDEV $CONFIG_USB_HID
 
 if [ "$CONFIG_USB_HID" != "y" ]; then
-   dep_tristate '  USB HIDBP Keyboard (basic) support' CONFIG_USB_KBD $CONFIG_USB 
$CONFIG_INPUT
-   dep_tristate '  USB HIDBP Mouse (basic) support' CONFIG_USB_MOUSE $CONFIG_USB 
$CONFIG_INPUT
+   mainmenu_option next_comment
+   comment 'USB HID Boot Protocol drivers'
+   dep_tristate '  USB HIDBP Keyboard (simple Boot) support' CONFIG_USB_KBD 
+$CONFIG_USB $CONFIG_INPUT
+   dep_tristate '  USB HIDBP Mouse (simple Boot) support' CONFIG_USB_MOUSE 
+$CONFIG_USB $CONFIG_INPUT
+   endmenu
 fi
 
 dep_tristate '  Aiptek 6000U/8000U tablet support' CONFIG_USB_AIPTEK $CONFIG_USB 
$CONFIG_INPUT
--- ./drivers/usb/input/Config.help.hid Fri Oct 11 21:22:11 2002
+++ ./drivers/usb/input/Config.help     Sun Oct 13 21:31:57 2002
@@ -63,7 +63,8 @@
   to use the generic HID driver for your USB keyboard and prefer
   to use the keyboard in its limited Boot Protocol mode instead.
 
-  This is almost certainly not what you want.
+  This is almost certainly not what you want.  This is mostly
+  useful for embedded applications or simple keyboards.
 
   This code is also available as a module ( = code which can be
   inserted in and removed from the running kernel whenever you want).
@@ -77,7 +78,8 @@
   to use the generic HID driver for your USB keyboard and prefer
   to use the keyboard in its limited Boot Protocol mode instead.
 
-  This is almost certainly not what you want.
+  This is almost certainly not what you want.  This is mostly
+  useful for embedded applications or simple mice.
 
   This code is also available as a module ( = code which can be
   inserted in and removed from the running kernel whenever you want).

Reply via email to