2.6.0-test7 and HIDBP
OK, I already know that I'm half-blind, but now either I'm 75% blind or else these are facts:
make xconfig has options for HIDBP.
make gconfig doesn't.
Of course I want full HID so this might not matter, but I have memories of needing HIDBP a few years ago.
On Fri, 10 Oct 2003 18:34:45 +0900 "Norman Diamond" <[email protected]> wrote:
| OK, I already know that I'm half-blind, but now either I'm 75% blind or else | these are facts: | | make xconfig has options for HIDBP. | make gconfig doesn't. | | Of course I want full HID so this might not matter, but I have memories of | needing HIDBP a few years ago.
I don't know about gconfig, but you don't want or need HIDBP with full HID.
--
~Randy
Randy Dunlap replied to me:
Quoted 9 lines
| OK, I already know that I'm half-blind, but now either I'm 75% blind or | else these are facts: | make xconfig has options for HIDBP. | make gconfig doesn't. | Of course I want full HID so this might not matter, but I have memories | of needing HIDBP a few years ago.I don't know about gconfig, but you don't want or need HIDBP with full HID.
Indeed I don't want or need HIDBP with full HID, which is the reason I said "so this might not matter". Also I don't know if anyone still needs HIDBP or not, which is the reason I said "I have memories of needing HIDBP a few years ago".
Surely if anyone does still need HIDBP then it should be added to gconfig? Surely if no one needs HIDBP any more then it should be deleted entirely?
Or maybe I'm 75% blind, maybe I it really is in gconfig and I couldn't see it. But no one has said that this is the case.
Quoted 3 lines · Norman Diamond
Or maybe I'm 75% blind, maybe I it really is in gconfig and I couldn't see it. But no one has said that this is the case.
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.
Sam
Sam Ravnborg replied to me:
Quoted 4 lines
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=mCONFIG_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=yCONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not setCONFIG_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.
On Sat, 11 Oct 2003 22:15:50 +0900 "Norman Diamond" <[email protected]> wrote:
| 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.
Let me see if I am understanding this..
Is the problem that some generated .config files contain different strings for options that are _not_ set, depending on which front-end is used?
Or are you discussing a bug in the (on-screen) viewable part of a config front-end?
If so, I'll confirm that different config front-ends generate different .config files, and it makes using "vi .config && make oldconfig" not as usable as I'd like it to be, but I don't know that it's a bug.
--
~Randy
On Mon, 13 Oct 2003 09:49:43 -0700 "Randy.Dunlap" <[email protected]> wrote:
| On Sat, 11 Oct 2003 22:15:50 +0900 "Norman Diamond" <[email protected]> wrote: | | | 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. | | Let me see if I am understanding this.. | Is the problem that some generated .config files contain different | strings for options that are _not_ set, depending on which | front-end is used? | Or are you discussing a bug in the (on-screen) viewable part of a | config front-end? | | If so, I'll confirm that different config front-ends generate different | .config files, and it makes using "vi .config && make oldconfig" | not as usable as I'd like it to be, but I don't know that it's a bug.
oops, I mis-diffed the config files, but I'll keep looking since I think that I've seen something like this before.
--
~Randy
Hi,
Quoted 13 lines · Norman Diamond
In the .config generated by make gconfig, the following lines exist:
#
# USB Human Interface Devices (HID)
#CONFIG_USB_HID=yCONFIG_USB_HIDINPUT=y
#CONFIG_HID_FFis not setCONFIG_USB_HIDDEV=y
#CONFIG_USB_AIPTEKis not set
#CONFIG_USB_WACOMis not set
[...]
Quoted 2 lines
With this file in a text editor, searching for string
USB_KBDresults in the string not being found.
If USB_HIDDEV is set to 'y', then you indeed won't see USB_KBD, as it's only selectable if USB_HIDDEV is 'n' or 'm'. It seems to work here.
bye, Roman
Roman Zippel replied to me:
Quoted 2 lines
If
USB_HIDDEVis set to 'y', then you indeed won't seeUSB_KBD, as it's only selectable ifUSB_HIDDEVis 'n' or 'm'. It seems to work here.
You are right. On the machine with Gnome, I ran "make gconfig" again, changed one of the HID options from "y" to "m", and then the HIDBP options became available.
Sorry, I didn't guess that changing a setting between "y" and "m" could affect the visibility of other options this way. In this case it seems reasonable, but I still didn't imagine this kind of thing. Sorry.