SunVTS 2.1.3 Test Reference Manual
只搜尋這本書
以 PDF 格式下載這本書
CHAPTER 25

PCMCIA Modem Card Test (pcsertest)


pcsertest verifies the functionality of the PCMCIA modem card. The pcsertest issues a series of commands to the modem that instructs the modem's firmware to run an internal analog loopback diagnostic test. Upon completion, the firmware sends back a three-digit status message indicating whether the test passed or failed.
As an option, the pcsertest tests socket I/O cards. This test writes an 8-Kbyte incrementing data pattern to the I/O card, which is then looped back, read, and verified.

Note - When testing socket I/O cards, a 9-pin loopback connector is required. However, no loopback connector is required when testing the default modem card. See Appendix A for loopback connector wiring instructions.


pcsertest Options

圖形

FIGURE 25-1 pcsertest

The default card type for each PCMCIA slot is a modem card. If only one modem card is plugged in, the empty slot is ignored.
From the pcsertest Option window, you can choose to test socket I/O cards. To test a socket card, choose Socket on the Card Type switch. If you choose to test a socket I/O card in an empty slot, the test fails.
Any combination of modem and socket I/O cards can be placed in the PCMCIA slots. However, you must select the correct type of card in the Option window. If you select an incorrect card type, the test fails.

pcsertest Test Mode

This test only supports Functional Test mode.

pcsertest Command Line Syntax

/opt/SUNWvts/bin/pcsertest standard_arguments -o dev=device_name,
type=card_type

TABLE 25-1 pcsertest
ArgumentExplanation
dev=device_nameThe device name (for example, dev=pc0 and pc1)
type=card_typeThe card type for the previously specified device name (for example, type=serial). You do not need to specify the type if the device is a modem, since modem is the default card type.

pcsertest Error Messages

TABLE 25-2 pcsertest

Error MessageProbable Cause(s)Recommended Action
6000tcgetattr failed for modem card number error message

6001tcsetattr failed for modem card number error message

6002Write failed while setting modem card number error message

6003ioctl TIOCSSOFTCAR failed for serial card number error message

6004tcgetattr failed for serial card number error message

6005tcsetattr failed for serial card number error message

6006Card in slot number is not a serial card

6007Data miscompare error

6008Modem card number returned unknown status

6009ioctl TIOCMSET failed for serial card number error message

6010ioctl TIOCMBIS failed for serial card number error message

6011Write to serial card number failed. error message

6012Timeout waiting for data from serial card number

TABLE 25-2 pcsertest(Continued)

Error MessageProbable Cause(s)Recommended Action
6013Read from serial card number failed. error message

6014Status timeout from modem card number

6015Read from modem card number failed. error message

6016Card in slot %d is not a modem card

8000can't open <device> error message

8001Serial card number loopback defective

8002Write to modem card number failed. error message