Dasharo Compatibility: coreboot Fan Control
FAN001.001 Check CPU entry temperature and CPU fan speed
Test description
This test aims to verify that data for CPU temperature and CPU fan speed is available.
Test configuration data
FIRMWARE
= Dasharo
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.
Test steps
- Power on the DUT.
- Wait for boot until
BOOT_MENU_STRING
appears. - Press
BOOT_MENU_KEY
to enter the boot menu. - Select the proper number for
USB_STICK
option. - Wait for
debian login:
. - Type proper login.
- Wait for
Password:
. - Type the proper password.
- Wait for
root@debian:~#
. - Execute
watch -n 1 "sensors w83795g-i2c-1-2f |grep fan1 -A 16"
.
Expected result
There are visible data for fan1
and temp7
which represents CPU fan speed and
CPU temperature.
FAN001.002 Check if increasing CPU temperature increases CPU fan speed
Test description
This test aims to verify that CPU fan speed responds properly to increasing CPU temperature.
Test configuration data
FIRMWARE
= Dasharo
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.
Test steps
- Power on the DUT.
- Wait for boot until
BOOT_MENU_STRING
appears. - Press
BOOT_MENU_KEY
to enter the boot menu. - Select the proper number for
USB_STICK
option. - Wait for
debian login:
. - Type proper login.
- Wait for
Password:
. - Type the proper password.
- Wait for
root@debian:~#
. - Install
stress-ng
package by executing:sudo apt install stress-ng
. - Confirm installation by typing
Y
and pressingEnter
when asked. - Execute command:
watch -n 1 "sensors w83795g-i2c-1-2f |grep fan1 -A 16"
and check current CPU temperature and CPU fan speed. - Execute command:
stress-ng --cpu 16 --io 8 --vm 4 --vm-bytes 4G --timeout 30s --metrics
. - Wait 2 minutes.
- Execute command:
watch -n 1 "sensors w83795g-i2c-1-2f |grep fan1 -A 16"
and check current CPU temperature and CPU fan speed.
Expected result
- The CPU temperature after the second check is higher at least 20 degrees.
- The CPU fan speed after the second check is higher at least 1000 RPM.