Re: [REGRESSION][BISECTED] Dell Precision 7780 wakes up on its own from suspend

Mario Limonciello
2025-06-27T03:58:18Z

On 6/26/25 10:51 PM, Askar Safin wrote:
> Okay, so here are results of new expirements.
>
> Now I write 1 to /sys/power/pm_debug_messages in the beginning.
>
> I was unable to find "last_hw_sleep" in /sys/power/suspend_stats on these particular kernel configurations.
> But I print all other files in /sys/power/suspend_stats .

That's odd. It should be made when the PMC core driver binds. Maybe
others will know what's missing here.

>
> I used same minimized config as in previous expirements.
> I used modified script:
>
> https://zerobin.net/?bccdd94f5f07bf85#8jop5IXDG32p0I7SBfEc29ng0/MdAFZgrqI9x+4A/Fo=
>
> Here is dmesg for "good" commit "d86388c902b45fe2" without external mouse:
> https://zerobin.net/?90d41139996f1cd8#Xuy0UjyxtXrOyLxq4YMP/IzUB559v7ESEIqsd/4Fqo0=
>
> Here is dmesg for "bad" commit "1796f808e4bb2c07" without external mouse:
> https://zerobin.net/?181b4d79c16fd9b3#nu0HyJX/r9cFtKitVxJB+3CZsGfwKHc6JLYX4OyZHR4=
>
> Here is dmesg for "good" commit "d86388c902b45fe2" with external mouse:
> https://zerobin.net/?a13c513b12549f62#LPLtc3MA1iSEPUjaizDk6xwBgEitH16hZE/WUWdgr6c=
>
> Here is dmesg for "bad" commit "1796f808e4bb2c07" with external mouse:
> https://zerobin.net/?cda0d7dd920ad66a#VHWKTp8motWKNJawyFC+v+qNP55an/ZR7HTlhmLJ7gA=
>
> As we can see, external USB wireless mouse doesn't really change anything.
> No wonder, I have CONFIG_USB_SUPPORT disabled in my minimized config. :)
>
I see in your bad config interrupt 14 is waking the system. In the good
config interrupt 8 is waking it.

What is in /proc/interrupts?