<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - T440s: middle and right clickpad buttons don't work if USB trackpoint is connected at boot"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89935">89935</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>T440s: middle and right clickpad buttons don't work if USB trackpoint is connected at boot
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>libinput
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>andreasfleig@googlemail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=114913" name="attach_114913" title="hid-lenovo patch that sets INPUT_PROP_POINTING_STICK">attachment 114913</a> <a href="attachment.cgi?id=114913&action=edit" title="hid-lenovo patch that sets INPUT_PROP_POINTING_STICK">[details]</a></span>
hid-lenovo patch that sets INPUT_PROP_POINTING_STICK
I added the prop INPUT_PROP_POINTING_STICK to the hid-lenovo driver to enable
middle button scrolling for the Lenovo Compact USB keyboard by default (patch
attached). The patch works well if the USB keyboard is plugged in after
booting. If it's connected at boot time, the middle and right clickpad buttons
of my Lenovo T440s are recognized as left clicks, and since there's no middle
click, trackpoint scrolling with the integrated trackpoint doesn't work either.
Kernel: 4.0.0-0.rc5.git4.1.fc22.x86_64
Libinput: 0.12.0.2.fc22
Repeatable: always
Steps to reproduce:
0. Find a Thinkpad with T440s-like clickpad and a Lenovo Compact USB keyboard
1. Apply the attached patch to the hid-lenovo kernel module, recompile and
install the module
2. Connect Lenovo Compact USB keyboard
3. Notice that middle button scrolling works with both the USB keyboard and the
integrated trackpoint
4. Reboot the system leaving the USB keyboard connected
5. Notice that middle button scrolling works with the USB keyboard, but that
middle and right click don't work on the clickpad anymore</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>