Compartilhar via


Touch Driver Unloaded Test (Compact 2013)

3/26/2014

The Touch Driver Unloaded Test tests the behavior when the touch driver is deactivated through the touch panel’s parent bus driver. A "drawing test" as described in 8011 Drawing Test is performed before and while the touch driver is deactivated. In each case, you are asked whether the drawing operation was successfully accomplished. Answering 'Yes' after the second drawing test is a failure as touch screen functionality is expected to be lost.

This is test 4001 in the touchfunc.dll test suite.

NOTE: This is a touch panel driver level test. It requires user-interaction by using a touch pen on the touch panel for most of the tests. After the tests are complete, the OS loses control of the touch panel. Download a new image before you run any more tests.

The TouchFunc.DLL test suite will assume the touch driver has been loaded using the information found in the following registry key: "HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch". If a different registry key is used in your BSP the "Touch Driver Unloaded Test" might not find a parent bus for the driver and the test may fail.

Test Prerequisites

Your device must meet the following requirements before you run this test.

The following table shows the hardware requirements for the test.

Requirement

Description

Touch Panel

Touch screen with or without cursor support.

The following table shows the software requirements for the Touch Driver Test.

Requirements

Description

Tux.exe

Tux test harness, required to execute the test.

Kato.dll

Kato logging engine, required for logging test data.

Ktux.dll

Tux harness library required to run tests in kernel mode

TouchFunc.dll

Library that contains test files.

Subtests

This test has no subtests.

Setting Up the Test

This test has no additional setup requirements beyond the standard test environment setup.

Running the Test

This test requires that you interact with the touch panel. You must follow the instructions on the display to run the test correctly. When the test prompts you, you must perform the requested action. If you do not complete the action, the test times out and fails. The test times out after approximately 15 seconds.

The default command line is:

tux -o -n -d touchfunc -x4001

Verifying the Test

In some cases, the test requires that you select 'Yes' or 'No' in response to a question. To respond, you must tap the part of the touch panel that contains the appropriate response.

Troubleshooting the Test

When you complete the test, the operating system does not regain control of the touch panel. You must reset the touch panel to restore usual operation.

The TouchFunc.DLL test suite will assume the touch driver has been loaded using the information found in the following registry key: "HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch". If a different registry key is used in your BSP the "Touch Driver Unloaded Test" might not find a parent bus for the driver and the test may fail.

See Also

Other Resources

Input - Touch Tests