Dasharo Compatibility: Audio subsystem
Test cases
Common
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
- 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
FIRMWARE
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Ubuntu 20.04
Test setup
- Proceed with the Common section.
Test steps
- 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 10)
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
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Windows 10
Test setup
- Proceed with the Common section.
Test steps
- Open
Start Menu
, find and openDevice Manager
. - Find
Audio inputs and outputs
group and expand it. Note the result.
Expected result
Microphone (Realtek(R) Audio)
andSpeakers (Realtek(R) Audio)
should be listed in theAudio inputs and outputs
group.- 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
FIRMWARE
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Ubuntu 20.04
Test setup
- Proceed with the Common section.
Test steps
- 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 10)
Test description
This test aims to verify that the audio subsystem is able to playback audio recordings.
Test configuration data
FIRMWARE
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Windows 10
Test setup
- Proceed with the Common section.
Test steps
- Find the
Speakers
icon in the bottom right part of the screen and click it using the left mouse button to open volume menu. - 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
FIRMWARE
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Ubuntu 20.04
Test setup
- Proceed with the Common section.
Test steps
- Open a terminal window.
- Execute
arecord -f S16_LE -d 10 -r 16000 /tmp/test-mic.wav
and make some noise aroud DUT. For example, say something. - Execute
aplay /tmp/test-mic.wav
and note the result.
Expected result
Recorded audio clip is recorded correctly and played back.
AUD003.002 Audio capture (Windows 10)
Test description
This test aims to verify that the audio subsystem is able to capture audio.
Test configuration data
FIRMWARE
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Windows 10
Test setup
- Proceed with the Common section.
Test steps
- 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 clickOpen Sound Settings
. - Locate the
Test your microphone
section and observe it. - 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
FIRMWARE
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Ubuntu 20.04
Test setup
- Proceed with the Common section.
Test steps
- Plug in a headset jack into 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.
- Run
amixer -c 0 contents | grep -A 2 'Front Headphone Jack'
in the terminal. - Disconnect the headset from the laptop.
- Run
amixer -c 0 contents | grep -A 2 'Front Headphone Jack'
in the terminal again.
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 10)
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
FIRMWARE
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Windows 10
Test setup
- Proceed with the Common section.
Test steps
- Plug in a headset jack into micro jack slot located on the right side of the laptop.
- After the
Which device did you plug in
menu appearing, 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 and then using the left mouse button clickOpen Sound Settings
. - Locate
Input
section and click on theDevice properties
option. - In
Device properties
window select optionAdditional device properties
. - Locate in
General
the section field namedJack Information
. - Close the window
Microphone properties
. - Disconnect a headset from the laptop.
- Select again the
Addtional device properties
option and locate again field namedJack information
.
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
option
Addtional device properties
fieldJack Information
should not contain the phraseFront 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
FIRMWARE
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Ubuntu 20.04
Test setup
- Proceed with the Common section.
Test steps
- Plug in a headset jack into 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 the external speakers.
AUD005.002 External headset audio playback (Windows 10)
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
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Windows 10
Test setup
- Proceed with the Common section.
Test steps
- Plug in a headset jack into 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 volume menu. - 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
FIRMWARE
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Ubuntu 20.04
Test setup
- Proceed with the Common section.
Test steps
- Plug in a headset jack into micro jack slot located on the right side of the laptop.
- Open a terminal window.
- Execute
arecord -f S16_LE -d 10 -r 16000 /tmp/test-mic.wav
and make some noise for the headset. For example, say something. - Execute
aplay /tmp/test-mic.wav
and note the result. - Execute
arecord -f S16_LE -d 10 -r 16000 /tmp/test-mic-1.wav
and make some noise for the DUT. For example tap a few times in the laptop casing. - Execute
aplay /tmp/test-mic.wav
and note the result.
Expected result
- During playback of the first recording, all noise that was made for 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 10)
Test description
This test aims to verify that the audio subsystem is able to capture audio from external headset.
Test configuration data
FIRMWARE
= corebootBOOT_MENU_KEY
=F7
OPERATING_SYSTEM
= Windows 10
Test setup
- Proceed with the Common section.
Test steps
- Plug in a headset jack into 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 and then using the left mouse button clickOpen Sound Settings
. - Locate the
Test your microphone
section and observe it. - 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.
Expected result
- Audio level bar located in the
Test your microphone
should raise when some noise have been created for the headset. - Audio level bar located in the
Test your microphone
should not raise when some noise have been created for the DUT.