C H A P T E R 50 |
Internal I2C Smart Card Reader Test (sc2test) |
The sc2test verifies the proper functioning and integrity of the internal I2C smart card reader by testing the scmi2c(7d) driver.
The sc2test consists of the following subtests:
The Register read subtest performs read access to selected scmi2c reader registers by means of ioctl().
The Walking 1s subtest performs walking 1s to selected scmi2c reader registers; registers under test are saved and restored.
The sc2test initializes the card reader. The test power manages and resets the card. After reset, the test makes multiple attempts to read the ATRs from the inserted card to verify against a list of recognized ATRs. The cards supported are the Cyberflex and Payflex cards are supported.
Based on the result of the ATR, the Application Protocol Data Unit (APDU) Unique-ID subtest exchanges selected ISO 7816 APDUs between the card and the reader to retreive the card's unique ID.
Caution - The file /opt/SUNWvts/bin/sc2test.atrconsists of an ATR list for the supported Cyberflex or Payflex cards. You can use an editing program to update the file to include the new ATR. |
To reach the following dialog box, 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.
Performs the Register subtests, the AnswerToReset subtest, and the APDU unique-ID subtest. |
/opt/SUNWvts/bin/sc2test standard-arguments -o [
[ dev=device-name ]
[ regs=Enable|disable ]
[ atr=Enable|disable ]
[ apdu=Enable|disable ] ]
Copyright © 2006, Sun Microsystems, Inc. All Rights Reserved.