C H A P T E R  60

USB Audio Test (usbaudiotest)

The usbaudiotest verifies the proper functioning of the hardware and software components of the USB audio subsystem. Specifically, the usbaudiotest tests the USB audio devices: USB microphones and speakers.



caution icon

Caution - This test works with exclusive access devices (only one process or application available at a time).




usbaudiotest Subtests

usbaudiotest uses the following subtests:


usbaudiotest Options

To reach the dialog box below, right-click on the test name in the System Map and select Test Parameter Options. If you do not see this test in the System Map, you might need to expand the collapsed groups, or your system may not include the device appropriate to this test. Refer to the SunVTS User's Guide for more details.

FIGURE 60-1 usbaudiotest Test Parameter Options Dialog Box

Screenshot of the usbaudiotest Test Parameter Options dialog box.
TABLE 60-1 usbaudiotest Options

usbaudiotest Options

Description

Volume:

Specifies the volume of 0 to 255; the default is 80

Audiotest:

Can be set to "enable" or "disable" to perform the audio music test; the default is "enable"



usbaudiotest Test Modes
TABLE 60-2 usbaudiotest Supported Test Modes

Test Mode

Description

Connection

Outputs two seconds of sound to the speakers

Functional

(1) Records and Plays test (2) Performs Audio Music test (optional)



usbaudiotest Command-Line Syntax

/opt/SUNWvts/bin/usbaudiotest standard_arguments -p 0 -sf -o
O=
speaker,V=n,M=enable,dev=sound1

TABLE 60-3 usbaudiotest Command-Line Syntax

Argument

Description

dev=audio_device

Specifies the audio device to be tested; the default is /dev/sound/1, /dev/sound/1ctl

M=enable|disable

Enables or disables the Music Play test; the default is "enable"

MF=filename

Selects an optional music file; the default is music.au

V=n

Volume control, n is 0 to 255; the default is 80




Note - 64-bit tests are located in the sparcv9 subdirectory: /opt/SUNWvts/bin/sparcv9/testname. If a test is not present in this directory, then it may only be available as a 32-bit test. For more information refer to 32-Bit and 64-Bit Tests.