Поделиться через


Running the Smart Card Reader Insertion and Removal During Suspend Test (Windows Embedded CE 6.0)

1/6/2010

Applies to Windows Embedded CE 6.0 R2

The following procedure describes the steps and functionality of this test. To run this test using the default values, at the command-line, type tux -o -d ifdtesttux -x 2003.

Note

  If the system being tested has a display, the instructions, progress, and test results will be shown on the system display. However, if the system does not have a display screen, the instructions, progress, and test results will be displayed in the Windows Embedded CE 6.0 R2 (and later versions) Output window.

Procedure

To run the Smart Card Reader Insertion and Removal during Suspend Test

  1. The test operator attaches a smart card reader to the system.

  2. The test opens a handle to the card reader. Then it performs a quick sanity check by requesting the card state of the smart card reader.

  3. Test suspends the system.

  4. While the system is suspended, the test operator detaches the smart card reader, and then re–attaches it to the same USB port from which it was detached.

  5. Test wakes the system.

  6. Test verifies whether a card reader is connected. Then it opens a handle to the card reader and runs AutoIFD, the one–card version of the Smart Card Protocol tests described in the Smart Card Reader Test (IFDTest2) topic.

  7. Test closes the handle to the smart card reader.

  8. Test suspends the system.

  9. While the system is suspended, the test operator detaches the smart card reader. Then the test operator re-attaches it to a USB port that is different from the one that it was detached from.

  10. Test wakes the system.

  11. Test verifies whether a card reader is connected. Then it opens a handle to the card reader and runs AutoIFD.

  12. Test closes the handle to the card reader.

  13. Test suspends the system.

  14. While the system is suspended, the test operator detaches the smart card reader from the system.

  15. Test wakes the system.

  16. As soon as the system resumes, the test operator attaches the smart card reader to the same USB port from which it was detached in step 14.

  17. Test verifies whether a card reader is connected. Then it opens a handle to the card reader and runs AutoIFD.

  18. Test closes the handle to the card reader.

  19. Test suspends the system.

  20. While the system is suspended, the test operator detaches the smart card reader from the system.

  21. Test wakes the system.

  22. As soon as the system resumes, the test operator attaches the smart card reader to a USB port that is different from the one that it was detached from in step 20.

  23. Test verifies whether a card reader is connected. Then it opens a handle to the card reader and runs AutoIFD.

  24. Test closes the handle to the card reader.

  25. The test operator detaches the card reader from the system.

  26. Test suspends the system.

  27. While the system is suspended, the test operator attaches a smart card reader to the system.

  28. Test wakes the system.

  29. As soon as the system resumes, the test verifies whether a card reader is connected. Then it opens a handle to the card reader and runs AutoIFD.

  30. Test closes the handle to the card reader.

Note

You can specify the number of seconds before the device suspends by using the -c "w seconds" command–line parameter. For more information, see Command-Line Parameters for the Smart Card Reader Insertion and Removal During Suspend Test.

See Also

Concepts

Smart Card Reader Insertion and Removal During Suspend Test