<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/input/mouse/alps.c, branch v4.11.5</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.11.5</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.11.5'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2017-03-17T21:25:04+00:00</updated>
<entry>
<title>Input: ALPS - fix trackstick button handling on V8 devices</title>
<updated>2017-03-17T21:25:04+00:00</updated>
<author>
<name>Masaki Ota</name>
<email>masaki.ota@jp.alps.com</email>
</author>
<published>2017-03-17T21:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=47e6fb4212d09f325c0847d05985dd3d71553095'/>
<id>urn:sha1:47e6fb4212d09f325c0847d05985dd3d71553095</id>
<content type='text'>
Alps stick devices always have physical buttons, so we should not check
ALPS_BUTTONPAD flag to decide whether we should report them.

Fixes: 4777ac220c43 ("Input: ALPS - add touchstick support for SS5 hardware")
Signed-off-by: Masaki Ota &lt;masaki.ota@jp.alps.com&gt;
Acked-by: Pali Rohar &lt;pali.rohar@gmail.com&gt;
Tested-by: Paul Donohue &lt;linux-kernel@PaulSD.com&gt;
Tested-by: Nick Fletcher &lt;nick.m.fletcher@gmail.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: ALPS - fix V8+ protocol handling (73 03 28)</title>
<updated>2017-03-17T21:25:03+00:00</updated>
<author>
<name>Masaki Ota</name>
<email>masaki.ota@jp.alps.com</email>
</author>
<published>2017-03-17T21:10:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e7348396c6d51b57c95c6646c390cd078e038e19'/>
<id>urn:sha1:e7348396c6d51b57c95c6646c390cd078e038e19</id>
<content type='text'>
Devices identified as E7="73 03 28" use slightly modified version of V8
protocol, with lower count per electrode, different offsets, and different
feature bits in OTP data.

Fixes: aeaa881f9b17 ("Input: ALPS - set DualPoint flag for 74 03 28 devices")
Signed-off-by: Masaki Ota &lt;masaki.ota@jp.alps.com&gt;
Acked-by: Pali Rohar &lt;pali.rohar@gmail.com&gt;
Tested-by: Paul Donohue &lt;linux-kernel@PaulSD.com&gt;
Tested-by: Nick Fletcher &lt;nick.m.fletcher@gmail.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: mouse - use local variables consistently</title>
<updated>2017-01-22T07:52:22+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2017-01-22T07:44:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ad56814fccfba3fe3613fa4d9accff3816786f3c'/>
<id>urn:sha1:ad56814fccfba3fe3613fa4d9accff3816786f3c</id>
<content type='text'>
If a function declares a variable to access a structure element,
use it consistently.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: ALPS - clean up code for SS5 hardware</title>
<updated>2016-11-29T04:24:07+00:00</updated>
<author>
<name>Paul Donohue</name>
<email>linux-kernel@PaulSD.com</email>
</author>
<published>2016-11-29T04:16:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=23fce365c6a26e40d459ca97289dd18543fb6845'/>
<id>urn:sha1:23fce365c6a26e40d459ca97289dd18543fb6845</id>
<content type='text'>
The return value of alps_get_pkt_id_ss4_v2() should really be "enum
SS4_PACKET_ID", not "unsigned char".  Correct this.

Also, most of the Alps SS5 (SS4 v2) packet byte parsing code is implemented
using macros, but there are a few places where bytes are directly
manipulated in alps.c.  For consistency, migrate the rest of these to
macros.

Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Signed-off-by: Paul Donohue &lt;linux-kernel@PaulSD.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: ALPS - clean up TrackStick handling for SS5 hardware</title>
<updated>2016-11-29T04:24:06+00:00</updated>
<author>
<name>Paul Donohue</name>
<email>linux-kernel@PaulSD.com</email>
</author>
<published>2016-11-29T04:13:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7229c58c096ca08576cbcbf6669bfbdcae0b5d22'/>
<id>urn:sha1:7229c58c096ca08576cbcbf6669bfbdcae0b5d22</id>
<content type='text'>
For consistency and clarity, the input_report_*() functions should be
called by alps_process_packet_ss4_v2() instead of by alps_decode_ss4_v2().

Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Signed-off-by: Paul Donohue &lt;linux-kernel@PaulSD.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: ALPS - fix TrackStick support for SS5 hardware</title>
<updated>2016-11-29T04:24:05+00:00</updated>
<author>
<name>Paul Donohue</name>
<email>linux-kernel@PaulSD.com</email>
</author>
<published>2016-11-29T04:11:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=864db9295b06837d11a260e5dacf99a3fdf6bce2'/>
<id>urn:sha1:864db9295b06837d11a260e5dacf99a3fdf6bce2</id>
<content type='text'>
The current Alps SS5 (SS4 v2) code generates bogus TouchPad events when
TrackStick packets are processed.

This causes the xorg synaptics driver to print
"unable to find touch point 0" and
"BUG: triggered 'if (priv-&gt;num_active_touches &gt; priv-&gt;num_slots)'"
messages.  It also causes unexpected TouchPad button release and re-click
event sequences if the TrackStick is moved while holding a TouchPad
button.

This commit corrects the problem by adjusting alps_process_packet_ss4_v2()
so that it only sends TrackStick reports when processing TrackStick
packets.

Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Signed-off-by: Paul Donohue &lt;linux-kernel@PaulSD.com&gt;
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:01+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2016-10-04T18:43:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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:54+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2016-10-04T18:41:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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:51+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2016-10-04T18:40:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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:41+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2016-10-04T18:33:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/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>
</feed>
