Audio
The audio test validates removable sound cards and integrated sound devices. You can run the Audio test to verify that your system can successfully play and record sound.
- What the test covers
-
Removable sound cards and integrated sound devices are tested with the audio test. The test is scheduled when the hardware detection routines find the following strings in the udev database:
E: SUBSYSTEM=sound E: SOUND_INITIALIZED=1You can see these strings in the output of the command udevadm info --export-db. This output also shows the strings that trigger the scheduling of other tests in this guide.
- RHEL version supported
-
- RHEL 8
- RHEL 9
- RHEL 10
- What the test does
- The test plays a prerecorded sound while it records the same audio to a file. The sound is either guitar chords or a recorded voice. It then plays back the recording and asks if you could hear the sound.
- Preparing for the test
-
Before you begin your test run, ensure that the audio test is scheduled. Also ensure that the system can play and record sound.
Contact Red Hat support for further assistance if the test does not appear on a system with installed audio devices. If the test is scheduled correctly, learn how to manually test the playback and record functions of your sound device.
With built-in speakers, or headphones plugged into the headphone or line-out jack, you can confirm playback before testing in these ways:
- In the Settings application click the Sound option.
- Click on the Output tab, select the sound card you want to test, and adjust the Output volume to an appropriate level.
- Click Test Speakers.
- In the Speaker Testing pop-up window, click the Test buttons to generate sounds.
If no sound can be heard, ensure that the speakers are plugged in to the correct port. You can use any line-out or headphone jack (we have no requirement for which port you must use). Verify the sound is not muted and try adjusting the volume on the speakers and in the operating system itself.
If the audio device has record capabilities, these should also be tested before attempting to run the test. Plug a microphone into one of the Line-in or Mic jacks on the system.
Alternatively, use the built-in microphone if you are testing a notebook. Again, we don’t require you to use a specific input jack; provided that one works, the test passes.
- In the Settings application click the Sound option.
- Click on the Input tab, select the appropriate input device, and adjust the Input volume to 100%.
- Speak into, tap, or otherwise activate the input device, and watch the Input level graphic. If you see it moving, the input device is set up properly. If it does not move, try another input selection or microphone port to plug the input device into. Contact your support person if you cannot hear sound or see the input level display move. Either issue causes the audio test to fail.
If you can successfully play sounds and see movement on the input level display near the microphone, continue to the next section. There you learn how to run the test.
- Running the test
-
The audio test is interactive. Before you run a test that includes an audio test, connect the microphone you used for your manual test.
Place it in front of the speakers, or ensure that the built-in microphone is free of obstructions. In a noisy environment, connect the line-out jack directly to the mic or line-in jack with a patch cable.
Run the following command, then select the
Audiotest name from the list that displays.rhcert-runThe interactive steps are as follows:
- The system plays sounds and ask if you heard them. Answer y or n as appropriate. If you use a direct connection instead of speakers and a microphone, still choose y for the answer. Your speakers is bypassed by the patch cable regardless.
- The system next plays back the file it recorded. If you heard the sound, answer y when prompted. Otherwise, answer n.
- Run time
- The audio test takes less than 1 minute for simultaneous playback and record, then the playback of the recorded sound. The required supportable test adds about a minute to the overall run time.