touchpad/multitouch-automated does not run

Bug #1415358 reported by Nara Huang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
Medium
Sylvain Pineau

Bug Description

After the touchpad related tests are completed, there are some tests which didn't run:

touchpad/singletouch-automated
touchpad/multitouch-automated
log:

ID: 2013.com.canonical.certification::touchpad/multitouch-automated
Category: 2013.com.canonical.plainbox::uncategorised
Job cannot be started because:
 - resource expression "xinput.device_class == 'XITouchClass' and xinput.touch_mode == 'dependent'" evaluates to false
Outcome: job cannot be started

And these test are not run since multitouch-automated is not run:
touchpad/multitouch-dash
touchpad/multitouch-manual
touchpad/multitouch-rightclick
touchpad/multitouch-zoom

But the test unit which using Synaptics touchpad support 2-finger multitouch.

Related branches

Revision history for this message
Nara Huang (narahuang) wrote :
Nara Huang (narahuang)
description: updated
Revision history for this message
Daniel Manrique (roadmr) wrote :

Hello, could you please run, on the affected system:

xinput --list --long > xinput.log

then attach xinput.log to the bug?

With this we can see why the resource thinks it doesn't have a matching device.

Changed in plainbox-provider-checkbox:
status: New → Incomplete
Revision history for this message
Nara Huang (narahuang) wrote :
Revision history for this message
Pierre Equoy (pieq) wrote :

If this can help, please find attached the xinput of another laptop that have the same issue.

Revision history for this message
Daniel Manrique (roadmr) wrote :

OK, so the requirement needs this:

xinput.device_class == 'XITouchClass' and xinput.touch_mode == 'dependent'

No devices in the output of xinput_resource have XITouchClass :/ and this comes straight from xinput itself (I even checked the source xinput.log you provided).

From your xinput dump, I notice the pointing device is recognized as "PS/2 Generic Mouse", so I wonder if this is perhaps a configuration problem; for example, for my Dell laptop, I had to blacklist the i2c_hid module for the touchpad to be correctly recognized (it was seen as ps/2 mouse without that).

In any case, since the raw xinput --list information shows that xinput doesn't think the laptop has a multitouch-capable device, I don't think this is a bug in checkbox, since the device is reporting its capabilities incorrectly.

A question that could help here, in the "mouse & touchpad" control panel, is the device identified as a touchpad, or are the touchpad-specific options greyed out?

Thanks!

Revision history for this message
Nara Huang (narahuang) wrote :

Yes, it looks like touchpad is recognized as mouse, as attached picture.

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi Nara and Pierre,

In this case it's not a checkbox bug per se; the resource is reporting the capabilities as it sees them, and that's what the system is also reporting here.

We could try to work around this by also looking at the names of devices connected, and force running of the multitouch tests if a synaptics device is detected, as I don't think synaptics is producing non-multitouch devices anymore, but this would be making an assumption and I'm not too happy with that.

I wonder if maybe by loading some module (or removing a module, like the i2c_hid example I mentioned, this module needs to be blacklisted) we could get the touchpad recognized as multitouch. To verify this, load or remove modules, then restart the X server, and run:

xinput list --long |grep XITouch

it should show at least one device with XITouchClass

Revision history for this message
Taihsiang Ho (tai271828) wrote :

@Nara, Pierre

Would you please try vertical scroll of the touchpad?
I suppose they are failed as well now.

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

@taihsiang

Both vertical and horizontal scroll works well.

Ara Pulido (ara)
summary:
Revision history for this message
Ara Pulido (ara) wrote :

I am going to mark this bug as invalid, as the problem was that the touchpad was wrongly recognized as a mouse.

This should be a failure.

I have created a new bug to add a test for it: https://bugs.launchpad.net/plainbox-provider-checkbox/+bug/1419759

Changed in plainbox-provider-checkbox:
status: Incomplete → Invalid
Revision history for this message
Nara Huang (narahuang) wrote :
Revision history for this message
Nara Huang (narahuang) wrote :

For the units affected by this bug, they are OEM units, which installed OEM image, with proprietary driver installed.
It seems that Synaptics proprietary driver would set two device in xinput:
"syntp" and "PS/2 Generic Mouse"

Revision history for this message
Nara Huang (narahuang) wrote :

#11 is the xinput output log

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

Test a fail system without synaptic proprietary driver. This issue can not be reproduced. There are 2 device with XITouchClass in xinput list --long. So it is a issue about Synaptic proprietary driver.

But the functions of touchpad are all workable. There is no affect to user usage. Since touchpad/singletouch-automated and touchpad/multitouch-automated are untested. The test cases which have dependency with above 2 can not be executed.
This should not be a cert-blocker because the functions are workable. And this does not affect user.

The only effects are 1) QA need to verify those functions manually when test results of the 2 test cases are untested. 2) when QA submit results to cert plan bugs, we need to have a note that touchpad functions are workable.

This is not efficiency and reliable.
For now, all touchpad on laptop should support multi-touch. It would be more convenient and reasonable to remove the dependency.

Changed in plainbox-provider-checkbox:
milestone: none → 0.47.0
assignee: nobody → Sylvain Pineau (sylvain-pineau)
status: Invalid → In Progress
Changed in plainbox-provider-checkbox:
importance: Undecided → Medium
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.