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 |
Medium
|
Po-Hsu Lin |
Bug Description
OS: Ubuntu 14.04 LTS
CDTS: v1.10
The info/touchpad_
Output of "udevadm info --export-db" is attached.
Related branches
lp:~cypressyew/checkbox/touchpad_driver_info_fix
- Daniel Manrique: Approve on 2014-08-19
-
Diff: 11 lines (+1/-1)1 file modifiedproviders/plainbox-provider-checkbox/bin/touchpad_driver_info (+1/-1)
Chih-Hsyuan Ho (chih) wrote : | #1 |
Chih-Hsyuan Ho (chih) wrote : | #2 |
Chih-Hsyuan Ho (chih) wrote : | #3 |
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 : | #4 |
Sure, the job's requirement is for a TOUCHPAD:
plugin: attachment
id: info/touchpad_
requires: device.category == 'TOUCHPAD'
command: touchpad_
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.
Yung has found that by modifying the addDevice function to look for 'TOUCHPAD' for device category in the TouchResult class in /usr/bin/ 2013.com. canonical. certification: checkbox/ bin/touchpad_ driver_ info can work around this issue.