/opt/SUNWvts/bin/audiotest standard_arguments -o dev=/dev/sound/unit_no,I=/devioctl_device,M,L,Q,S,T=loopback_test_type,X,E,LE,CD,CDD=CD_device_name, CDT=track_number,CDG=play_gain,CDL=play_time,W,MF=filename,TF=filename
Table 4-4 audiotest Command Line Syntax
Argument |
Explanation |
---|---|
dev=/dev/audio_device |
Specifies the audio device to be tested. The default is dev=/dev/audio |
I=/dev/ioctl_device |
Specifies the audio ioctl device to be tested; the default is /dev/audioctl. |
M |
Enables the music play test. |
L |
Enables the loopback test. |
Q |
Enables the quality test. This option does the same thing as L option except that it prints an extra status message upon completion. |
S |
Enables the speakerbox controls test. |
T=loopback_test_type |
Specifies the type of loopback test. The default is 1; the choices are listed below. 0 Codec Internal Loopback (CS4231 audio only) 1 Line-in/Line-out 2 Headphone/Line-in 3 Headphone/Microphone 4 Speaker/CD-input I1 Internal Line-in/Line-out I2 Internal Spk/Mic I3 Internal Headphone/Aux1 I4 Internal Speaker/Aux1 I5 Internal Headphone/Mic Note: Test type 0 is always run by default on CS4231 audio implementations. Test types 3, and 4 require special hardware, and are used by manufacturing centers and special test facilities. Do not invoke these tests unless you have the required hardware. |
X |
Enables the Audio Crystal test. |
E |
Continues testing if an error occurs. |
LE |
Loops on Error. This plays the signal data in a continuous loop. |
CD |
Enables the cdtest. This is for systems with an internal CD-ROM drive. A CD disc with music tracks must be loaded prior to running this test. |
CDD=CD_device_name |
Specifies the raw device name for the CD-ROM drive. The default is CDD=/dev/rdsk/c0t6d0s0. |
CDT=number |
Specifies the track number of CD-ROM to play. The default is to play the first track on the disc. |
CDG=play_gain |
Specifies the play gain of the CD Play test (0 to 255). The default is 120. |
CDL=play_time |
Specifies the number of seconds to run the CD Play test. The default is 30 seconds. |
W |
Shows warning messages during the loopback test. |
MF=filename |
Selects an optional music file. |
TF=filename |
Specifies an optional tolerance file. Note: The tolerance file is used by manufacturing centers and special test facilities. Do not use this option unless you are familiar with the tolerance file format. |
64-bit tests are located in the sparcv9 subdirectory: /opt/SUNWvts/bin/sparcv9/testname. If the 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".