The info/touchpad_driver test case always fails with "No Touchpad Detected"

Bug #1349298 reported by Chih-Hsyuan Ho on 2014-07-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Provider for Plainbox - Checkbox
Po-Hsu Lin

Bug Description

OS: Ubuntu 14.04 LTS
CDTS: v1.10

The info/touchpad_driver test case would always fail with "No Touchpad Detected", however, the touchpad device has been working normally.

Output of "udevadm info --export-db" is attached.

Related branches

Chih-Hsyuan Ho (chih) wrote :
Chih-Hsyuan Ho (chih) wrote :
Chih-Hsyuan Ho (chih) wrote :

Yung has found that by modifying the addDevice function to look for 'TOUCHPAD' for device category in the TouchResult class in /usr/bin/ can work around this issue.

summary: - info/touchpad_driver always failed with "No Touchpad Detected"
+ The info/touchpad_driver test case always fails with "No Touchpad
+ Detected"
Daniel Manrique (roadmr) wrote :

Sure, the job's requirement is for a TOUCHPAD:

plugin: attachment
id: info/touchpad_driver
requires: device.category == 'TOUCHPAD'
command: touchpad_driver_info

but the script itself has this on line 7:

        if getattr(device, 'category') == 'TOUCH':

so clearly if the system has a touchpad, the script will run, but it will show the information for (for instance) a touchscreen and not the touchpad.

I think it's reasonable to make the requirements equal, setting them both to TOUCHPAD.

Changed in cdts:
importance: Undecided → Medium
status: New → Triaged
information type: Proprietary → Private
affects: cdts → plainbox-provider-checkbox
Changed in plainbox-provider-checkbox:
milestone: none → 0.9
tags: added: bite-size
Daniel Manrique (roadmr) on 2014-07-29
information type: Private → Public
Daniel Manrique (roadmr) on 2014-08-08
Changed in plainbox-provider-checkbox:
milestone: 0.9 → 0.10
Po-Hsu Lin (cypressyew) on 2014-08-19
Changed in plainbox-provider-checkbox:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: Triaged → In Progress
Daniel Manrique (roadmr) on 2014-08-22
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Daniel Manrique (roadmr) on 2014-08-29
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers