<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/input/tablet/wacom_sys.c, branch tegra</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Input: wacom - remove pressure for touch devices</title>
<updated>2011-08-27T06:20:12+00:00</updated>
<author>
<name>Ping Cheng</name>
<email>pinglinux@gmail.com</email>
</author>
<published>2011-08-27T06:10:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cfb7d557242783bc3bfe77683ced20b4909258ec'/>
<id>cfb7d557242783bc3bfe77683ced20b4909258ec</id>
<content type='text'>
Touch devices do not report valid pressure or capacitance.

Signed-off-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Touch devices do not report valid pressure or capacitance.

Signed-off-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: wacom - report id 3 returns 4 bytes of data</title>
<updated>2011-08-16T07:21:52+00:00</updated>
<author>
<name>Ping Cheng</name>
<email>pinglinux@gmail.com</email>
</author>
<published>2011-08-16T07:17:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3b48c91cdf2d6827ce315b3b112310fa02198db0'/>
<id>3b48c91cdf2d6827ce315b3b112310fa02198db0</id>
<content type='text'>
Signed-off-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: wacom - add WAC_MSG_RETRIES define</title>
<updated>2011-08-16T07:21:48+00:00</updated>
<author>
<name>Ping Cheng</name>
<email>pinglinux@gmail.com</email>
</author>
<published>2011-08-16T07:17:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a417ea4432db7fd1c91c19b129a3e3d2367b7ce4'/>
<id>a417ea4432db7fd1c91c19b129a3e3d2367b7ce4</id>
<content type='text'>
Use WAC_MSG_RETRIES define instead of a numeric constant.

Signed-off-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use WAC_MSG_RETRIES define instead of a numeric constant.

Signed-off-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'next' into for-linus</title>
<updated>2011-03-19T06:38:50+00:00</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2011-03-19T06:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=97eb3f24352ec6632c2127b35d8087d2a809a9b9'/>
<id>97eb3f24352ec6632c2127b35d8087d2a809a9b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: wacom - support 2FGT in MT format</title>
<updated>2011-03-13T04:37:25+00:00</updated>
<author>
<name>Ping Cheng</name>
<email>pinglinux@gmail.com</email>
</author>
<published>2011-03-13T04:35:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=84eb5aa6ccb2a62c40722b8c5fb1338ea12155a3'/>
<id>84eb5aa6ccb2a62c40722b8c5fb1338ea12155a3</id>
<content type='text'>
Reviewed-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Reviewed-by: Chris Bagwell &lt;chris@cnpbagwell.com&gt;
Signed-off-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Reviewed-by: Chris Bagwell &lt;chris@cnpbagwell.com&gt;
Signed-off-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: wacom - fix error path in wacom_probe()</title>
<updated>2011-02-11T09:01:15+00:00</updated>
<author>
<name>Alexander Strakh</name>
<email>cromlehg@gmail.com</email>
</author>
<published>2011-02-11T08:44:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4b6d44344000ff3e62faf595e5f89fd8d9e52a94'/>
<id>4b6d44344000ff3e62faf595e5f89fd8d9e52a94</id>
<content type='text'>
If we fail to retrieve HID descriptor we need to free allocated URB so
jump to proper label to do that.

Signed-off-by: Alexander Strakh &lt;strakh@ispras.ru&gt;
Acked-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we fail to retrieve HID descriptor we need to free allocated URB so
jump to proper label to do that.

Signed-off-by: Alexander Strakh &lt;strakh@ispras.ru&gt;
Acked-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: wacom - properly enable runtime PM</title>
<updated>2010-10-18T04:20:46+00:00</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-10-10T21:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=62ecae09a01df507ef52e1bc90fc233a1978c60a'/>
<id>62ecae09a01df507ef52e1bc90fc233a1978c60a</id>
<content type='text'>
We need to always call usb_autopm_put_interface() in wacom_open(),
not only when initialization fails, otherwise the device will be
marked as PM-busy and will never be put in suspended state.

Based on patch by Oliver Neukum.

Acked-by: Oliver Neukum &lt;oneukum@suse.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to always call usb_autopm_put_interface() in wacom_open(),
not only when initialization fails, otherwise the device will be
marked as PM-busy and will never be put in suspended state.

Based on patch by Oliver Neukum.

