<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/mouse/psmouse-base.c, branch v2.6.35</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=v2.6.35</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.35'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2010-05-19T18:31:51Z</updated>
<entry>
<title>Input: psmouse - small formatting changes to better follow coding style</title>
<updated>2010-05-19T18:31:51Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-05-19T17:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a62f0d27b4196bad5e900d766b285feb7069cd16'/>
<id>urn:sha1:a62f0d27b4196bad5e900d766b285feb7069cd16</id>
<content type='text'>
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - reset all types of mice before reconnecting</title>
<updated>2010-05-13T07:43:26Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-05-13T07:42:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ef110b24e28f36620f63dab94708a17c7e267358'/>
<id>urn:sha1:ef110b24e28f36620f63dab94708a17c7e267358</id>
<content type='text'>
Synaptics hardware requires resetting device after suspend to ram
in order for the device to be operational. The reset lives in
synaptics-specific reconnect handler, but it is not being invoked
if synaptics support is disabled and the device is handled as a
standard PS/2 device (bare or IntelliMouse protocol).

Let's add reset into generic reconnect handler as well.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - ignore parity error for basic protocols</title>
<updated>2010-04-19T07:50:42Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-04-19T07:42:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6b9d363c49d22395d0cf8729c5963f83cfbb6d69'/>
<id>urn:sha1:6b9d363c49d22395d0cf8729c5963f83cfbb6d69</id>
<content type='text'>
Observing behavior of the other OS it appears that parity errors reported
by the keyboard controller are being ignored and the data is processed
as usual. Let's do the same for standard PS/2 protocols (bare, Intellimouse
and Intellimouse Explorer) to provide better compatibility. Thsi should fix
teh following bug:

	https://bugzilla.kernel.org/show_bug.cgi?id=6105

Thanks for Damjan Jovanovic for locating the source of issue and ideas
for the patch.

Tested-by: Damjan Jovanovic &lt;damjan.jov@gmail.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - make sure we don't schedule reconnects after cleanup</title>
<updated>2010-02-08T07:53:41Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-02-08T07:10:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a9f0c381973097462d9688dc26fe66f4f020502e'/>
<id>urn:sha1:a9f0c381973097462d9688dc26fe66f4f020502e</id>
<content type='text'>
Set state of the device as "initializing" during and after cleanup
to ensure that unsolicited data from the device is not passed on.
We especially want to avoid processing new device announcements
"0xaa 0x00" that can come up before we perform reconnect operation.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: pmouse - move Sentelic probe down the list</title>
<updated>2010-01-13T08:28:10Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@sentelic.com</email>
</author>
<published>2010-01-13T08:16:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4a18b3ab6ed537b055e3fcfca64ab870b4f9acf0'/>
<id>urn:sha1:4a18b3ab6ed537b055e3fcfca64ab870b4f9acf0</id>
<content type='text'>
Sentelic probes confuse IBM trackpoints so they stop responding to
TP_READ_ID command. See:

	http://bugzilla.kernel.org/show_bug.cgi?id=14970

Let's move FSP detection lower so it is probed after trackpoint and
others, just before we strat probing for Intellimouse Explorer.

Signed-off-by: Tai-hwa Liang &lt;avatar@sentelic.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - fix Synaptics detection when protocol is disabled</title>
<updated>2010-01-07T09:53:30Z</updated>
<author>
<name>Daniel Drake</name>
<email>dsd@laptop.org</email>
</author>
<published>2010-01-07T09:52:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e4e6efd2df4b5754bd519b516207eb723d1f17df'/>
<id>urn:sha1:e4e6efd2df4b5754bd519b516207eb723d1f17df</id>
<content type='text'>
For configurations where Synaptics hardware is present but the Synaptics
extensions support is not compiled in, the mouse is reprobed and a new
device is allocated on every suspend/resume.

During probe, psmouse_switch_protocol() calls psmouse_extensions() with
set_properties=1. This calls the dummy synaptics_init() which returns an
error code, instructing us not to use the synaptics extensions.

During resume, psmouse_reconnect() calls psmouse_extensions() with
set_properties=0, in which case call to synaptics_init() is bypassed and
PSMOUSE_SYNAPTICS is returned. Since the result is different from previous
attempt psmouse_reconnect() fails and full re-probe happens.

Fix this by tweaking the set_properties=0 codepath in psmouse_extensions()
to be more careful about offering PSMOUSE_SYNAPTICS extensions.

Signed-off-by: Daniel Drake &lt;dsd@laptop.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: serio - fix potential deadlock when unbinding drivers</title>
<updated>2010-01-06T08:14:32Z</updated>
<author>
<name>Eric W. Biederman</name>
<email>ebiederm@xmission.com</email>
</author>
<published>2010-01-06T01:56:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=59b015133cd0034f5904a76969d73476380aac46'/>
<id>urn:sha1:59b015133cd0034f5904a76969d73476380aac46</id>
<content type='text'>
sysfs_remove_group() waits for sysfs attributes to be removed, therefore
we do not need to worry about driver-specific attributes being accessed
after driver has been detached from the device. In fact, attempts to take
serio-&gt;drv_mutex in attribute methods may lead to the following deadlock:

                                          sysfs_read_file()
                                            fill_read_buffer()
                                              sysfs_get_active_two()
                                                psmouse_attr_show_helper()
                                                  serio_pin_driver()
serio_disconnect_driver()
  mutex_lock(&amp;serio-&gt;drv_mutex);
                                &lt;--------&gt;        mutex_lock(&amp;serio_drv_mutex);
    psmouse_disconnect()
      sysfs_remove_group(... psmouse_attr_group);
        ....
        sysfs_deactivate();
          wait_for_completion();

Fix this by removing calls to serio_[un]pin_driver() and functions themselves
and using driver-private mutexes to serialize access to attribute's set()
methods that may change device state.

Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: speed up suspend/shutdown for PS/2 mice and keyboards</title>
<updated>2009-12-25T05:42:57Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2009-12-25T05:40:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4a299bf591bc5bef3bde8316e603b9eaec5a7696'/>
<id>urn:sha1:4a299bf591bc5bef3bde8316e603b9eaec5a7696</id>
<content type='text'>
Instead of doing full-blown reset while suspending or shutting down
the box use lighter form of reset that should take less time.

Tested-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Tested-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - do not carry DMI data around</title>
<updated>2009-12-04T07:25:36Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2009-12-04T07:21:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7705d548cbe33f18ea7713b9a07aa11047aaeca4'/>
<id>urn:sha1:7705d548cbe33f18ea7713b9a07aa11047aaeca4</id>
<content type='text'>
DMI tables use considerable amount of memory. Mark them as __initconst
so they will be discarded once module is loaded.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Merge commit 'v2.6.32' into next</title>
<updated>2009-12-03T07:38:13Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2009-12-03T07:38:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=467832032cc07626880363efa8625719c16c04eb'/>
<id>urn:sha1:467832032cc07626880363efa8625719c16c04eb</id>
<content type='text'>
</content>
</entry>
</feed>
