Detect accelerometer automatically
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Invalid
|
High
|
Gene Li |
Bug Description
Checkbox has a test case input/accelerom
plugin: manual
category_id: 2013.com.
id: input/accelerom
estimated_duration: 30.0
_description:
PURPOSE:
Manual detection of accelerometer.
STEPS:
1. Look at the specifications for your system.
VERIFICATION:
Is this system supposed to have an accelerometer?
In reality, we did not have specifications and usually check "No" then skip accelerometer test.
Checkbox should able to check udev to know accelerometer existence. Here is a example on reven2-3.
$ udevadm info --export-db | less
E: NAME="Acer BMA150 accelerometer"
E: PHYS="wmi/input1"
E: PRODUCT=19/0/0/0
E: PROP=0
E: SUBSYSTEM=input
E: TAGS=:seat:
E: USEC_INITIALIZE
u@Raven2-
N: Name="Acer BMA150 accelerometer"
P: Phys=wmi/input1
S: Sysfs=/
U: Uniq=
H: Handlers=event17 js0
B: PROP=0
B: EV=9
B: ABS=7
Related branches
- Maciej Kisielewski (community): Approve
-
Diff: 48 lines (+0/-4)4 files modifiedunits/client-cert-14-04-3.pxu (+0/-1)
units/client-cert-14-04.pxu (+0/-1)
units/client-cert-16-04.pxu (+0/-1)
units/client-selftest-14-04.pxu (+0/-1)
- Maciej Kisielewski (community): Approve
-
Diff: 43 lines (+2/-14)2 files modifiedjobs/input.txt.in (+1/-13)
jobs/miscellanea.txt.in (+1/-1)
- Sylvain Pineau (community): Approve
-
Diff: 33 lines (+4/-0)2 files modifiedcheckbox_support/parsers/tests/test_udevadm.py (+2/-0)
checkbox_support/parsers/udevadm.py (+2/-0)
tags: | added: ce-qa-concern |
Changed in plainbox-provider-checkbox: | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in plainbox-provider-checkbox: | |
assignee: | nobody → Sylvain Pineau (sylvain-pineau) |
Changed in plainbox-provider-checkbox: | |
status: | Confirmed → In Progress |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
milestone: | none → 0.37.0 |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
Changed in plainbox-provider-checkbox: | |
assignee: | Gene Li (genelicc) → Sylvain Pineau (sylvain-pineau) |
Changed in plainbox-provider-checkbox: | |
assignee: | Jerry Kao (jerry.kao) → Erin Chen (iamerin-c) |
Changed in plainbox-provider-checkbox: | |
milestone: | 0.51.0 → none |
Changed in plainbox-provider-checkbox: | |
status: | Incomplete → Invalid |
@Gene, please update your finding on whether auto-detection works