diff options
| author | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2015-02-13 17:47:37 +0800 |
|---|---|---|
| committer | Po-Hsu Lin <po-hsu.lin@canonical.com> | 2015-02-13 17:47:37 +0800 |
| commit | cb42ba9fa1d034df9441cd6ba48bc22a2b33ef80 (patch) | |
| tree | a8bfbe3266b2064cc58144bea4078cbe8e13da13 /jobs | |
| parent | 3b801abc0ee6c208e90edf1294a2c28f4a44e318 (diff) | |
Adding new touchpad checking to see if it's detected as a mouse
Diffstat (limited to 'jobs')
| -rw-r--r-- | jobs/touchpad.txt.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/jobs/touchpad.txt.in b/jobs/touchpad.txt.in index 1983e26..e7d2039 100644 --- a/jobs/touchpad.txt.in +++ b/jobs/touchpad.txt.in @@ -190,3 +190,23 @@ _description: VERIFICATION: Did the tap open the Dash? +plugin: user-interact +id: touchpad/detected-as-mouse +requires: dmi.product in ['Notebook','Laptop','Portable'] +estimated_duration: 30.0 +command: + xinput list --name-only | grep "PS/2 Generic Mouse" + if [ $? ]; then + zenity --info --text "Oops, your touchpad seems to be detected as a mouse" + exit 1 + else + touchpad_driver_info + fi +_description: + PURPOSE: + This test will test if your touchpad was detected as a mouse + STEPS: + 1. Please disconnect any external mouse / pointing device and click on Test + VERIFICATION: + The verification of this test is automated. + |
