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.
AUD001.001 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.002 Audio subsystem detection (Windows)
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
= Windows
Test setup
- Proceed with the Test cases common documentation section.
-
Install package
AudioDeviceCmdlets
:Install-PackageProvider -Name NuGet -Force
Install-Module -Name AudioDeviceCmdlets -Force
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Run PowerShell as administrator and execute the following command:
Get-AudioDevice -list | ft Index, Default, Type, Name
Expected result
Microphone (Realtek(R) Audio)
and Speakers (Realtek(R) Audio)
should be
listed in the output:
Index Default Type Name
----- ------- ---- ----
1 True Playback Speakers (Realtek(R) Audio)
2 True Recording Microphone (Realtek(R) Audio)
AUD002.001 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.002 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.001 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.002 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 device
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.001 External headset recognition (Ubuntu)
Test description
This test aims to verify that the external headset is properly recognized after plugging the 3.5 mm jack into the 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.
- Plug a headset jack into a micro jack slot located on the right side of the laptop.
- When the
Select Audio Device
menu appears, select what type of external device has been connected to the laptop (headset). -
Open a terminal window and execute the following command:
amixer -c 0 contents | grep -A 2 'Front Headphone Jack'
-
Disconnect the headset from the laptop.
-
Execute the following command again:
amixer -c 0 contents | grep -A 2 'Front Headphone Jack'
Expected result
-
The output of the first command should not be empty and contains the line:
: values=on
-
The output of the second command should not be empty and contains the line:
: values=off
AUD004.002 External headset recognition (Windows)
Test description
This test aims to verify that the external headset is properly recognized after plugging the 3.5 mm jack into the 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.
- Plug a headset jack into a micro jack slot located on the right side of the laptop.
- After the
Which device did you plug
in menu appears, select what type of external device has been connected to the laptop (headset). - 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
More sound settings
bar and click on it. - Click on the
Speakers
bar using the right mouse button then using the left mouse button clickProperties
. - Locate in
General
the section field namedJack Information
. - Close the windows
Speakers Properties
andSound
. - Disconnect a headset from the laptop.
- Repeat steps 7-9.
Expected result
Jack Information
field in the first case should show the positionFront Panel 3.5 mm Jack
.- After disconnecting a headset from the laptop and checking again field
Jack Information
should not contain the phraseFront Panel 3.5 mm Jack
.
AUD005.001 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.002 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.001 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.002 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 device
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.001 HDMI Audio recognition (Ubuntu)
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
= 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 command:
amixer -c 0 contents | grep -A 2 'HDMI/DP,pcm=3'
-
Disconnect the headset from the laptop.
-
Execute the following command again:
amixer -c 0 contents | grep -A 2 'HDMI/DP,pcm=3'
Expected result
-
The output of the first command should not be empty and contains the line:
: values=on
-
The output of the second command should not be empty and contains the line:
: values=off
AUD007.002 HDMI Audio recognition (Windows)
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 device
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
and Input devices
section.
AUD008.001 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.002 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 device
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.