The following tests verify the functionality of SunButtons:
Modify the .customtest file as described below to verify that each button functions; each button lights up in a round-robin fashion.
The .customtest file is located in in two places. Modify the 32-bit (in the /opt/SUNWvts/bin directory) or the 64-bit (in the /opt/SUNWvts/bin/sparcv9 directory) .customtest file according to the Solaris environment that you are using.
sunbuttons;sunbuttons; Mode<CYCLE|diag|diag|mode> sundials;sundials; Mode<CYCLE|diag|diag|mode> (you may have to execute the xhost + command)
To configure the port, perform the following steps:
# ls -l /dev/bd* lrwxrwxrwx 1 root other 11 Nov 12 15:39 /dev/bd -> /dev/term/b #
Connect the sunbuttons/sundials device to your configured serial port (a or b).
After starting SunVTS, you should see Customtest as one of the available options with sundials and sunbuttons available for selection.
Change to the Functional test mode and enable intervention.
Enable the sunbuttons and sundials tests.
In Diag mode, a pop-up window is displayed.
Select the Diagnostics button.
Let the test run its course (the Diagnostics button will be selectable again).
Close the pop-up window.
The test should register a single pass.
Do not run the sundials and sunbuttons tests at the same time.
This is an interactive test. The test displays a screen representation of the buttonbox (see Figure 35-1) where you can press each of the buttons and see the corresponding button's display change.
To run the diagnostic test, select the Diagnostics Button on the top of the menu representation. The buttonbox buttons on the screen do not change while the diagnostics test is running.
Be sure that the buttonbox is connected to one of the serial ports, and that the buttonbox has a power transformer.
There is no option menu for this test.