C H A P T E R 21 |
IEEE 1394 Camera Test (fwcamtest) |
fwcamtest tests the parameters and display functions of an IEEE 1394 digital camera, such as vid mode, frame rate, and frames received. This test currently supports the LG PC-10 camera.
Note - Do not run the fwcamtest and vmemtest at the same time on any
|
Note - Do not start Sun Forum (or any application that uses the dcam0 device) while fwcamtest is running. This causes the test to fail. |
This section describes the fwcamtest test requirements.
The system that runs fwcamtest must already be running a window environment, such as JDS. If the system has no windowing environment, or is only displaying the login window, fwcamtest will neither pass nor fail.
Note - Your window system must be operating in 24-bit depth to run the display test. Instructions for changing this setting are below. |
If you are working in JDS, you can change your system to 24-bit depth by editing the file /usr/dt/config/Xservers or /etc/dt/config/Xservers. The file /etc/dt/config/Xservers overrides the file /usr/dt/config/Xservers. Edit the appropriate file to include the following line:
:0 Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner -dev /dev/fbs/ffb0 defdepth 24 defclass TrueColor |
While running fwcamtest through a remote connection (such as a Telnet session), if the DISPLAY variable is not set properly, it will cause numerous warning messages to display. These messages are logged and can fill up the log files. To avoid this, set your DISPLAY variable for the local host, and perform xhost remote-host on the local host before you start SunVTS and run fwcamtest.
TABLE 21-1 describes the fwcamtest subtests.
To reach the following 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 might not include the device appropriate to this test. Refer to the SunVTS User's Guide for more details.
/opt/SUNWvts/bin/fwcamtest standard-arguments
-o dev=dcam0,dcamparam=E(nable)|D(isable),framercv=E|D,display=E|D, T=seconds
Copyright © 2006, Sun Microsystems, Inc. All Rights Reserved.