<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 09/06/2017 12:29 PM, Aaron Ma wrote:<br>
</div>
<blockquote cite="mid:20170906042935.23586-1-aaron.ma@canonical.com"
type="cite">
<pre wrap="">BugLink: <a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1715271">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1715271</a>
[Impact]
Middle button doesn't work on several Thinkpad laptops like E570, E475, E470, E575 and X1Carbon.
When middle button fails to work, logs show:
psmouse serio2: trackpoint: failed to get extended button data
It fails to read out ext button info via PS2 command.
Almost all the Thinkpad have 3 buttons, so set it to 3 button when it fails to read button info.
[Fix]
Fix it by setting default button info to 3 when failed to detect it.
[Test Case]
Middle button of trackpoint works fine.
[Regression Potential]
Very low.
This patch set the button value to 0x33 after failure of detection.
Oscar Campos (1):
Input: trackpoint - assume 3 buttons when buttons detection fails
drivers/input/mouse/trackpoint.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
</pre>
</blockquote>
<p>A clean and safe cherrypick/backport.</p>
<pre wrap="">Acked-by: Hui Wang <a class="moz-txt-link-rfc2396E" href="mailto:hui.wang@canonical.com"><hui.wang@canonical.com></a>
</pre>
</body>
</html>