<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/mouse, branch v4.9</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-11-17T01:25:31Z</updated>
<entry>
<title>Input: psmouse - disable automatic probing of BYD touchpads</title>
<updated>2016-11-17T01:25:31Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2016-11-12T18:45:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e9fb7cc63801d3dc71b60ca11c4d08f68f879a53'/>
<id>urn:sha1:e9fb7cc63801d3dc71b60ca11c4d08f68f879a53</id>
<content type='text'>
BYD automatic protocol detection is extremely unreliable and is often
triggers false positives on regular mice, Sentelic touchpads, and other
devices. BYD has several documents that have recommended detection
sequence, but they conflict with each other and, as far as I can see, still
would not produce unique enough output to reliably differentiate BYD from
other PS/2 devices.

OEMs sourcing BYD devices also do not do us any favors by not supplying any
reasonable DMI data and instead leaving turds like "To Be Filled By O.E.M."
in place of vendor data, or "System Serial Number" as serial number.

On top of that BYD is not truly modern multitouch controller, but rather a
single-touch transitional device that only reports absolute coordinates at
the beginning of finger contact and then reverts to reporting
displacements, and thus not very precise; the only benefit from using BYD
mode vs the legacy PS/2 mode is possibility of edge scrolling.

Given the above, and the fact that BYD devices are somewhat uncommon, let's
disable automatic detection of BYD devices. Users who know they have BYD
trackpads or want to experiment can attempt to activate BYD protocol via
sysfs:

	echo -n "byd" &gt; /sys/bus/serio/devices/serio1/drvctl

Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=151691
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=175421
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=120781
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=121281
Fixes: 98ee37714493 ("Input: byd - add BYD PS/2 touchpad driver")
Cc: stable@vger.kernel.org # 4.6+
Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - cleanup Focaltech code</title>
<updated>2016-10-25T00:19:25Z</updated>
<author>
<name>Dmitry Tunin</name>
<email>hanipouspilot@gmail.com</email>
</author>
<published>2016-10-24T23:35:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=324ae0958cab5ccdf2851ef0348ba1cb8ad4e34a'/>
<id>urn:sha1:324ae0958cab5ccdf2851ef0348ba1cb8ad4e34a</id>
<content type='text'>
psmouse-&gt;name "Focaltech Touchpad" is an overkill. In xinput it is too long
as "FocaltechPS/2 Focaltech Focaltech Touchpad"

In focaltech_report_state() pointer to psmouse-&gt;dev is already stored as
*dev

Signed-off-by: Dmitry Tunin &lt;hanipouspilot@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: elantech - add Fujitsu Lifebook E556 to force crc_enabled</title>
<updated>2016-10-07T23:30:12Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2016-10-06T05:49:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=62837b3c1a95535d1a287c9c8c6563bbd8d37033'/>
<id>urn:sha1:62837b3c1a95535d1a287c9c8c6563bbd8d37033</id>
<content type='text'>
Another Lifebook machine that needs the same quirk as other similar
models to make the driver working.

Also let's reorder elantech_dmi_force_crc_enabled list so LIfebook enries
are in alphabetical order.

Reported-by: William Linna &lt;william.linna@gmail.com&gt;
Tested-by: William Linna &lt;william.linna@gmail.com&gt;
Reviewed-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: ALPS - set DualPoint flag for 74 03 28 devices</title>
<updated>2016-10-04T18:47:01Z</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2016-10-04T18:43:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=aeaa881f9b17823028b464893b89c42db797b717'/>
<id>urn:sha1:aeaa881f9b17823028b464893b89c42db797b717</id>
<content type='text'>
Here we introduce logic in alps_identify to set the ALPS_DUALPOINT flag
for touchpad hardware responding to E7 report with 73 03 28, as is found
in the Dell Latitude E7470.

