-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laptop wakes up from suspend on power change #783
Comments
Confirmed. Happens with clevo / novacustom nv41 (dasharo/ heads v0.9.0 - 2024-02-29) as well. |
Have you tried the On the other hand, on Heads we do not have this option, and by default this feature should be disabled. Not sure what's causing it to be enabled yet, but it seems like a separate issue |
@mkopec This is not a Heads related issue, but UEFI instead. The issue @PeterLacknase is referring to is probably this: #766 @mkopec I think you might not have understood the issue correctly. It is not powering on from S0 state when plugging in, but it is powering on from S0ix state when plugging in. I think this is as expected for modern standby, but is it possible to change this behaviour either by firmware or software so that the charger can be connected when the laptop is in S0ix, without the screen display turning on? |
Ah, thanks for clarifying. I believe it should be possible to make it so that inserting a power supply does not wake the laptop. |
@mkopec How? By firmware or on OS-side? |
While Wessel already clarified its happening from Suspend to idle S0ix, still wanted to confirm, i set the option as . Unfortunately, no other option around to make it stop this. |
@Ganneff @wessel-novacustom Could you clarify if this issue only happens on Debian? So far I haven't been able to reproduce on Ubuntu on NV4x and NS5x 11th gen I do see this on Windows though, but Windows may be switching from disconnected to connected standby on AC plug in, so that would be expected |
It's completely OS independent. To reproduce: [1] Shut down laptop (NV41 used over here) on battery power. -> The laptop powers on. |
@PeterLacknase As @wessel-novacustom mentioned above, your issue with Heads seems like #766 and it will be fixed in the next firmware relase This issue is for waking from s0ix suspend (sleep mode) if I'm understanding this thread correctly @wessel-novacustom @Ganneff Can you share more about the setup where this issue happens? I installed Debian 12 on NS5x 11th Gen and I cannot reproduce this issue. Are you testing with regular AC adapter or an USB-C adapter? |
Right. That’s an issue, too. But it affected sleep state as well. In the mean time I found out, that it only happens with some USB-Sticks connected. With others (like nitrokey) everything works as expected. |
|
I have a normal Debian 12 setup. Disk encrypted, but standard Debian installer setup. UEFI Bios secure boot things not turned off. I do use USB-C for power. Video: What do you want to see? Me using my phone showing how i unplug and it turns back on? A screenrecording of something? |
|
Fixes: Dasharo/dasharo-issues#783 Signed-off-by: Michał Kopeć <[email protected]>
I could not reproduce the issue on NS51MU with Ubuntu 23.10 and Dasharo v1.5.2 release. No devices connected. Powered using a barrel jack. |
I will try to reproduce this configuration as closely as possible
|
I have installed Debian 12.6 Bookworm stable with encryption and KDE. Secure Boot on. Used both USB-C and barrel jack adapters. Dasharo v1.5.2 release. No USB devices. I could not reproduce the issue of the laptop waking up from suspension when a power adapter is connected or disconnected during suspension. The laptop does power on if it is shut down and then the power adapter is connected. This behavior is controlled by Dasharo System Features -> Power Management Options -> Power state after power failure and setting it to "Powered off" causes the laptop to stay powered off after plugging in the power adapter. |
Component
Dasharo firmware
Device
NovaCustom NS5x 11th Gen
Dasharo version
1.5.2
Dasharo Tools Suite version
No response
Brief summary
Suspend laptop. Plug in/out power -> it runs again
How reproducible
100%
How to reproduce
Suspend the laptop. Plug in (or out) power. Laptop active again. (Current Debian bookworm. Laptop booted in firmware update mode tells me there is no update available, so current stable version in use).
Expected behavior
Stay in suspend.
Actual behavior
Laptop active.
Screenshots
No response
Additional context
No response
Solutions you've tried
Nothing in Bios/Uefi settings to adjust this.
Tried adjusting files/values in /sys/class/wakeup. Doesnt seem to work.
The text was updated successfully, but these errors were encountered: