Bug 216556 - Yubikey breaks idle power states
Summary: Yubikey breaks idle power states
Status: NEW
Alias: None
Product: Power Management
Classification: Unclassified
Component: Hibernation/Suspend (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Rafael J. Wysocki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 07:57 UTC by Thom Wiggers
Modified: 2022-10-09 09:19 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.19.13
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Thom Wiggers 2022-10-07 07:57:46 UTC
As reported on #199689 in comments 93 [1] and 102 [2], if I have my Yubikey 5c nano plugged in, suspend doesn't work properly and the battery drains quickly. I'm opening this bug ticket as previously requested on that thread.

My test case:

1. reboot so idle counters are zero
2. plug in yubikey
3. suspend, wait a few seconds
4. wake
5. cat /sys/devices/system/cpu/cpuidle/low_power_idle_{cpu,system}_residency_us
6. observe both are zero
7. unplug yubikey
8. suspend, wait a few seconds, wake
9. cat /sys/devices/system/cpu/cpuidle/low_power_idle_{cpu,system}_residency_us
10. non-zero values

[1] https://bugzilla.kernel.org/show_bug.cgi?id=199689#c93
[2] https://bugzilla.kernel.org/show_bug.cgi?id=199689#c102
Comment 1 Thom Wiggers 2022-10-07 08:03:11 UTC
I should clarify that I'm also running a Dell XPS 9370 with i7-8550U, as many others in 
https://bugzilla.kernel.org/show_bug.cgi?id=199689

Note You need to log in before you can comment on or make changes to this bug.