RE: [PATCH] drivers/usb/Config.in

From: Dunlap, Randy (randy.dunlap@intel.com)
Date: Mon Oct 09 2000 - 19:22:47 EST


Not needed. This is a misunderstanding. Maybe that needs
some work (in Help maybe), but not this patch.

You have the first USB option ("Support for USB") set to Y,
right?

Then if you select USB HID support, that builds the hid driver,
which handles mice, keyboards, joysticks, gamepads, speaker
buttons, any-old-kind-of buttons, toaster buttons, etc.

OTOH, if you want just some basic USB mouse & keyboard support,
you don't have to use the hid driver, you can use the HIDBP
(HID Boot Protocol) drivers instead. However, these drivers
(hid and hidbp) are mutually exclusive and you shouldn't
try to select both of them.

~Randy

> This patch fixes a minor config error for
> drivers/usb/Config.in. When you
> select USB Human Interface Device (HID) support I assume you should be
> able to select a USB mouse and/or USB keyboard. With the
> current Config.in
> you can't.
>
> --- Config.in.orig Tue Oct 10 00:10:06 2000
> +++ Config.in Tue Oct 10 00:10:27 2000
> @@ -80,7 +80,7 @@
> comment ' Input core support is needed for USB HID'
> else
> dep_tristate ' USB Human Interface Device (HID)
> support' CONFIG_USB_HID $CONFIG_USB $CONFIG_INPUT
> - if [ "$CONFIG_USB_HID" != "y" ]; then
> + if [ "$CONFIG_USB_HID" = "y" ]; then
> dep_tristate ' USB HIDBP Keyboard support'
> CONFIG_USB_KBD $CONFIG_USB $CONFIG_INPUT
> dep_tristate ' USB HIDBP Mouse support'
> CONFIG_USB_MOUSE $CONFIG_USB $CONFIG_INPUT
> fi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:14 EST