Dasharo Compatibility: Suspend mechanism switching (S0ix/S3)
Test cases common documentation
Test setup
- Proceed with the Generic test setup: firmware.
- Proceed with the Generic test setup: OS installer.
- Proceed with the Generic test setup: OS installation.
SMS001.001 Suspend to Idle (S0ix) check (Ubuntu)
Test description
This test aims to verify whether the Suspend to Idle (S0ix) option selected in the BIOS firmware is correctly recognised in the OS.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
=Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Enter the BIOS setup using
BIOS_SETUP_KEY
. - Inside the BIOS setup, navigate to
Dasharo System Features
->Power Management Options
->Platform Sleep Type
and choose the optionSuspend to Idle (S0ix)
. - Press
F10
and confirm withy
key to save selected settings. - Select
reset
option to reboot the system. - After the system reboots, log into the system by using the proper login and password.
-
Open a terminal window and execute the following command to confirm that Suspend to Idle (S0ix) mode is enabled and properly recognised in the OS:
sudo cat /sys/power/mem_sleep
-
Note the results.
Expected result
The output from the command above should contain the phrase s2idle
enclosed
in square brackets, indicating that the Suspend to Idle (S0ix) mode is
enabled.
Example output:
[s2idle] shallow
SMS001.002 Suspend to RAM (S3) check (Ubuntu)
Test description
This test aims to verify whether the Suspend to RAM (S3) option selected in the BIOS firmware is correctly recognised in the OS.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
=Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Enter the BIOS setup using
BIOS_SETUP_KEY
. - Inside the BIOS setup, navigate to
Dasharo System Features
->Power Management Options
->Platform Sleep Type
and choose the optionSuspend to RAM (S3)
. - Press
F10
and confirm withy
key to save selected settings. - Select
reset
option to reboot the system. - After the system reboots, log into the system by using the proper login and password.
-
Open a terminal window and execute the following command to confirm that Suspend to RAM (S3) mode is enabled and properly recognised in the OS:
sudo cat /sys/power/mem_sleep
-
Note the results.
Expected result
The output from the command above should contain the phrase deep
enclosed
in square brackets, indicating that the Suspend to RAM (S3) mode is
enabled.
Example output:
s2idle [deep]