Re: 2.6.0-test7 and HIDBP

From: Norman Diamond
Date: Sat Oct 11 2003 - 08:19:26 EST


Sam Ravnborg replied to me:

> If there are dofferences between what is shown in xconfig and gconfig,
> then there is a bug in one of the front-ends.
> They use the same back-end - and what they display is based on the same
> input files.

Or maybe there are bugs in both of these front-ends. I finally thought of
looking at two .config files in text editors, one produced by make xconfig
and one produced by make gconfig. Both are for kernel 2.6.0-test7 though
the machines and original distros are different.

In the .config generated by make xconfig, the following lines exist:

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
[...]

OK, aside from making me wonder what HIDDEV refers to and why it isn't set,
and making it rather non-obvious which drivers are HID Boot Protocol and
which aren't, the settings look pretty reasonable to me.

In the .config generated by make gconfig, the following lines exist:

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
[...]

With this file in a text editor, searching for string USB_KBD results in the
string not being found.

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