Bug 75513 - MatchPnPID doesn't work on devices with a deep parent hierarchy
Summary: MatchPnPID doesn't work on devices with a deep parent hierarchy
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/Core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 74544
  Show dependency treegraph
 
Reported: 2014-02-26 00:17 UTC by Peter Hutterer
Modified: 2014-03-12 05:25 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Hutterer 2014-02-26 00:17:13 UTC
The PnPID may be set on a device's parent, but not necessarily on the immediate parent. The server should run up the whole device tree to find the first PnPID instead.

This fixes some of the issues with the T440 where the PnPID is set several parents up from the touchpad device. Requires the patch below though:
https://lkml.org/lkml/2014/2/23/63
Comment 1 Peter Hutterer 2014-02-26 01:16:52 UTC
http://patchwork.freedesktop.org/patch/21074/
Comment 2 Peter Hutterer 2014-03-12 05:25:44 UTC
commit 795066477ee81b5b82e490eac8bed6b656d01f17
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Feb 26 07:54:56 2014 +1000

    config: search for PnPID on all parents (#75513)


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.