Dasharo / dasharo-issues

The Dasharo issue tracker
https://dasharo.com/
24 stars 0 forks source link

The DUT does not automatically wake up from hibernation using rtcwake on Ubuntu 22.04 #485

Open johanes2115 opened 1 year ago

johanes2115 commented 1 year ago

Dasharo version v1.6.0

Dasharo variant nv4x_adl

Affected component(s) or functionality Hibernation

Brief summary The DUT does not automatically wake up from hibernation using rtcwake on Ubuntu 22.04.

How reproducible 100%

How to reproduce

Steps to reproduce the behavior:

  1. Log into Ubuntu
  2. Open terminal window and execute following command: rtcwake -m no -s 60
  3. Hibernate the DUT

Expected behavior The DUT should automatically wake up from hibernation after 60 seconds.

Actual behavior The DUT proceeds to be in hibernation state.

mkopec commented 1 year ago

That's to be expected given that we fully power off in S4. Not sure what can be done here at the moment. Is the behavior the same with the AC adapter plugged in?

miczyg1 commented 1 year ago

RTC typically can wake from S4

macpijan commented 11 months ago

This rather does not affect end users, as long as other wakes from hibernation work correctly. The RTC one can be moved to future releases.

mkopec commented 9 months ago

Hibernation on battery power shuts down the CPU so wake sources like RTC won't work. To be improved by reworking power state handling in a future release.