Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] The saga of the missing Logitech drivers
Date: Fri, 31 Jan 2020 18:16:25
Message-Id: FO55N5OT.A2XESX5N.ZD5EZSH4@TJZ7IFRP.NEYHJLIA.HAQRZFXM
In Reply to: [gentoo-user] The saga of the missing Logitech drivers by Andrew Lowe
1 On 2020.01.31 12:42, Andrew Lowe wrote:
2 > Hi all,
3 > I posted something a few days ago about middle click of a mouse
4 > not working. In investigating this, I think I have come across
5 > something a bit dodgy.
6 >
7 > I have just updated my kernel to 5.5.0. This has the dodgy
8 > behaviour of the middle button not working. A bit of Googling led
9 > me to reboot my machine with an older kernel, 5.4.14. The middle
10 > button worked. The kernel is the problem I thought. I in turn diff'd
11 > the configs for the two kernels. 5.4.14 has 7 lines of Logitech stuff
12 > under CONFIG_HID_. 5.5.0 has none. The Logitech stuff appears in the
13 > 5.5.0 kernel if I search within the kernel config thingy, "make
14 > menuconfig". It should be noted that I usually roll my old config
15 > file over into the new kernel then run "make oldconfig".
16 >
17 > "make menuconfig" under 5.5.0 shows, in my situation, Device
18 > Drivers->HID support->Special HID drivers:
19 >
20 > ...
21 > ...
22 > Kensington...
23 > LC-Power
24 > Lenovo...
25 > Apple Magic...
26 > Maltron...
27 > ...
28 > ...
29 >
30 > Under 5.4.14 there would have been a Logitech between Lenovo & Magic
31 > Mouse
32 >
33 > With this in mind, I deleted the current config file, the one
34 > based on 5.4.14 with "make oldconfig" and missing Logitech and then
35 > reran "make menuconfig". Working my way down to the mouse drivers, lo
36 > & behold, there are entries for the Logitech mice. When I exit "make
37 > menuconfig" and look at the .config file, the Logitech stuff is there.
38 >
39 > Now the big questions are:
40 >
41 > 1) Is "make oldconfig" broken?
42 > 2) Can I no longer take my old config across and update it?
43 > 3) Am I a dill and doing something obviously wrong?
44 >
45 > I don't want to have to start from a fresh config file and weed
46 > out all the %^&^$^#^# stuff I don't need, all of the weird network
47 > cards, the Intel CPU stuf, I run AMD, etc etc.
48 >
49 > Any thoughts on how to rectify this situation would be greatly
50 > appreciated,
51 >
52 > Andrew
53 I'm not yet able to update to 5.5 (problems with virtualbox-modules,
54 but there is already a bug filed) but am wondering if I will run into
55 this same problem. I don't think I have any specific mouse drivers
56 loaded, as I have been using cheap generic mice without problems so
57 far. However, did you try grepping for LOGITECH in the new .config? I
58 see "# CONFIG_HID_LOGITECH is not set". If you look at the help for
59 the top logitech entry (once you can get to it) look at the
60 requirements, and see if perhaps one of them is not set. If one of
61 the requirements is not set, then the option doesn't even appear.
62 I know this doesn't directly answer what might be broken, but as I
63 remember, the kernel upgrade guides do suggest going through the full
64 configuration when changing more than just the minor version. So
65 5.4.12 to 5.4.13, the make oldconfig is likely to be enough, but 5.4.x
66 to 5.5.x is likely to actually need you to run through the whole thing
67 - not necessarily starting from scratch, but just to check for oddities
68 like this.
69 That said, it is certainly possible there is a bug somewhere, maybe
70 even in the stuff that drives the make oldconfig, which unset or failed
71 to set something that should have been set based on the starting
72 .config.
73
74 Jack

Replies

Subject Author
Re: [gentoo-user] The saga of the missing Logitech drivers Daniel Frey <djqfrey@×××××.com>