Dasharo / dasharo-issues

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

Suspend Mechanism Switching S0ix/S3 doesn't work. #466

Open johanes2115 opened 1 year ago

johanes2115 commented 1 year ago

Dasharo version v1.4.0

Dasharo variant nv4xmz

Affected component(s) or functionality Suspend

Brief summary S3 (Suspend to RAM) suspend mode is not recognised in the OS when the option is active in BIOS.

How reproducible 100%

How to reproduce

Steps to reproduce the behavior:

  1. Power on the DUT
  2. Enter the BIOS setup using BIOS_SETUP_KEY
  3. Choose S3 (Suspend to RAM) option and reboot the DUT

Expected behavior After executing command: sudo cat /sys/power/mem_sleep the output should indicate that S3 suspend mode is active. Expected output: s2idle [deep]

Actual behavior The output after executing: sudo cat /sys/power/mem_sleep indicates that S0iX suspend mode is active: [s2idle] shallow

mkopec commented 1 year ago

@miczyg1 I guess changes to mainboard-specific ASL weren't backported to the TGL models?

miczyg1 commented 1 year ago

@mkopec yes, we didn't enable S3 support and the switching at all for TGL.

macpijan commented 1 year ago

But the report says, the option is there in Setup Menu, simply does not work :thinking:

miczyg1 commented 1 year ago

But the report says, the option is there in Setup Menu, simply does not work thinking

That's correct.

macpijan commented 1 year ago

So we need to either hide it, or implement switching. It certainly can be considered a bug in a current state.