Dasharo Compatibility: Audio subsystem
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.
- For the audio tests you need to connect monitor with speakers via HDMI.
AUD001.201 Audio subsystem detection (Ubuntu)
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
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
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. Depending on mounted devices, the output might be different.
Example output:
ALC293
Tigerlake HDMI
AUD001.301 Audio subsystem detection (Windows)
The test is fully automated. Refer to https://github.com/Dasharo/open-source-firmware-validation/tree/develop
AUD002.201 Audio playback (Ubuntu)
Test description
This test aims to verify that the audio subsystem is able to playback audio recordings.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
- Install the
alsa-utils
package:sudo apt install alsa-utils
.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
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.301 Audio playback (Windows)
Test description
This test aims to verify that the audio subsystem is able to playback audio recordings.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Find the
Speakers
icon in the bottom right part of the screen and click it using the left mouse button to open the volume menu. - In the volume menu, click the rightmost part of it and note the result.
Expected result
Sound should be played from the integrated speakers.
AUD003.201 Audio capture (Ubuntu)
Test description
This test aims to verify that the audio subsystem is able to capture audio.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
- Install the
alsa-utils
package:sudo apt install alsa-utils
.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and execute the following command:
arecord -f S16_LE -d 10 -r 16000 /tmp/test-mic.wav
-
Make some noise around DUT. For example, say something.
-
Execute the following command:
aplay /tmp/test-mic.wav
Expected result
The recorded audio clip is recorded correctly and played back.
AUD003.301 Audio capture (Windows)
Test description
This test aims to verify that the audio subsystem is able to capture audio.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Find the
Speakers
icon in the bottom right part of the screen and click it using the right mouse button then using the left mouse button clickSound Settings
. - Locate the
All sound devices
bar and click on it. - Select the
Microphone
position in theInput devices
section. - Click on the
Start Test
bar in theInput settings
section. - Create some noise for the DUT to capture and note the result. For example, say something.
- Click on the
Stop Test
bar.
Expected result
- The
Input volume
bar located in theInput settings
section should raise when some noise is being created. - The result of the test after clicking the
Stop Test
bar should be more than 0% of the total volume.
AUD004.201 External headset recognition (Ubuntu)
The test is fully automated. Refer to https://github.com/Dasharo/open-source-firmware-validation/tree/develop
AUD004.301 External headset recognition (Windows)
The test is fully automated. Refer to https://github.com/Dasharo/open-source-firmware-validation/tree/develop
AUD005.201 External headset audio playback (Ubuntu)
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
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
- Install the
alsa-utils
package:sudo apt install alsa-utils
.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Plug a headset jack into a micro jack slot located on the right side of the laptop.
-
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 external speakers.
AUD005.301 External headset audio playback (Windows)
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
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Plug a headset jack into a micro jack slot located on the right side of the laptop.
- Find the
Speakers
icon in the bottom right part of the screen and click it using the left mouse button to open the volume menu. - In the volume menu, click the rightmost part of it and note the result.
Expected result
Sound should be played from external speakers.
AUD006.201 External headset audio capture (Ubuntu)
Test description
This test aims to verify that the audio subsystem is able to capture audio from an external headset.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
- Install the
alsa-utils
package:sudo apt install alsa-utils
.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Plug a headset jack into a micro jack slot located on the right side of the laptop.
-
Open a terminal window and execute the following command:
arecord -f S16_LE -d 10 -r 16000 /tmp/test-mic.wav
-
Make some noise for the headset. For example, say something.
-
Execute the following command:
aplay /tmp/test-mic.wav
-
Execute the following command:
arecord -f S16_LE -d 10 -r 16000 /tmp/test-mic-1.wav
-
Make some noise for the DUT. For example, tap a few times in the laptop casing.
-
Execute the following command:
aplay /tmp/test-mic.wav
Expected result
- During playback of the first recording, all noise that was made for the headset should be clearly heard.
- During playback of the second recording, all noise that was made for DUT should be quiet or not heard.
AUD006.301 External headset audio capture (Windows)
Test description
This test aims to verify that the audio subsystem is able to capture audio from an external headset.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Plug a headset jack into a micro jack slot located on the right side of the laptop.
- Find the
Speakers
icon in the bottom right part of the screen and click it using the right mouse button then using the left mouse button clickSound Settings
. - Locate the
All sound devices
bar and click on it. - Select the
Microphone
position in theInput devices
section. - Click on the
Start Test
bar in theInput settings
section. - Create some noise for the headset to capture and note the result. For example, say something.
- Create some noise for the DUT. For example, tap a few times in the laptop casing.
- Click on the
Stop Test
bar.
Expected result
- The
Input volume
bar located in theInput settings
section should raise when some noise has been created for the headset. - The
Input volume
bar located in theInput settings
section should not raise when some noise has been created for the DUT. - The result of the test after clicking the
Stop Test
bar should be more than 0% of the total volume.
AUD007.201 HDMI Audio recognition (Ubuntu)
The test is fully automated. Refer to https://github.com/Dasharo/open-source-firmware-validation/tree/develop
AUD007.301 HDMI Audio recognition (Windows)
The test is fully automated. Refer to https://github.com/Dasharo/open-source-firmware-validation/tree/develop
Test description
This test aims to verify that the output audio is properly assigned after connecting the external display using the HDMI cable.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Find the
Speakers
icon in the bottom right part of the screen and click it using the right mouse button then using the left mouse button clickSound Settings
. - Locate the
All sound devices
bar and click on it. - Locate the
Output devices
andInput devices
section. - Connect the external display to the HDMI slot.
Expected result
The connected display should appear in the Output devices
section.
AUD008.201 HDMI audio playback (Ubuntu)
Test description
This test aims to verify that the audio subsystem is able to playback audio recordings by using the external display connected to the HDMI slot.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
- Install the
alsa-utils
package:sudo apt install alsa-utils
.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Connect the external display to the HDMI slot.
-
Open a terminal window and execute the following commands:
pacmd set-card-profile 0 output:hdmi-stereo 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 display.
AUD008.301 HDMI audio playback (Windows)
Test description
This test aims to verify that the audio subsystem is able to playback audio recordings by using the external display connected to the HDMI slot.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
- Connect the external display to the HDMI slot.
- Find the
Speakers
icon in the bottom right part of the screen and click it using the right mouse button then using the left mouse button clickSound Settings
. - Locate the
All sound devices
bar and click on it. - Select the external display position in the
Output devices
section. - Click on the
Test
bar in theOutput settings
section.
Expected result
Sound should be played from the external display.