1 |
On Friday, 31 January 2020 17:42:20 GMT Andrew Lowe wrote: |
2 |
> Hi all, |
3 |
> I posted something a few days ago about middle click of a mouse not |
4 |
> working. In investigating this, I think I have come across something a |
5 |
> bit dodgy. |
6 |
> |
7 |
> I have just updated my kernel to 5.5.0. This has the dodgy |
8 |
behaviour of |
9 |
> the middle button not working. A bit of Googling led me to reboot my |
10 |
> machine with an older kernel, 5.4.14. The middle button worked. The |
11 |
> kernel is the problem I thought. I in turn diff'd the configs for the |
12 |
> two kernels. 5.4.14 has 7 lines of Logitech stuff under CONFIG_HID_. |
13 |
> 5.5.0 has none. The Logitech stuff appears in the 5.5.0 kernel if I |
14 |
> search within the kernel config thingy, "make menuconfig". It should be |
15 |
> noted that I usually roll my old config file over into the new kernel |
16 |
> then run "make oldconfig". |
17 |
> |
18 |
> "make menuconfig" under 5.5.0 shows, in my situation, Device |
19 |
> Drivers->HID support->Special HID drivers: |
20 |
> |
21 |
> ... |
22 |
> ... |
23 |
> Kensington... |
24 |
> LC-Power |
25 |
> Lenovo... |
26 |
> Apple Magic... |
27 |
> Maltron... |
28 |
> ... |
29 |
> ... |
30 |
> |
31 |
> Under 5.4.14 there would have been a Logitech between Lenovo & Magic Mouse |
32 |
> |
33 |
> With this in mind, I deleted the current config file, the one based |
34 |
on |
35 |
> 5.4.14 with "make oldconfig" and missing Logitech and then reran "make |
36 |
> menuconfig". Working my way down to the mouse drivers, lo & behold, |
37 |
> there are entries for the Logitech mice. When I exit "make menuconfig" |
38 |
> and look at the .config file, the Logitech stuff is there. |
39 |
> |
40 |
> Now the big questions are: |
41 |
> |
42 |
> 1) Is "make oldconfig" broken? |
43 |
> 2) Can I no longer take my old config across and update it? |
44 |
> 3) Am I a dill and doing something obviously wrong? |
45 |
> |
46 |
> I don't want to have to start from a fresh config file and weed out |
47 |
all |
48 |
> the %^&^$^#^# stuff I don't need, all of the weird network cards, the |
49 |
> Intel CPU stuf, I run AMD, etc etc. |
50 |
> |
51 |
> Any thoughts on how to rectify this situation would be greatly |
52 |
appreciated, |
53 |
> |
54 |
> Andrew |
55 |
|
56 |
I have not noticed 'make oldconfig' failing to configure my devices. However, |
57 |
I run stable sources and this might make a difference (it shouldn't). |
58 |
|
59 |
What may be happening is the tree of options has changed and Logitech or |
60 |
whatever you're fishing for may have now been reclassified under some other |
61 |
major option, which in the latest kernel config is disabled by default. Your |
62 |
old config does not have the same tree structure and therefore you may have |
63 |
missed the chance to enable whatever Logitech is now a suboption of. |
64 |
|
65 |
I have come across this a couple of times over the years, especially on |
66 |
network options which it seems to me change in name and number along with the |
67 |
seasons. When something breaks I use menuconfig and hunt around for any |
68 |
relevant major option I need to enable, in order to make the suboption I'm |
69 |
after to reappear. Kernel changelogs/git may provide a hint. It can be |
70 |
annoying when you're rushing to get a new kernel to boot correctly, but I |
71 |
haven't found a cleverer way around it. |
72 |
|
73 |
-- |
74 |
Regards, |
75 |
|
76 |
Mick |