Acked-by: Oliver Neukum &lt;oneukum@suse.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' into next</title>
<updated>2010-10-18T04:20:19+00:00</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-10-18T04:20:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3136baf8d09458bb04332b81494fd13ad90fe94a'/>
<id>3136baf8d09458bb04332b81494fd13ad90fe94a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: wacom - fix runtime PM related deadlock</title>
<updated>2010-10-05T05:36:41+00:00</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-10-05T04:46:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f6cd378372bff06093d72f978c0150eeed3ea201'/>
<id>f6cd378372bff06093d72f978c0150eeed3ea201</id>
<content type='text'>
When runtime PM is enabled by default for input devices, X hangs in
wacom open:
[&lt;ffffffff814a00ea&gt;] mutex_lock+0x1a/0x40
[&lt;ffffffffa02bc94b&gt;] wacom_resume+0x3b/0x90 [wacom]
[&lt;ffffffff81327a32&gt;] usb_resume_interface+0xd2/0x190
[&lt;ffffffff81327b5d&gt;] usb_resume_both+0x6d/0x110
[&lt;ffffffff81327c24&gt;] usb_runtime_resume+0x24/0x40
[&lt;ffffffff8130a2cf&gt;] __pm_runtime_resume+0x26f/0x450
[&lt;ffffffff8130a23a&gt;] __pm_runtime_resume+0x1da/0x450
[&lt;ffffffff8130a53a&gt;] pm_runtime_resume+0x2a/0x50
[&lt;ffffffff81328176&gt;] usb_autopm_get_interface+0x26/0x60
[&lt;ffffffffa02bc626&gt;] wacom_open+0x36/0x90 [wacom]

wacom_open() takes wacom-&gt;lock and calls usb_autopm_get_interface(),
which in turn calls wacom_resume() which tries to acquire the lock
again.

The fix is to call usb_autopm_get_interface() first, before we take
the lock.

Since we do not do usb_autopm_put_interface() until wacom_close()
is called runtime PM is effectively disabled for the driver, however
changing it now would risk regressions so the complete fix will
have to wait till the next merge window.

Reported-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Acked-by: Oliver Neukum &lt;oneukum@suse.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When runtime PM is enabled by default for input devices, X hangs in
wacom open:
[&lt;ffffffff814a00ea&gt;] mutex_lock+0x1a/0x40
[&lt;ffffffffa02bc94b&gt;] wacom_resume+0x3b/0x90 [wacom]
[&lt;ffffffff81327a32&gt;] usb_resume_interface+0xd2/0x190
[&lt;ffffffff81327b5d&gt;] usb_resume_both+0x6d/0x110
[&lt;ffffffff81327c24&gt;] usb_runtime_resume+0x24/0x40
[&lt;ffffffff8130a2cf&gt;] __pm_runtime_resume+0x26f/0x450
[&lt;ffffffff8130a23a&gt;] __pm_runtime_resume+0x1da/0x450
[&lt;ffffffff8130a53a&gt;] pm_runtime_resume+0x2a/0x50
[&lt;ffffffff81328176&gt;] usb_autopm_get_interface+0x26/0x60
[&lt;ffffffffa02bc626&gt;] wacom_open+0x36/0x90 [wacom]

wacom_open() takes wacom-&gt;lock and calls usb_autopm_get_interface(),
which in turn calls wacom_resume() which tries to acquire the lock
again.

The fix is to call usb_autopm_get_interface() first, before we take
the lock.

Since we do not do usb_autopm_put_interface() until wacom_close()
is called runtime PM is effectively disabled for the driver, however
changing it now would risk regressions so the complete fix will
have to wait till the next merge window.

Reported-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Acked-by: Oliver Neukum &lt;oneukum@suse.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Input: wacom - request tablet data for Bamboo Pens</title>
<updated>2010-09-12T07:13:23+00:00</updated>
<author>
<name>Chris Bagwell</name>
<email>chris@cnpbagwell.com</email>
</author>
<published>2010-09-12T07:08:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3dc9f40de4dddf9147b80cf15be633189a2b70f4'/>
<id>3dc9f40de4dddf9147b80cf15be633189a2b70f4</id>
<content type='text'>
Bamboo P&amp;T need to use second form of usb_set_report() to
ask to report tablet data.

With previous addition of Bamboo Touch, BTN_TOOL_TRIPLETAP is now used
for both TABLETPC2FG and BAMBOO_PT types.  So reduced check to
match type=TABLETPC2FG.

This change shows redundant check for !TABLETPC2FG in else statement.

Signed-off-by: Chris Bagwell &lt;chris@cnpbagwell.com&gt;
Acked-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bamboo P&amp;T need to use second form of usb_set_report() to
ask to report tablet data.

With previous addition of Bamboo Touch, BTN_TOOL_TRIPLETAP is now used
for both TABLETPC2FG and BAMBOO_PT types.  So reduced check to
match type=TABLETPC2FG.

This change shows redundant check for !TABLETPC2FG in else statement.

Signed-off-by: Chris Bagwell &lt;chris@cnpbagwell.com&gt;
Acked-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</pre>
</div>
</content>
</entry>
</feed>
