Skip to content

Dasharo Compatibility: Audio subsystem

Test cases common documentation

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.

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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation 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. 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install package AudioDeviceCmdlets:

    Install-PackageProvider -Name NuGet -Force
    
    Install-Module -Name AudioDeviceCmdlets -Force
    

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. 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install the alsa-utils package: sudo apt install alsa-utils.

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)

Test description

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

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows

Test setup

  1. Proceed with the Test cases common documentation 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 the volume menu.
  5. 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install the alsa-utils package: sudo apt install alsa-utils.

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
    
  5. Make some noise around DUT. For example, say something.

  6. 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows

Test setup

  1. Proceed with the Test cases common documentation 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 then using the left mouse button click Sound Settings.
  5. Locate the All sound device bar and click on it.
  6. Select the Microphone position in the Input devices section.
  7. Click on the Start Test bar in the Input settings section.
  8. Create some noise for the DUT to capture and note the result. For example, say something.
  9. Click on the Stop Test bar.

Expected result

  1. The Input volume bar located in the Input settings section should raise when some noise is being created.
  2. 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install the alsa-utils package: sudo apt install alsa-utils.

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 a headset jack into a 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'
    
  7. Disconnect the headset from the laptop.

  8. 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
    
  2. 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows

Test setup

  1. Proceed with the Test cases common documentation 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 a headset jack into a micro jack slot located on the right side of the laptop.
  5. After the Which device did you plug in menu appears, 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 then using the left mouse button click Sound Settings.
  7. Locate the More sound settings bar and click on it.
  8. Click on the Speakers bar using the right mouse button then using the left mouse button click Properties.
  9. Locate in General the section field named Jack Information.
  10. Close the windows Speakers Properties and Sound.
  11. Disconnect a headset from the laptop.
  12. Repeat steps 7-9.

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 field Jack Information should not contain the phrase Front 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install the alsa-utils package: sudo apt install alsa-utils.

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 a headset jack into a 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 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows

Test setup

  1. Proceed with the Test cases common documentation 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 a headset jack into a 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 the volume menu.
  6. 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install the alsa-utils package: sudo apt install alsa-utils.

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 a headset jack into a 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
    
  6. Make some noise for the headset. For example, say something.

  7. Execute the following command:

    aplay /tmp/test-mic.wav
    
  8. Execute the following command:

    arecord -f S16_LE -d 10 -r 16000 /tmp/test-mic-1.wav
    
  9. Make some noise for the DUT. For example, tap a few times in the laptop casing.

  10. Execute the following command:

    aplay /tmp/test-mic.wav
    

Expected result

  1. During playback of the first recording, all noise that was made for the 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)

Test description

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

Test configuration data

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows

Test setup

  1. Proceed with the Test cases common documentation 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 a headset jack into a 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 then using the left mouse button click Sound Settings.
  6. Locate the All sound device bar and click on it.
  7. Select the Microphone position in the Input devices section.
  8. Click on the Start Test bar in the Input settings section.
  9. Create some noise for the headset to capture and note the result. For example, say something.
  10. Create some noise for the DUT. For example, tap a few times in the laptop casing.
  11. Click on the Stop Test bar.

Expected result

  1. The Input volume bar located in the Input settings section should raise when some noise has been created for the headset.
  2. The Input volume bar located in the Input settings section should not raise when some noise has been created for the DUT.
  3. 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install the alsa-utils package: sudo apt install alsa-utils.

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. Connect the external display to the HDMI slot.
  5. Open a terminal window and execute the following command:

    pactl list cards | grep "hdmi-output" | grep -v "not available
    
  6. Disconnect the headset from the laptop.

  7. Execute the following command again:

    pactl list cards | grep "hdmi-output" | grep -v "not available
    

Expected result

  1. The output of the first command should not be empty and contains the line:

    : hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency
     offset: 0 usec, availability group: Legacy 4, available)
    
  2. The output of the second command should be empty

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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows

Test setup

  1. Proceed with the Test cases common documentation 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 then using the left mouse button click Sound Settings.
  5. Locate the All sound device bar and click on it.
  6. Locate the Output devices and Input devices section.
  7. 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install the alsa-utils package: sudo apt install alsa-utils.

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. Connect the external display to the HDMI slot.

  5. 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

  1. FIRMWARE = Dasharo
  2. OPERATING_SYSTEM = Windows

Test setup

  1. Proceed with the Test cases common documentation 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. Connect the external display to the HDMI slot.
  5. 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 click Sound Settings.
  6. Locate the All sound device bar and click on it.
  7. Select the external display position in the Output devices section.
  8. Click on the Test bar in the Output settings section.

Expected result

Sound should be played from the external display.