Bug 86924 - Microsoft Surface 3 Type Cover triggers BUG_RETURN_VAL
Summary: Microsoft Surface 3 Type Cover triggers BUG_RETURN_VAL
Status: RESOLVED DUPLICATE of bug 89473
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/evdev (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-02 07:09 UTC by Daniel Martin
Modified: 2015-05-05 09:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
evemu description of the MS Surface 3 Cover (15.79 KB, text/plain)
2014-12-02 07:09 UTC, Daniel Martin
no flags Details

Description Daniel Martin 2014-12-02 07:09:09 UTC
Created attachment 110349 [details]
evemu description of the MS Surface 3 Cover

The Microsoft Surface 3 Type(?) Cover triggers two BUG_RETURN_VAL in exevents.c at
    line 2086: BUG_RETURN_VAL(axnum >= dev->valuator->numAxes, FALSE);
and the same condition at
    line 2119: ...

It's a fake MT device like the MS Surface 2 Touch Cover. The evdev driver needs to be patched to handle this special condition. I.e. libinput contains such a patch:
    evdev: handle fake MT devices
    http://cgit.freedesktop.org/wayland/libinput/commit/?id=f04f582
Comment 1 Daniel Martin 2014-12-02 07:11:50 UTC
A workaround can be found here:
    https://github.com/rubiojr/surface3-kernel/blob/master/misc/xorg.conf
Comment 2 Peter Hutterer 2015-05-05 05:38:29 UTC
Sorry, missed this bug. Looks the same as Bug 89473 though, can we close this as dupe (even if it predates the other one).
Comment 3 Daniel Martin 2015-05-05 09:33:08 UTC
And I missed to keep track of it.

*** This bug has been marked as a duplicate of bug 89473 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.