<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/mouse/psmouse-base.c, branch v4.7</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.7</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.7'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-03-18T00:04:54Z</updated>
<entry>
<title>Input: byd - enable absolute mode</title>
<updated>2016-03-18T00:04:54Z</updated>
<author>
<name>Richard Pospesel</name>
<email>pospeselr@gmail.com</email>
</author>
<published>2016-03-14T16:41:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2d5f5611dd0de52e9a52b56391a7049a52184e72'/>
<id>urn:sha1:2d5f5611dd0de52e9a52b56391a7049a52184e72</id>
<content type='text'>
The Windows driver's settings dialog contains a visualization of the
regions for the hardware edge scrolling capability, which uses a
temporarily-enabled limited-resolution absolute mode.

This patch enables this during normal operation, and combines the
absolute packets with the existing relative packets to provide
accurate absolute position and touch reporting.

It also adds documentation for all known gesture packets and
initialization commands.

Reviewed-by: Chris Diamand &lt;chris@diamand.org&gt;
Signed-off-by: Richard Pospesel &lt;pospeselr@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: byd - add BYD PS/2 touchpad driver</title>
<updated>2016-01-28T01:27:25Z</updated>
<author>
<name>Chris Diamand</name>
<email>chris@diamand.org</email>
</author>
<published>2016-01-28T01:04:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=98ee377144935857d8ad5d7d70cdab1da4ede32e'/>
<id>urn:sha1:98ee377144935857d8ad5d7d70cdab1da4ede32e</id>
<content type='text'>
Driver for the BYD BTP10463 touchpad, found in PC Specialist `Lafite'
laptops. This patch sends the magic command sequence which causes the
touchpad to stream intellimouse-style packets.

Gestures are detected inside the touchpad, and exposed as special
values in the Z component of each packet - absolute coordinates are
not supported, even in the Windows driver. At present, this supports
two-finger vertical and horizontal scrolling, and provides the
framework to expose the other gestures it can recognize.

Signed-off-by: Chris Diamand &lt;chris@diamand.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</content>
</entry>
<entry>
<title>Input: psmouse - rename ps2pp_init() to ps2pp_detect()</title>
<updated>2015-12-17T23:24:37Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2015-12-02T19:02:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=190e2031e2db542094659cfa55bfc28545458df5'/>
<id>urn:sha1:190e2031e2db542094659cfa55bfc28545458df5</id>
<content type='text'>
This makes Logitech PS2++ protocol implementation consistent with
the naming in other protocols. Also mark the stub as "static inline"

Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Tested-by: Marcin Sochacki &lt;msochacki+kernel@gmail.com&gt;
Tested-by: Till &lt;till2.schaefer@uni-dortmund.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - limit protocols that we try on passthrough ports</title>
<updated>2015-12-17T23:24:32Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2015-11-24T20:58:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ec6184b1c717b8768122e25fe6d312f609cc1bb4'/>
<id>urn:sha1:ec6184b1c717b8768122e25fe6d312f609cc1bb4</id>
<content type='text'>
PS/2 protocol is slow, and using it with pass-through port (where we
encapsulate PS/2 into PS/2) is slower yet so it takes quite a bit of time
to do full protocol discovery for device attached to a pass-through port.
However, so far we have not see anything but trackpoints or basic PS/2
mice on pass-through ports, so let's limit protocols that we probe there
to Trackpoint, IntelliMouse Explorer, IntelliMouse, and bare PS/2 protocol,
and avoid other extended protocols, such as Synaptics, ALPS, etc.

Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Tested-by: Marcin Sochacki &lt;msochacki+kernel@gmail.com&gt;
Tested-by: Till &lt;till2.schaefer@uni-dortmund.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - factor out common protocol probing code</title>
<updated>2015-12-17T23:24:21Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2015-11-28T05:17:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c378b5119eb0ea25bfd3348a06b51fca654d9903'/>
<id>urn:sha1:c378b5119eb0ea25bfd3348a06b51fca654d9903</id>
<content type='text'>
In preparation of limiting protocols that we try on pass-through ports,
let's rework initialization code and factor common code into
psmouse_try_protocol() that accepts protocol type (instead of detec()
function pointer) and can, for most protocols, perform both detection and
initialization.

Note that this removes option of forcing Lifebook protocol on devices that
are not recognized by lifebook_detect() as having the hardware, but I do
not recall anyone using this option.

Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Tested-by: Marcin Sochacki &lt;msochacki+kernel@gmail.com&gt;
Tested-by: Till &lt;till2.schaefer@uni-dortmund.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - move protocol descriptions around</title>
<updated>2015-12-17T23:24:16Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2015-11-28T05:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5fa75cfe23633edf2fd26abe4a08f22ced4415d1'/>
<id>urn:sha1:5fa75cfe23633edf2fd26abe4a08f22ced4415d1</id>
<content type='text'>
We move protocol descriptions and psmouse_find_by_type() and
pmouse_find_by_name() so that we can use them without forward declarations
in the subsequent patches.

Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Tested-by: Marcin Sochacki &lt;msochacki+kernel@gmail.com&gt;
Tested-by: Till &lt;till2.schaefer@uni-dortmund.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - clean up Cypress probe</title>
<updated>2015-12-17T23:24:04Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2015-12-03T00:50:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=24a06f3e3ab640490f49c8e8812d9550d6f15e92'/>
<id>urn:sha1:24a06f3e3ab640490f49c8e8812d9550d6f15e92</id>
<content type='text'>
When Cypress protocol support is disabled cypress_init() is a stub that
always returns -ENOSYS, so there is not point in testing for
CONFIG_MOUSE_PS2_CYPRESS after we decided that we are dealing with a
Cypress device. Also, we should only be calling cypress_detect() when
set_properties argument is "true", like with other protocols.

There is a slight change in behavior to make follow-up patches more
uniform: when we detect Cypress but its initialization fails, instead of
immediately returning PSMOUSE_PS2 protocol we now continue trying
IntelliMouse [Explorer]. Given that Cypress devices only have issue with
Sentelic probes probing Imtellimouse should be safe.

Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Tested-by: Marcin Sochacki &lt;msochacki+kernel@gmail.com&gt;
Tested-by: Till &lt;till2.schaefer@uni-dortmund.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - rearrange Focaltech init code</title>
<updated>2015-12-17T23:23:54Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2015-11-28T04:52:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2b6f39e9ee7b6a9fa98f6047b05733053876fdbe'/>
<id>urn:sha1:2b6f39e9ee7b6a9fa98f6047b05733053876fdbe</id>
<content type='text'>
The fact that we were calling focaltech_init() even when Focaltech support
is disabled was confusing. Rearrange the code so that if support is
disabled we continue to fall through the rest of protocol probing code
until we get to full reset that Focaltech devices need to work properly.

Also, replace focaltech_init() with a stub now that it is only called when
protocol is enabled.

Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Tested-by: Marcin Sochacki &lt;msochacki+kernel@gmail.com&gt;
Tested-by: Till &lt;till2.schaefer@uni-dortmund.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - fix comment style</title>
<updated>2015-12-17T23:23:43Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2015-11-28T04:47:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ad5307715b2d0afed511b2cad9aed530bbbb236b'/>
<id>urn:sha1:ad5307715b2d0afed511b2cad9aed530bbbb236b</id>
<content type='text'>
The module was using non-standard comment style with comment blocks often
starting at the very beginning of a line instead of being aligned with the
code. Let's switch to standard formatting.

Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Tested-by: Marcin Sochacki &lt;msochacki+kernel@gmail.com&gt;
Tested-by: Till &lt;till2.schaefer@uni-dortmund.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - use switch statement in psmouse_process_byte()</title>
<updated>2015-12-17T23:23:34Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2015-11-28T04:29:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0a88d60784440da1ef8f72156cb9547aeebf56cf'/>
<id>urn:sha1:0a88d60784440da1ef8f72156cb9547aeebf56cf</id>
<content type='text'>
Instead of a series mostly exclusive "if" statements testing protocol type
of the mouse let's use "switch" statement.

Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Pali Rohár &lt;pali.rohar@gmail.com&gt;
Tested-by: Marcin Sochacki &lt;msochacki+kernel@gmail.com&gt;
Tested-by: Till &lt;till2.schaefer@uni-dortmund.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
</content>
</entry>
</feed>
