<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/hid, branch v4.0</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.0</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-03-17T19:59:55Z</updated>
<entry>
<title>HID: wacom: check for wacom-&gt;shared before following the pointer</title>
<updated>2015-03-17T19:59:55Z</updated>
<author>
<name>Benjamin Tissoires</name>
<email>benjamin.tissoires@redhat.com</email>
</author>
<published>2015-03-05T22:36:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e2c7d8877e5caa2356b5bc8207535e83b126f653'/>
<id>urn:sha1:e2c7d8877e5caa2356b5bc8207535e83b126f653</id>
<content type='text'>
486b908 (HID: wacom: do not send pen events before touch is up/forced out)
introduces a kernel oops when plugging a tablet without touch.

wacom-&gt;shared is null for these devices so this leads to a null pointer
exception.

Change the condition to make it clear that what we need is wacom-&gt;shared
not NULL.

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: tivo: enable all buttons on the TiVo Slide Pro remote</title>
<updated>2015-03-15T14:04:27Z</updated>
<author>
<name>Forest Wilkinson</name>
<email>web11.forest@tibit.com</email>
</author>
<published>2015-03-13T06:58:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9b028649b9d0ae72090904629dad06b022f4ddc7'/>
<id>urn:sha1:9b028649b9d0ae72090904629dad06b022f4ddc7</id>
<content type='text'>
The linux kernel has supported the TiVo Slide remote control for some time, but
does not recognize the USB ID of the newer Slide Pro. This patch adds the
missing data structures so the newer remote will be recognized by the driver,
thereby allowing the TiVo, LiveTV, and Thumbs Up/Down buttons to be
mapped with a hwdb file.

Signed-off-by: Forest Wilkinson &lt;web11.forest@tibit.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: add ALWAYS_POLL quirk for a Logitech 0xc007</title>
<updated>2015-03-11T16:12:37Z</updated>
<author>
<name>oliver@neukum.org</name>
<email>oliver@neukum.org</email>
</author>
<published>2015-03-10T15:36:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a415457733b5fa40bc996bf1f4df471cd98d3608'/>
<id>urn:sha1:a415457733b5fa40bc996bf1f4df471cd98d3608</id>
<content type='text'>
This device disconnects every 60s without X

Signed-off-by: Oliver Neukum &lt;oliver@neukum.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: wacom: rely on actual touch down count to decide touch_down</title>
<updated>2015-03-02T23:27:10Z</updated>
<author>
<name>Ping Cheng</name>
<email>pinglinux@gmail.com</email>
</author>
<published>2015-02-20T22:27:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e0d41fd435ad71b86380f27195aa117400439f37'/>
<id>urn:sha1:e0d41fd435ad71b86380f27195aa117400439f37</id>
<content type='text'>
touch_down is a flag to indicate if there are touches on tablet
or not. Since one set of touch events may be posted over more
than one data packet/touch frame, and pen may come in proximity
while touch events are partially sent, counting all touch events
for the set reflects the actual status of touch_down.

Signed-off-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: wacom: do not send pen events before touch is up/forced out</title>
<updated>2015-03-02T23:27:09Z</updated>
<author>
<name>Ping Cheng</name>
<email>pinglinux@gmail.com</email>
</author>
<published>2015-02-20T22:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=486b908d4412510d66ee348ba765de8d93441345'/>
<id>urn:sha1:486b908d4412510d66ee348ba765de8d93441345</id>
<content type='text'>
If pen comes in proximity while touch is down, we force touch up
before sending pen events. Otherwise, there can be unfinished
touch events compete with pen events. This idea has been fully
implemented for Tablet PCs. But other tablets that support both
pen and touch are not fully considered.

Signed-off-by: Ping Cheng &lt;pingc@wacom.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: microsoft: Add ID for NE7K wireless keyboard</title>
<updated>2015-02-23T14:28:40Z</updated>
<author>
<name>Jakub Sitnicki</name>
<email>jsitnicki@gmail.com</email>
</author>
<published>2015-02-21T19:51:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ef567cf9ddb682dbfa840bf4a2600931299f9555'/>
<id>urn:sha1:ef567cf9ddb682dbfa840bf4a2600931299f9555</id>
<content type='text'>
Microsoft Natural Wireless Ergonomic Keyboard 7000 has special My
Favorites 1..5 keys which are handled through a vendor-defined usage
page (0xff05).

Apply MS_ERGONOMY quirks handling to USB PID 0x071d (Microsoft Microsoft
2.4GHz Transceiver V1.0) so that the My Favorites 1..5 keys are reported
as KEY_F14..18 events.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=52841
Signed-off-by: Jakub Sitnicki &lt;jsitnicki@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: i2c-hid: Limit reads to wMaxInputLength bytes for input events</title>
<updated>2015-02-23T14:10:04Z</updated>
<author>
<name>Seth Forshee</name>
<email>seth.forshee@canonical.com</email>
</author>
<published>2015-02-20T17:45:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6d00f37e49d95e640a3937a4a1ae07dbe92a10cb'/>
<id>urn:sha1:6d00f37e49d95e640a3937a4a1ae07dbe92a10cb</id>
<content type='text'>
d1c7e29e8d27 (HID: i2c-hid: prevent buffer overflow in early IRQ)
changed hid_get_input() to read ihid-&gt;bufsize bytes, which can be
more than wMaxInputLength. This is the case with the Dell XPS 13
9343, and it is causing events to be missed. In some cases the
missed events are releases, which can cause the cursor to jump or
freeze, among other problems. Limit the number of bytes read to
min(wMaxInputLength, ihid-&gt;bufsize) to prevent such problems.

