* [regression] Bug 219440: Touchscreen stops working after Suspendi: i2c_designware.1: controller timed out
@ 2024-11-05 16:06 Linux regression tracking (Thorsten Leemhuis)
2024-11-06 10:30 ` Jarkko Nikula
2024-11-08 8:17 ` Linux regression tracking (Thorsten Leemhuis)
0 siblings, 2 replies; 4+ messages in thread
From: Linux regression tracking (Thorsten Leemhuis) @ 2024-11-05 16:06 UTC (permalink / raw)
To: Jarkko Nikula
Cc: Michael, linux-i2c@vger.kernel.org, Linux kernel regressions list,
LKML
Hi, Thorsten here, the Linux kernel's regression tracker.
Jarkko, I noticed a report about a regression in bugzilla.kernel.org
that appears to be related to i2c_designware (at least it looks like
that to my untrained eyes). As many (most?) kernel developers don't keep
an eye on the bug tracker, I decided to write this mail. To quote from
https://bugzilla.kernel.org/show_bug.cgi?id=219440 :
> Michael 2024-10-29 08:43:55 UTC
>
> Just noticed that the touchscreen on my ASUS vivobook S14 stops
> working after a suspend-to-idle. As this is something, I clearly
> didn't have before, I tested every kernel version released in the
> last six months and found the kernel, where the bug was introduced:
> 6.10. The last 6.9.12 is still working correctly. Since 6.10 all
> kernel versions have the problem.
>
> Some more info:
>
> Hardware: ASUS Vivobook S14 (TP3402VA) Kernel working: up to 6.9.12
> Kernel defect: from 6.10 OS: nixos
>
> I do not have much knowledge about the input devices. I tested that
> i2c_hid_acpi seems to be relevant for the touchscreen (and also the
> touchpad), as, when I remove it, both stop working. Reloading the
> kernel module restores functionality (but NOT after a suspend-to-
> idle!!!). Otherwise, I do not see any error messages or so. (Or do
> not recognize them...)
>
> Any help I can offer to identify the regression bug?
[...]
> 6.12-rc4 does not work either. The regression started with 6.10.
[...]
> i2c_designware i2c_designware.1: controller timed out
> i2c_designware i2c_designware.1: timeout in disabling adapter
> i2c_hid_acpi i2c-WDHT1F01:00: failed to change power setting.
> i2c_hid_acpi i2c-WDHT1F01:00: PM: dpm_run_callback(): acpi_subsys_resume returns -110
> i2c_hid_acpi i2c-WDHT1F01:00: PM: failed to resume async: error -110
[...]
See the ticket for more details. The reporter (Michael) is CCed.
Michael: if this mail is fruitless, you most like need to use git bisect
to find the change that broke things. For details, see:
https://docs.kernel.org/admin-guide/verify-bugs-and-bisect-regressions.html
https://docs.kernel.org/admin-guide/bug-bisect.html
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.
[1] because bugzilla.kernel.org tells users upon registration their
"email address will never be displayed to logged out users"
P.S.: let me use this mail to also add the report to the list of tracked
regressions to ensure it's doesn't fall through the cracks:
#regzbot introduced: v6.9..v6.10
#regzbot title: i2c: designware: touchscreen stops working after Suspend
#regzbot from: Michael <auslands-kv@gmx.de>
#regzbot duplicate: https://bugzilla.kernel.org/show_bug.cgi?id=219440
#regzbot ignore-activity
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [regression] Bug 219440: Touchscreen stops working after Suspendi: i2c_designware.1: controller timed out
2024-11-05 16:06 [regression] Bug 219440: Touchscreen stops working after Suspendi: i2c_designware.1: controller timed out Linux regression tracking (Thorsten Leemhuis)
@ 2024-11-06 10:30 ` Jarkko Nikula
2024-11-08 8:17 ` Linux regression tracking (Thorsten Leemhuis)
1 sibling, 0 replies; 4+ messages in thread
From: Jarkko Nikula @ 2024-11-06 10:30 UTC (permalink / raw)
To: Linux regressions mailing list; +Cc: Michael, linux-i2c@vger.kernel.org, LKML
On 11/5/24 6:06 PM, Linux regression tracking (Thorsten Leemhuis) wrote:
> Hi, Thorsten here, the Linux kernel's regression tracker.
>
> Jarkko, I noticed a report about a regression in bugzilla.kernel.org
> that appears to be related to i2c_designware (at least it looks like
> that to my untrained eyes). As many (most?) kernel developers don't keep
> an eye on the bug tracker, I decided to write this mail. To quote from
> https://bugzilla.kernel.org/show_bug.cgi?id=219440 :
Thanks, I replied to the bug what could be tried before going into full
bisecting changes between v6.9 and v6.10.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [regression] Bug 219440: Touchscreen stops working after Suspendi: i2c_designware.1: controller timed out
2024-11-05 16:06 [regression] Bug 219440: Touchscreen stops working after Suspendi: i2c_designware.1: controller timed out Linux regression tracking (Thorsten Leemhuis)
2024-11-06 10:30 ` Jarkko Nikula
@ 2024-11-08 8:17 ` Linux regression tracking (Thorsten Leemhuis)
2024-11-08 12:23 ` Kenny Levinsen
1 sibling, 1 reply; 4+ messages in thread
From: Linux regression tracking (Thorsten Leemhuis) @ 2024-11-08 8:17 UTC (permalink / raw)
To: Kenny Levinsen
Cc: Michael, Linux kernel regressions list, LKML, Jiri Kosina,
open list:HID CORE LAYER, Benjamin Tissoires
On 05.11.24 17:06, Linux regression tracking (Thorsten Leemhuis) wrote:
> Hi, Thorsten here, the Linux kernel's regression tracker.
>
> Jarkko, I noticed a report about a regression in bugzilla.kernel.org
> that appears to be related to i2c_designware [...]
After a bisection it turns out the regression is caused by a HID change
from Kenny, thus dropping Jarkko from the list of recipients and adding
Kenny and a few other appropriate folks and lists.
The culprit appears to be 7d6f065de37c31 ("HID: i2c-hid: Use address
probe to wake on resume") [v6.10-rc1].
For the rest, see the quote below or the linked ticket:
> To quote from
> https://bugzilla.kernel.org/show_bug.cgi?id=219440 :
>
>> Michael 2024-10-29 08:43:55 UTC
>>
>> Just noticed that the touchscreen on my ASUS vivobook S14 stops
>> working after a suspend-to-idle. As this is something, I clearly
>> didn't have before, I tested every kernel version released in the
>> last six months and found the kernel, where the bug was introduced:
>> 6.10. The last 6.9.12 is still working correctly. Since 6.10 all
>> kernel versions have the problem.
>>
>> Some more info:
>>
>> Hardware: ASUS Vivobook S14 (TP3402VA) Kernel working: up to 6.9.12
>> Kernel defect: from 6.10 OS: nixos
>>
>> I do not have much knowledge about the input devices. I tested that
>> i2c_hid_acpi seems to be relevant for the touchscreen (and also the
>> touchpad), as, when I remove it, both stop working. Reloading the
>> kernel module restores functionality (but NOT after a suspend-to-
>> idle!!!). Otherwise, I do not see any error messages or so. (Or do
>> not recognize them...)
>>
>> Any help I can offer to identify the regression bug?
>
> [...]
>
>> 6.12-rc4 does not work either. The regression started with 6.10.
>
> [...]
>
>> i2c_designware i2c_designware.1: controller timed out
>> i2c_designware i2c_designware.1: timeout in disabling adapter
>> i2c_hid_acpi i2c-WDHT1F01:00: failed to change power setting.
>> i2c_hid_acpi i2c-WDHT1F01:00: PM: dpm_run_callback(): acpi_subsys_resume returns -110
>> i2c_hid_acpi i2c-WDHT1F01:00: PM: failed to resume async: error -110
> [...]
>
> See the ticket for more details. The reporter (Michael) is CCed.
Ciao, Thorsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [regression] Bug 219440: Touchscreen stops working after Suspendi: i2c_designware.1: controller timed out
2024-11-08 8:17 ` Linux regression tracking (Thorsten Leemhuis)
@ 2024-11-08 12:23 ` Kenny Levinsen
0 siblings, 0 replies; 4+ messages in thread
From: Kenny Levinsen @ 2024-11-08 12:23 UTC (permalink / raw)
To: Linux regressions mailing list
Cc: Michael, LKML, Jiri Kosina, open list:HID CORE LAYER,
Benjamin Tissoires
Thanks for the heads up!
> i2c_designware i2c_designware.1: controller timed out
> i2c_designware i2c_designware.1: timeout in disabling adapter
> i2c_hid_acpi i2c-WDHT1F01:00: failed to change power setting.
> i2c_hid_acpi i2c-WDHT1F01:00: PM: dpm_run_callback(): acpi_subsys_resume returns -110
> i2c_hid_acpi i2c-WDHT1F01:00: PM: failed to resume async: error -110
Hmm, that's interesting. Michael, would you be up for testing a debug
patch or two? The "dumb" solution of just re-adding a retry of the power
command (always or as a quirk) on resume and crossing our fingers would
probably work as a regression fix, but I have a vague suspicion that the
issue could just be the change in timing.
As an aside, do we have anything available for testing/analyzing quirky
i2c_hid hardware other than hoarding laptops on our own? Do some
maintainers keep quirky devices around for re-testing, or are we mostly
relying on user regressions? Getting feedback - or better yet, logic
analyzer traces - would be really helpful when touching drivers for
quirky hardware, and I haven't had too much luck on finding reasonable
deals on affected hardware myself, halting some of my i2c/i2c_hid
improvements...
Best regards,
Kenny Levinsen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-11-08 12:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-05 16:06 [regression] Bug 219440: Touchscreen stops working after Suspendi: i2c_designware.1: controller timed out Linux regression tracking (Thorsten Leemhuis)
2024-11-06 10:30 ` Jarkko Nikula
2024-11-08 8:17 ` Linux regression tracking (Thorsten Leemhuis)
2024-11-08 12:23 ` Kenny Levinsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox