Re: [Linuxwacom-devel] [PATCH v2] Make sibling device name matching slightly more lenient

2017-02-12 Thread Peter Hutterer
On Fri, Feb 10, 2017 at 09:53:01PM -0800, Ping Cheng wrote: > The wcmIsSiblingDevice function uses several tricks to try and determine > if two devices should be considered siblings. If its 'logical_only' > parameter is false, this includes comparing device names. Device name > comparison is

[Linuxwacom-devel] [PATCH v2] Make sibling device name matching slightly more lenient

2017-02-10 Thread Ping Cheng
The wcmIsSiblingDevice function uses several tricks to try and determine if two devices should be considered siblings. If its 'logical_only' parameter is false, this includes comparing device names. Device name comparison is complicated by the fact that suffixes are added on by the X and kernel