Fixes: d1c7e29e8d27 "HID: i2c-hid: prevent buffer overflow in early IRQ"
Signed-off-by: Seth Forshee &lt;seth.forshee@canonical.com&gt;
Reviewed-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: sony: fix uninitialized per-controller spinlock</title>
<updated>2015-02-23T12:01:15Z</updated>
<author>
<name>Frank Praznik</name>
<email>frank.praznik@oh.rr.com</email>
</author>
<published>2015-02-23T01:42:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b94993f6fb3452628bb4678ea86df33ffbfdde8d'/>
<id>urn:sha1:b94993f6fb3452628bb4678ea86df33ffbfdde8d</id>
<content type='text'>
Per-controller spinlock needs to be properly initialized during device probe.

[jkosina@suse.cz: massage changelog]
[jkosina@suse.cz: drop hunk that has already been applied by previous
 patch]
Signed-off-by: Frank Praznik &lt;frank.praznik@oh.rr.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: sony: initialize sony_dev_list_lock properly</title>
<updated>2015-02-23T10:15:44Z</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2015-02-23T10:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8b402c929d21a18e9a228d4ad6f0a076577cd63c'/>
<id>urn:sha1:8b402c929d21a18e9a228d4ad6f0a076577cd63c</id>
<content type='text'>
sony_dev_list_lock spinlock (which was introduced in d2d782fccee ("HID: sony:
Prevent duplicate controller connections") is not being initialized properly.
Fix that.

Reported-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: sony: Fix a WARNING shown when rmmod-ing the driver</title>
<updated>2015-02-18T20:18:22Z</updated>
<author>
<name>Antonio Ospite</name>
<email>ao2@ao2.it</email>
</author>
<published>2015-02-16T21:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6c40065fc107cae29ab965f162406fcfd1525f1d'/>
<id>urn:sha1:6c40065fc107cae29ab965f162406fcfd1525f1d</id>
<content type='text'>
ida_destroy() must be called _after_ all the devices have been
unregistered; otherwise, when calling "rmmod hid_sony" with devices
still plugged in, the following warning would show up because of calls
to ida_simple_remove() on a destroyed ID allocator:

------------[ cut here ]------------
WARNING: CPU: 0 PID: 5509 at lib/idr.c:1052 ida_simple_remove+0x26/0x50()
ida_remove called for id=0 which is not allocated.
Modules linked in: ...
CPU: 0 PID: 5509 Comm: rmmod Not tainted 3.19.0-rc6-ao2 #35
Hardware name: System manufacturer System Product Name/M2N-MX SE, BIOS 0501    03/20/2008
 0000000000000000 ffffffff8176320d ffffffff815b3a88 ffff880036f7fdd8
 ffffffff8106ce01 0000000000000000 ffffffffa07658e0 0000000000000246
 ffff88005077d8b8 ffff88005077d8d0 ffffffff8106ce7a ffffffff81763260
Call Trace:
 [&lt;ffffffff815b3a88&gt;] ? dump_stack+0x40/0x50
 [&lt;ffffffff8106ce01&gt;] ? warn_slowpath_common+0x81/0xb0
 [&lt;ffffffff8106ce7a&gt;] ? warn_slowpath_fmt+0x4a/0x50
 [&lt;ffffffff812ccb86&gt;] ? ida_simple_remove+0x26/0x50
 [&lt;ffffffffa0762dc8&gt;] ? sony_remove+0x58/0xe0 [hid_sony]
 [&lt;ffffffffa00fff15&gt;] ? hid_device_remove+0x65/0xd0 [hid]
 [&lt;ffffffff8140425e&gt;] ? __device_release_driver+0x7e/0x100
 [&lt;ffffffff81404c70&gt;] ? driver_detach+0xa0/0xb0
 [&lt;ffffffff81403ee5&gt;] ? bus_remove_driver+0x55/0xe0
 [&lt;ffffffffa01000ff&gt;] ? hid_unregister_driver+0x2f/0xa0 [hid]
 [&lt;ffffffff810e45bf&gt;] ? SyS_delete_module+0x1bf/0x270
 [&lt;ffffffff81014089&gt;] ? do_notify_resume+0x69/0xa0
 [&lt;ffffffff815b952d&gt;] ? system_call_fastpath+0x16/0x1b
---[ end trace bc794b3d22c30ede ]---

Signed-off-by: Antonio Ospite &lt;ao2@ao2.it&gt;
Acked-by: Frank Praznik &lt;frank.praznik@oh.rr.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
