Skip to content

Dasharo Compatibility: Audio subsystem

Test cases

Common

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.
  5. Install the alsa-utils package: sudo apt install alsa-utils.

AUD001.001 Audio subsystem detection (Ubuntu 20.04)

Test description

This test aims to verify that the audio subsystem is initialized correctly and can be detected from the operating system.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Ubuntu 20.04

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open a terminal window and execute the following command:
cat /sys/class/sound/card0/hwC0D*/chip_name

Expected result

The output of the command should return a list of detected audio devices:

ALC293
Tigerlake HDMI

AUD001.002 Audio subsystem detection (Windows 11)

Test description

This test aims to verify that the audio subsystem is initialized correctly and can be detected from the operating system.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open Start Menu, find and open Device Manager.
  5. Find Audio inputs and outputs group and expand it. Note the result.

Expected result

  1. Microphone (Realtek(R) Audio) and Speakers (Realtek(R) Audio) should be listed in the Audio inputs and outputs group.
  2. Both audio devices should not report any error.

AUD002.001 Audio playback (Ubuntu 20.04)

Test description

This test aims to verify that the audio subsystem is able to playback audio recordings.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Ubuntu 20.04

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open a terminal window and execute the following command:
pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo  0
pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo 65535
speaker-test

Expected result

Sound should be played from the integrated speakers.

AUD002.002 Audio playback (Windows 11)

Test description

This test aims to verify that the audio subsystem is able to playback audio recordings.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Find the Speakers icon in the bottom right part of the screen and click it using the left mouse button to open volume menu.
  5. In the volume menu, click the rightmost part of it and note the reult.

Expected result

Sound should be played from the integrated speakers.

AUD003.001 Audio capture (Ubuntu 20.04)

Test description

This test aims to verify that the audio subsystem is able to capture audio.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Ubuntu 20.04

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open a terminal window and execute the following command:
arecord -f S16_LE -d 10 -r 16000 /tmp/test-mic.wav
  1. Make some noise aroud DUT. For example, say something.
  2. Execute the following command:
aplay /tmp/test-mic.wav

Expected result

Recorded audio clip is recorded correctly and played back.

AUD003.002 Audio capture (Windows 11)

Test description

This test aims to verify that the audio subsystem is able to capture audio.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Find the Speakers icon in the bottom right part of the screen and click it using the right mouse button and then using the left mouse button click Open Sound Settings.
  5. Locate the Test your microphone section and observe it.
  6. Create some noise for the DUT to capture and note the result. For example, say something.

Expected result

Audio level bar located in the Test your microphone should raise when some noise is being created.

AUD004.001 External headset recognition (Ubuntu 20.04)

Test description

This test aims to verify that the external headset is properly recognized after plugging in the 3.5 mm jack into the slot.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Ubuntu 20.04

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Plug in a headset jack into micro jack slot located on the right side of the laptop.
  5. When the Select Audio Device menu appears, select what type of external device has been connected to the laptop (headset).
  6. Open a terminal window and execute the following command:
amixer -c 0 contents | grep -A 2 'Front Headphone Jack'
  1. Disconnect the headset from the laptop.
  2. Execute the following command again:
amixer -c 0 contents | grep -A 2 'Front Headphone Jack'

Expected result

  1. The output of the first command should not be empty and contains the line:
: values=on
  1. The output of the second command should not be empty and contains the line:
: values=off

AUD004.002 External headset recognition (Windows 11)

Test description

This test aims to verify that the external headset is properly recognized after plugging in the 3.5 mm jack into the slot.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Plug in a headset jack into micro jack slot located on the right side of the laptop.
  5. After the Which device did you plug in menu appearing, select what type of external device has been connected to the laptop (headset).
  6. Find the Speakers icon in the bottom right part of the screen and click it using the right mouse button and then using the left mouse button click Open Sound Settings.
  7. Locate Input section and click on the Device properties option.
  8. In Device properties window select option Additional device properties.
  9. Locate in General the section field named Jack Information.
  10. Close the window Microphone properties.
  11. Disconnect a headset from the laptop.
  12. Select again the Addtional device properties option and locate again field named Jack information.

Expected result

  1. Jack Information field in the first case should show the position Front Panel 3.5 mm Jack.
  2. After disconnecting a headset from the laptop and checking again option Addtional device properties field Jack Information should not contain the phrase Front Panel 3.5 mm Jack.

AUD005.001 External headset audio playback (Ubuntu 20.04)

Test description

This test aims to verify that the audio subsystem is able to playback audio recordings by using the external headset speakers.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Ubuntu 20.04

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Plug in a headset jack into micro jack slot located on the right side of the laptop.
  5. Open a terminal window and execute the following command:
pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo  0
pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo 65535
speaker-test

Expected result

Sound should be played from the external speakers.

AUD005.002 External headset audio playback (Windows 11)

Test description

This test aims to verify that the audio subsystem is able to playback audio recordings by using the external headset speakers.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Plug in a headset jack into micro jack slot located on the right side of the laptop.
  5. Find the Speakers icon in the bottom right part of the screen and click it using the left mouse button to open volume menu.
  6. In the volume menu, click the rightmost part of it and note the reult.

Expected result

Sound should be played from the external speakers.

AUD006.001 External headset audio capture (Ubuntu 20.04)

Test description

This test aims to verify that the audio subsystem is able to capture audio from external headset.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Ubuntu 20.04

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Plug in a headset jack into micro jack slot located on the right side of the laptop.
  5. Open a terminal window and execute the following command:
arecord -f S16_LE -d 10 -r 16000 /tmp/test-mic.wav
  1. Make some noise for the headset. For example, say something.
  2. Execute the following command:
aplay /tmp/test-mic.wav
  1. Execute the following command:
arecord -f S16_LE -d 10 -r 16000 /tmp/test-mic-1.wav
  1. Make some noise for the DUT. For example tap a few times in the laptop casing.
  2. Execute the following command:
aplay /tmp/test-mic.wav

Expected result

  1. During playback of the first recording, all noise that was made for headset should be clearly heard.
  2. During playback of the second recording, all noise that was made for DUT should be quiet or not heard.

AUD006.002 External headset audio capture (Windows 11)

Test description

This test aims to verify that the audio subsystem is able to capture audio from external headset.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Common section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Plug in a headset jack into micro jack slot located on the right side of the laptop.
  5. Find the Speakers icon in the bottom right part of the screen and click it using the right mouse button and then using the left mouse button click Open Sound Settings.
  6. Locate the Test your microphone section and observe it.
  7. Create some noise for the headset to capture and note the result. For example, say something.
  8. Create some noise for the DUT. For example tap a few times in the laptop casing.

Expected result

  1. Audio level bar located in the Test your microphone should raise when some noise have been created for the headset.
  2. Audio level bar located in the Test your microphone should not raise when some noise have been created for the DUT.