Tested-by: Michal Hocko &lt;mhocko@suse.com&gt;
Signed-off-by: Ben Gamari &lt;ben@smart-cactus.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: ALPS - allow touchsticks to report pressure</title>
<updated>2016-10-04T18:46:54Z</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2016-10-04T18:41:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7ad8a1067dfc3bf74ad2daef013ea4f3df1841a7'/>
<id>urn:sha1:7ad8a1067dfc3bf74ad2daef013ea4f3df1841a7</id>
<content type='text'>
The SS5 hardware can report this.

Tested-by: Michal Hocko &lt;mhocko@suse.com&gt;
Signed-off-by: Ben Gamari &lt;ben@smart-cactus.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: ALPS - handle 0-pressure 1F events</title>
<updated>2016-10-04T18:46:51Z</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2016-10-04T18:40:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a831776323e7c532ef9c88d0d62512ae15d78415'/>
<id>urn:sha1:a831776323e7c532ef9c88d0d62512ae15d78415</id>
<content type='text'>
While a button is held SS5 hardware will give us single-finger packets
with x, y, and pressure equal to zero. This causes annoying jumps in
pointer position if a touch is released while the button is held. Handle
this by claiming zero contacts to ensure that no position events are
provided to the user.

Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Tested-by: Michal Hocko &lt;mhocko@suse.com&gt;
Signed-off-by: Ben Gamari &lt;ben@smart-cactus.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: ALPS - add touchstick support for SS5 hardware</title>
<updated>2016-10-04T18:46:41Z</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2016-10-04T18:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4777ac220c430173e297237b896932ed5fd8aaf3'/>
<id>urn:sha1:4777ac220c430173e297237b896932ed5fd8aaf3</id>
<content type='text'>
Add touchstick support for the so-called SS5 hardware, which uses a
variant of the SS4 protocol.

Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Tested-by: Michal Hocko &lt;mhocko@suse.com&gt;
Signed-off-by: Ben Gamari &lt;ben@smart-cactus.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: elantech - force needed quirks on Fujitsu H760</title>
<updated>2016-10-04T00:31:57Z</updated>
<author>
<name>Matti Kurkela</name>
<email>Matti.Kurkela@iki.fi</email>
</author>
<published>2016-10-03T23:48:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f9a703a54d16ba2470391c4b12236ee56591d50c'/>
<id>urn:sha1:f9a703a54d16ba2470391c4b12236ee56591d50c</id>
<content type='text'>
Just like Fujitsu CELSIUS H730, the H760 also has an Elantech touchpad with
the same quirks. Without this patch, the touchpad is useless out-of-the-box
as the mouse pointer won't move.

This patch makes the driver aware of both the crc_enabled=1 requirement and
the middle button, making the touchpad fully functional out-of-the-box.

Signed-off-by: Matti Kurkela &lt;Matti.Kurkela@iki.fi&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: elantech - fix Lenovo version typo</title>
<updated>2016-10-04T00:28:58Z</updated>
<author>
<name>Marcos Paulo de Souza</name>
<email>marcos.souza.org@gmail.com</email>
</author>
<published>2016-10-03T23:45:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ad3cce0641161301b3702bf2d69c0109fa92e8ec'/>
<id>urn:sha1:ad3cce0641161301b3702bf2d69c0109fa92e8ec</id>
<content type='text'>
Signed-off-by: Marcos Paulo de Souza &lt;marcos.souza.org@gmail.com&gt;
Reviewed-by: Ulrik De Bie &lt;ulrik.debie-os@e2big.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: elan_i2c - fix return tests of i2c_smbus_read_block_data()</title>
<updated>2016-10-03T23:41:00Z</updated>
<author>
<name>Benjamin Tissoires</name>
<email>benjamin.tissoires@redhat.com</email>
</author>
<published>2016-09-30T23:42:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=265d426d7470d53e900379960eef5b4482125089'/>
<id>urn:sha1:265d426d7470d53e900379960eef5b4482125089</id>
<content type='text'>
i2c_smbus_read_block_data() returns negative errno else the number of
data bytes in the slave's response.

Checking for error not null means the function always fails if the device
answers properly.

So given that we read 3 bytes and access those, better check that we
actually read those 3 bytes.

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
</feed>
