Running audio test for hardware certification fails "sh: play: command not found"

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 6

Issue

  • I am running v7 test on my hardware to certify it on RHEL
  • Running audio test fails with below output on console:

...
This test plays a sound sample and records it in to another file
Please use the Volume Control application and insure that the
Capture settings will record the sound.
Continue? (y|n) y
sh: play: command not found
sh: play: command not found
response: y
starting recording
waiting 7 sec
sh: rec: command not found
rec: no process killed
sox: no process killed
...

Resolution

Install sox package from RHEL installation media or RHN.

Root Cause

Package (sox) providing play and rec command is missing.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments