Logitech G915 Wireless Keyboard acts weird on 6.6.0
Subsystems (2)
Hi,
I notice a regression report on Bugzilla [1]. Quoting from it:
Quoted 8 lines
Hello,
After upgrading from 6.5.9 to 6.6.0, my keyboard started acting really weird in its wireless mode, key actions sent are completely wrong, see video attached.Most keys are perceived as either E, 3 or F7, with F8 and <, as well.
Modifier keys (CTRL, ALT, ALT GR, Shift and Super) are working normally, as well as media control keys (pause/play, previous, next, mute and sound up/down).
The keyboard works as expected if it's wired.
Another reporter bisected the regression:
Quoted 24 lines
Bisected to
9d1bd9346241cd6963b58da7ffb7ed303285f684is the first bad commit commit9d1bd9346241cd6963b58da7ffb7ed303285f684
Author: Mavroudis Chatzilazaridis <[email protected]>
Date: Sun Jul 16 18:23:44 2023 +0000HID: logitech-dj: Add support for a new lightspeed receiver iteration
The lightspeed receiver for the Pro X Superlight uses 13 byte mouse reports without a report id. The workaround for such cases has been adjusted to handle these larger packets.
The device now reports the status of its battery in wireless mode and libratbag now recognizes the device and it can be configured with Piper.
https://github.com/libratbag/libratbag/pull/1122
Co-developed-by Filipe Laíns <[email protected]>Signed-off-by Filipe Laíns <[email protected]>Signed-off-by Mavroudis Chatzilazaridis <[email protected]>Reviewed-by Bastien Nocera <[email protected]>Signed-off-by Jiri Kosina <[email protected]>
Quoted 3 lines
drivers/hid/hid-ids.h| 1 +drivers/hid/hid-logitech-dj.c| 11 ++++++++---2 files changed, 9 insertions(+), 3 deletions(-)
See Bugzilla for the full thread.
Anyway, I'm adding this regression to regzbot:
#regzbot introduced: 9d1bd9346241cd https://bugzilla.kernel.org/show_bug.cgi?id=218094
#regzbot title: Logitech G915 Wireless Keyboard key event only detects few key codes #regzbot link: https://streamable.com/ac6l8u
Thanks.
[1]: https://bugzilla.kernel.org/show_bug.cgi?id=218094
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Hi Thorsten and all,
Quoted 43 lines · Bagas Sanjaya
Hi,
I notice a regression report on Bugzilla [1]. Quoting from it:
Quoted 8 lines
Hello,
After upgrading from 6.5.9 to 6.6.0, my keyboard started acting really weird in its wireless mode, key actions sent are completely wrong, see video attached.Most keys are perceived as either E, 3 or F7, with F8 and <, as well.
Modifier keys (CTRL, ALT, ALT GR, Shift and Super) are working normally, as well as media control keys (pause/play, previous, next, mute and sound up/down).
The keyboard works as expected if it's wired.
Another reporter bisected the regression:
Quoted 24 lines
Bisected to
9d1bd9346241cd6963b58da7ffb7ed303285f684is the first bad commit commit9d1bd9346241cd6963b58da7ffb7ed303285f684
Author: Mavroudis Chatzilazaridis <[email protected]>
Date: Sun Jul 16 18:23:44 2023 +0000HID: logitech-dj: Add support for a new lightspeed receiver iteration
The lightspeed receiver for the Pro X Superlight uses 13 byte mouse reports without a report id. The workaround for such cases has been adjusted to handle these larger packets.
The device now reports the status of its battery in wireless mode and libratbag now recognizes the device and it can be configured with Piper.
https://github.com/libratbag/libratbag/pull/1122
Co-developed-by Filipe Laíns <[email protected]>Signed-off-by Filipe Laíns <[email protected]>Signed-off-by Mavroudis Chatzilazaridis <[email protected]>Reviewed-by Bastien Nocera <[email protected]>Signed-off-by Jiri Kosina <[email protected]>Quoted 3 lines
drivers/hid/hid-ids.h| 1 +drivers/hid/hid-logitech-dj.c| 11 ++++++++---2 files changed, 9 insertions(+), 3 deletions(-)
Quoted 8 lines
See Bugzilla for the full thread.
Anyway, I'm adding this regression to regzbot:
#regzbot introduced:
9d1bd9346241cdhttps://bugzilla.kernel.org/show_bug.cgi?id=218094
#regzbot title: Logitech G915 Wireless Keyboard key event only detects few key codes #regzbot link: https://streamable.com/ac6l8u
There's no reply from culprit author nor linux-input people (did they miss this regression?). And on Bugzilla, other reporters replied that reverting the culprit fixed the regression.
FYI, there's similar Bugzilla report on [1].
Also Cc'ed Linus.
Thanks.
[1]: https://bugzilla.kernel.org/show_bug.cgi?id=218172
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Jiri Kosina
maintainerQuoted 55 lines · Bagas Sanjaya
Hi Thorsten and all,
Quoted 43 lines · Bagas Sanjaya
Hi,
I notice a regression report on Bugzilla [1]. Quoting from it:
Quoted 8 lines
Hello,
After upgrading from 6.5.9 to 6.6.0, my keyboard started acting really weird in its wireless mode, key actions sent are completely wrong, see video attached.Most keys are perceived as either E, 3 or F7, with F8 and <, as well.
Modifier keys (CTRL, ALT, ALT GR, Shift and Super) are working normally, as well as media control keys (pause/play, previous, next, mute and sound up/down).
The keyboard works as expected if it's wired.
Another reporter bisected the regression:
Quoted 24 lines
Bisected to
9d1bd9346241cd6963b58da7ffb7ed303285f684is the first bad commit commit9d1bd9346241cd6963b58da7ffb7ed303285f684
Author: Mavroudis Chatzilazaridis <[email protected]>
Date: Sun Jul 16 18:23:44 2023 +0000HID: logitech-dj: Add support for a new lightspeed receiver iteration
The lightspeed receiver for the Pro X Superlight uses 13 byte mouse reports without a report id. The workaround for such cases has been adjusted to handle these larger packets.
The device now reports the status of its battery in wireless mode and libratbag now recognizes the device and it can be configured with Piper.
https://github.com/libratbag/libratbag/pull/1122
Co-developed-by Filipe Laíns <[email protected]>Signed-off-by Filipe Laíns <[email protected]>Signed-off-by Mavroudis Chatzilazaridis <[email protected]>Reviewed-by Bastien Nocera <[email protected]>Signed-off-by Jiri Kosina <[email protected]>Quoted 3 lines
drivers/hid/hid-ids.h| 1 +drivers/hid/hid-logitech-dj.c| 11 ++++++++---2 files changed, 9 insertions(+), 3 deletions(-)Quoted 8 lines
See Bugzilla for the full thread.
Anyway, I'm adding this regression to regzbot:
#regzbot introduced:
9d1bd9346241cdhttps://bugzilla.kernel.org/show_bug.cgi?id=218094
#regzbot title: Logitech G915 Wireless Keyboard key event only detects few key codes #regzbot link: https://streamable.com/ac6l8u
Quoted 5 lines
There's no reply from culprit author nor linux-input people (did they miss this regression?). And on Bugzilla, other reporters replied that reverting the culprit fixed the regression.
FYI, there's similar Bugzilla report on [1].
As there was no reaction from Mavroudis in order to figure out why he is not observing the issues the other reporters do and what to do to fix those, I already do have revert in my queue for -rc3.
My first guess would be that the extra buttons in the extended report are not properly reflected in the emulated report descriptor, but that wouldn't explain why it worked for the author of the commit.
So revert it is, and once Marvoudis resurfaces, we can try again for some of later releases.
Signature · 2 lines
Jiri Kosina SUSE Labs
Quoted 15 lines · Bagas Sanjaya
Quoted 8 lines · Bagas Sanjaya
I notice a regression report on Bugzilla [1]. Quoting from it:
Quoted 6 lines
Hello, After upgrading from 6.5.9 to 6.6.0, my keyboard started acting really weird in its wireless mode, key actions sent are completely wrong, see video attached.
Most keys are perceived as either E, 3 or F7, with F8 and <, as well.
[...]
Quoted 5 lines
Quoted 5 lines
9d1bd9346241cd6963b58da7ffb7ed303285f684is the first bad commit commit9d1bd9346241cd6963b58da7ffb7ed303285f684Author: Mavroudis Chatzilazaridis <[email protected]> Date: Sun Jul 16 18:23:44 2023 +0000
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
HID: logitech-dj: Add support for a new lightspeed receiver iteration
[...]
Quoted 2 lines
There's no reply from culprit author nor linux-input people (did they miss this regression?).
I guess part of the problem is that Bastien got reassigned and might not care about the kernel anymore.
Another part of it is that Jiri was CCed, but Benjamin was not.
Ideally of course Mavroudis Chatzilazaridis, the culprit's author would look into this, but from a quick search on lore it looks like Mavroudis is not a regular kernel contributor and thus might not even know how we expect situations like this to be handled.
Quoted 2 lines
And on Bugzilla, other reporters replied that
reverting the culprit fixed the regression.
From Takashi's comments like
https://bugzilla.kernel.org/show_bug.cgi?id=218094#c33 it sounds like this can be fixed by resolving another regression as discussed earlier today here:
https://lore.kernel.org/all/[email protected]/
I think that might be the better solution, but Takashi, Hans, or the input people will know best.
Quoted 2 lines
FYI, there's similar Bugzilla report on [1].
[1] https://bugzilla.kernel.org/show_bug.cgi?id=218172
Not sure, that might be a different problem, guess Hans is the best to judge.
Quoted 1 line
Also Cc'ed Linus.
Linus can speak for himself, but I guess he gets enough mail already. I'd say in a situation like this it thus might best to not CC him; instead poke me when things apparently are not handled well, then we together can decide if it's worth bringing Linus in.
Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) --
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
If I did something stupid, please tell me, as explained on that page.
Quoted 15 lines · Jiri Kosina
Quoted 8 lines · Bagas Sanjaya
Hi Thorsten and all,
<snip>...
There's no reply from culprit author nor linux-input people (did they miss this regression?). And on Bugzilla, other reporters replied that reverting the culprit fixed the regression.FYI, there's similar Bugzilla report on [1].
As there was no reaction from Mavroudis in order to figure out why he is not observing the issues the other reporters do and what to do to fix those, I already do have revert in my queue for -rc3.
Quoted 7 lines
My first guess would be that the extra buttons in the extended report are not properly reflected in the emulated report descriptor, but that wouldn't explain why it worked for the author of the commit.
So revert it is, and once Marvoudis resurfaces, we can try again for some of later releases.
Thanks for letting us know!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Quoted 34 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 4 lines · Bagas Sanjaya
On Thu, Nov 02, 2023 at 09:11:42PM +0700, Bagas Sanjaya wrote:
<snip>...
There's no reply from culprit author nor linux-input people (did they miss this regression?).I guess part of the problem is that Bastien got reassigned and might not care about the kernel anymore.
Another part of it is that Jiri was CCed, but Benjamin was not.
Ideally of course Mavroudis Chatzilazaridis, the culprit's author would look into this, but from a quick search on lore it looks like Mavroudis is not a regular kernel contributor and thus might not even know how we expect situations like this to be handled.
Quoted 2 lines
And on Bugzilla, other reporters replied that
reverting the culprit fixed the regression.From Takashi's comments like
https://bugzilla.kernel.org/show_bug.cgi?id=218094#c33 it sounds like this can be fixed by resolving another regression as discussed earlier today here:
https://lore.kernel.org/all/[email protected]/I think that might be the better solution, but Takashi, Hans, or the input people will know best.
Quoted 2 lines
FYI, there's similar Bugzilla report on [1].
[1] https://bugzilla.kernel.org/show_bug.cgi?id=218172Not sure, that might be a different problem, guess Hans is the best to judge.
Quoted 6 lines
Quoted 1 line
Also Cc'ed Linus.
Linus can speak for himself, but I guess he gets enough mail already. I'd say in a situation like this it thus might best to not CC him; instead poke me when things apparently are not handled well, then we together can decide if it's worth bringing Linus in.
Thanks for the pro tip!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Jiri Kosina
maintainerQuoted 9 lines · Linux regression tracking (Thorsten Leemhuis)
I guess part of the problem is that Bastien got reassigned and might not care about the kernel anymore.
Another part of it is that Jiri was CCed, but Benjamin was not.
Ideally of course Mavroudis Chatzilazaridis, the culprit's author would look into this, but from a quick search on lore it looks like Mavroudis is not a regular kernel contributor and thus might not even know how we expect situations like this to be handled.
A comment from Mavroudis just appeared in
https://bugzilla.kernel.org/show_bug.cgi?id=218172
pointing out that indeed the report descriptor of the device he is working on is different than the ones from the reporter.
Until this mess gets figured out, I am now pretty sure revert is the way to go for 6.7.
Signature · 2 lines
Jiri Kosina SUSE Labs
Quoted 14 lines · Jiri Kosina
Quoted 9 lines · Linux regression tracking (Thorsten Leemhuis)
I guess part of the problem is that Bastien got reassigned and might not care about the kernel anymore.
Another part of it is that Jiri was CCed, but Benjamin was not.
Ideally of course Mavroudis Chatzilazaridis, the culprit's author would look into this, but from a quick search on lore it looks like Mavroudis is not a regular kernel contributor and thus might not even know how we expect situations like this to be handled.
A comment from Mavroudis just appeared in
Quoted 8 lines
https://bugzilla.kernel.org/show_bug.cgi?id=218172pointing out that indeed the report descriptor of the device he is working on is different than the ones from the reporter.
Until this mess gets figured out, I am now pretty sure revert is the way to go for 6.7.
OK, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Quoted 39 lines · Linux regression tracking (Thorsten Leemhuis)
Quoted 15 lines · Bagas Sanjaya
Quoted 8 lines · Bagas Sanjaya
I notice a regression report on Bugzilla [1]. Quoting from it:
Quoted 6 lines
Hello, After upgrading from 6.5.9 to 6.6.0, my keyboard started acting really weird in its wireless mode, key actions sent are completely wrong, see video attached.
Most keys are perceived as either E, 3 or F7, with F8 and <, as well.
[...]
Quoted 5 lines
Quoted 5 lines
9d1bd9346241cd6963b58da7ffb7ed303285f684is the first bad commit commit9d1bd9346241cd6963b58da7ffb7ed303285f684Author: Mavroudis Chatzilazaridis <[email protected]> Date: Sun Jul 16 18:23:44 2023 +0000Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
HID: logitech-dj: Add support for a new lightspeed receiver iteration
[...]
Quoted 2 lines
There's no reply from culprit author nor linux-input people (did they miss this regression?).
I guess part of the problem is that Bastien got reassigned and might not care about the kernel anymore.
Another part of it is that Jiri was CCed, but Benjamin was not.
Ideally of course Mavroudis Chatzilazaridis, the culprit's author would look into this, but from a quick search on lore it looks like Mavroudis is not a regular kernel contributor and thus might not even know how we expect situations like this to be handled.
Quoted 2 lines
And on Bugzilla, other reporters replied that
reverting the culprit fixed the regression.
Quoted 8 lines
From Takashi's comments like
https://bugzilla.kernel.org/show_bug.cgi?id=218094#c33 it sounds like this can be fixed by resolving another regression as discussed earlier today here:
https://lore.kernel.org/all/[email protected]/I think that might be the better solution, but Takashi, Hans, or the input people will know best.
Just for making things clearer: it seems that there are two different regressions that happened casually on several Logitech keyboard models. One is by the commit 9d1bd9346241
HID: logitech-dj: Add support for a new lightspeed receiver iteration
and another by the commit c7d80059b086
leds: class: Store the color index in struct led_classdev
The former caused some missing event handling and the latter caused the driver probe error.
Both commits need to be (more or less) reverted in the end.
Takashi
Quoted 71 lines · Jiri Kosina
Quoted 55 lines · Bagas Sanjaya
Hi Thorsten and all,
Quoted 43 lines · Bagas Sanjaya
Hi,
I notice a regression report on Bugzilla [1]. Quoting from it:
Quoted 8 lines
Hello,
After upgrading from 6.5.9 to 6.6.0, my keyboard started acting really weird in its wireless mode, key actions sent are completely wrong, see video attached.Most keys are perceived as either E, 3 or F7, with F8 and <, as well.
Modifier keys (CTRL, ALT, ALT GR, Shift and Super) are working normally, as well as media control keys (pause/play, previous, next, mute and sound up/down).
The keyboard works as expected if it's wired.
Another reporter bisected the regression:
Quoted 24 lines
Bisected to
9d1bd9346241cd6963b58da7ffb7ed303285f684is the first bad commit commit9d1bd9346241cd6963b58da7ffb7ed303285f684
Author: Mavroudis Chatzilazaridis <[email protected]>
Date: Sun Jul 16 18:23:44 2023 +0000HID: logitech-dj: Add support for a new lightspeed receiver iteration
The lightspeed receiver for the Pro X Superlight uses 13 byte mouse reports without a report id. The workaround for such cases has been adjusted to handle these larger packets.
The device now reports the status of its battery in wireless mode and libratbag now recognizes the device and it can be configured with Piper.
https://github.com/libratbag/libratbag/pull/1122
Co-developed-by Filipe Laíns <[email protected]>Signed-off-by Filipe Laíns <[email protected]>Signed-off-by Mavroudis Chatzilazaridis <[email protected]>Reviewed-by Bastien Nocera <[email protected]>Signed-off-by Jiri Kosina <[email protected]>Quoted 3 lines
drivers/hid/hid-ids.h| 1 +drivers/hid/hid-logitech-dj.c| 11 ++++++++---2 files changed, 9 insertions(+), 3 deletions(-)Quoted 8 lines
See Bugzilla for the full thread.
Anyway, I'm adding this regression to regzbot:
#regzbot introduced:
9d1bd9346241cdhttps://bugzilla.kernel.org/show_bug.cgi?id=218094
#regzbot title: Logitech G915 Wireless Keyboard key event only detects few key codes #regzbot link: https://streamable.com/ac6l8uQuoted 5 lines
There's no reply from culprit author nor linux-input people (did they miss this regression?). And on Bugzilla, other reporters replied that reverting the culprit fixed the regression.
FYI, there's similar Bugzilla report on [1].
As there was no reaction from Mavroudis in order to figure out why he is not observing the issues the other reporters do and what to do to fix those, I already do have revert in my queue for -rc3.
My first guess would be that the extra buttons in the extended report are not properly reflected in the emulated report descriptor, but that wouldn't explain why it worked for the author of the commit.
Quoted 7 lines
So revert it is, and once Marvoudis resurfaces, we can try again for some of later releases.
--
Jiri Kosina
SUSE Labs
Apologies for not requesting a revert earlier, I was away on vacation and didn't realize it would take me this long to get to it.
As I mentioned in this bugzilla report [0], I think the extra buttons are handled by vendor defined bytes at the end of the descriptor, so it boils down to the emulated descriptor not being updated. This patch worked for me as the Superlight X that I own only has two side buttons. In addition, I was unaware of how many devices this would affect.
For now let's make sure this commit is reverted so that people have working devices and I will get to fixing the issues that showed up.
Once again, apologies for this.
On 2023-11-21 16:00, Jiri Kosina wrote:> A comment from Mavroudis just appeared in
Quoted 6 lines
https://bugzilla.kernel.org/show_bug.cgi?id=218172pointing out that indeed the report descriptor of the device he is working on is different than the ones from the reporter.
Quoted 7 lines
Until this mess gets figured out, I am now pretty sure revert is the way to go for 6.7.
--
Jiri Kosina
SUSE Labs
Greetings everyone,
I have recently made a new patch [0] aimed at addressing the issues that have been identified.
I would appreciate it if you could test it and provide any feedback on it.