Comment 0 for bug 1701226

Revision history for this message
Jerry Kao (jerry.kao) wrote :

Checkbox has a test case input/accelerometer_verify to check if system has accelerometer by tester manually.

plugin: manual
category_id: 2013.com.canonical.plainbox::input
id: input/accelerometer_verify
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

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="Acer BMA150 accelerometer"
P: Phys=wmi/input1
S: Sysfs=/devices/virtual/input/input23
U: Uniq=
H: Handlers=event17 js0
B: PROP=0
B: EV=9
B: ABS=7