Dasharo Compatibility: Fan speed measure
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.
- Proceed with the Generic test setup: OS boot from disk.
FAN001.001 CPU fan speed measure
Test description
This test aims to verify that the CPU fan works correctly.
Test configuration data
FIRMWARE
= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
- Install
lm-sensors
on the DUT. - If the command in the 4th step fails, make sure the
system76_acpi
driver is available on your system. An appropriate kernel version could be installed with the commandsudo apt install linux-oem-22.04a
, which version definitely supports this driver.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
In the terminal window run the following command to get the RPM value of the CPU fan:
sensors | grep "CPU fan"
-
Note the results.
Expected result
The CPU fan RPM value is displayed and isn't zero.
Example output:
CPU fan: 4347 RPM
FAN002.001 GPU fan speed measure
Test description
The fan has been configured to follow a custom curve. This test aims to verify that the fan curve is configured correctly and the fan spins up and down according to the defined values.
Test configuration data
FIRMWARE
= Dasharo
Test setup
- Proceed with the Test cases common documentation section.
- Install
nvidia-smi
andmesa-utils
on the DUT.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open the terminal window and execute the following command:
watch -n1 nvidia-smi
-
Verify using that the temperature is below 40°C.
- If the temperature is above 40, enable the fan turbo mode (Fn + 1) until it cools down.
- Flip the laptop over and check if the GPU fan (located under the Escape key) is spinning.
-
In another terminal window, run the following command:
_NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 glxgears
-
Verify that the temperature increases above 40.
- Flip the laptop over and check if the GPU fan is spinning.
Expected result
- The fan should not be spinning while the temperature is below 40 degrees.
- The fan should be spinning while the temperature is above 40 degrees.