Skip to content

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

  1. FIRMWARE = Dasharo

Test setup

  1. Proceed with the Generic test setup: firmware.
  2. Proceed with the Generic test setup: OS installer.
  3. Proceed with the Generic test setup: OS installation.
  4. Proceed with the Generic test setup: OS boot from disk.

Test steps

  1. Power on the DUT.
  2. Wait for boot until BOOT_MENU_STRING appears.
  3. Press BOOT_MENU_KEY to enter the boot menu.
  4. Select the proper number for USB_STICK option.
  5. Wait for debian login:.
  6. Type proper login.
  7. Wait for Password:.
  8. Type the proper password.
  9. Wait for root@debian:~#.
  10. 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

  1. FIRMWARE = Dasharo

Test setup

  1. Proceed with the Generic test setup: firmware.
  2. Proceed with the Generic test setup: OS installer.
  3. Proceed with the Generic test setup: OS installation.
  4. Proceed with the Generic test setup: OS boot from disk.

Test steps

  1. Power on the DUT.
  2. Wait for boot until BOOT_MENU_STRING appears.
  3. Press BOOT_MENU_KEY to enter the boot menu.
  4. Select the proper number for USB_STICK option.
  5. Wait for debian login:.
  6. Type proper login.
  7. Wait for Password:.
  8. Type the proper password.
  9. Wait for root@debian:~#.
  10. Install stress-ng package by executing: sudo apt install stress-ng.
  11. Confirm installation by typing Y and pressing Enter when asked.
  12. Execute command: watch -n 1 "sensors w83795g-i2c-1-2f |grep fan1 -A 16" and check current CPU temperature and CPU fan speed.
  13. Execute command: stress-ng --cpu 16 --io 8 --vm 4 --vm-bytes 4G --timeout 30s --metrics.
  14. Wait 2 minutes.
  15. 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

  1. The CPU temperature after the second check is higher at least 20 degrees.
  2. The CPU fan speed after the second check is higher at least 1000 RPM.