<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/hid, branch linux-2.6.35.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.35.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.35.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2011-08-01T20:54:46+00:00</updated>
<entry>
<title>HID: add MacBookAir 3,1 and 3,2 support</title>
<updated>2011-08-01T20:54:46+00:00</updated>
<author>
<name>Edgar (gimli) Hucek</name>
<email>gimli@dark-green.com</email>
</author>
<published>2010-11-03T14:36:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7b4fd0fff48eb5cd76bcf05e181e5f5187e77722'/>
<id>urn:sha1:7b4fd0fff48eb5cd76bcf05e181e5f5187e77722</id>
<content type='text'>
commit 99b9f758bbc904f22faffcf4d83205f4a5e7bc0c upstream.

This patch add support for the MacBookAir3,1 and MacBookAir3,2 to the hid
driver.

Signed-off-by: Edgar (gimli) Hucek &lt;gimli@dark-green.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>HID: Fix for problems with eGalax/DWAV multi-touch-screen</title>
<updated>2010-12-14T22:40:08+00:00</updated>
<author>
<name>Philipp Merkel</name>
<email>mail@philmerk.de</email>
</author>
<published>2010-10-01T13:38:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4164f74d5f4ab153965b797920e87cdc3991febe'/>
<id>urn:sha1:4164f74d5f4ab153965b797920e87cdc3991febe</id>
<content type='text'>
commit f51661105c3c8a0afcd69f995a4f4a10e53da153 upstream.

This patch fixes three problems with the eGalax/DWAV multi-touch
screen found in the Eee PC T101MT:

1) While there is a dedicated multitouch driver for the screen
   (hid-egalax.c), the MULTI_INPUT quirk is also applied, preventing
   the hid-egalax driver from working. This patch removes the quirk
   so the hid-egalax driver can handle the device correctly.
2) The x and y coordinates sent by the screen in multi-touch mode are
   shifted by three bits from the events sent in single-touch mode, thus
   the coordinates are out of range, leading to the pointer being stuck
   in the bottom-right corner if no additional calibration is applied
   (e.g. in the X evdev driver). This patch shifts the coordinates back.
   This does not decrease accuracy as the last three bits of the "wrong"
   coordinates are always 0.
3) Only multi-touch pressure events are sent, single touch emulation is
   missing pressure information. This patch adds single-touch
   ABS_PRESSURE events.

Signed-off-by: Philipp Merkel &lt;mail@philmerk.de&gt;
Acked-by: Stéphane Chatty &lt;chatty@enac.fr&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;

</content>
</entry>
<entry>
<title>HID: hidraw, fix a NULL pointer dereference in hidraw_write</title>
<updated>2010-10-29T04:51:08+00:00</updated>
<author>
<name>Antonio Ospite</name>
<email>ospite@studenti.unina.it</email>
</author>
<published>2010-10-05T15:20:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=cdcaefbcdc06c945dec978a9015f25f86e622844'/>
<id>urn:sha1:cdcaefbcdc06c945dec978a9015f25f86e622844</id>
<content type='text'>
commit e42dee9a99a3ecd32b5c027e8f7411fb5bc11eb6 upstream.

BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
IP: [&lt;ffffffffa0f0a625&gt;] hidraw_write+0x3b/0x116 [hid]
[...]

This is reproducible by disconnecting the device while userspace writes
to dev node in a loop and doesn't check return values in order to exit
the loop.

Signed-off-by: Antonio Ospite &lt;ospite@studenti.unina.it&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>HID: hidraw, fix a NULL pointer dereference in hidraw_ioctl</title>
<updated>2010-10-29T04:51:07+00:00</updated>
<author>
<name>Antonio Ospite</name>
<email>ospite@studenti.unina.it</email>
</author>
<published>2010-10-05T15:20:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=dc7237c6b7b529c5da2776cbb8b68cc74d1555c3'/>
<id>urn:sha1:dc7237c6b7b529c5da2776cbb8b68cc74d1555c3</id>
<content type='text'>
commit d20d5ffab92f00188f360c44c791a5ffb988247c upstream.

BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
IP: [&lt;ffffffffa02c66b4&gt;] hidraw_ioctl+0xfc/0x32c [hid]
[...]

This is reproducible by disconnecting the device while userspace does
ioctl in a loop and doesn't check return values in order to exit the
loop.

Signed-off-by: Antonio Ospite &lt;ospite@studenti.unina.it&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>HID: Set Report ID properly for Output reports on the Control endpoint.</title>
<updated>2010-09-20T20:36:31+00:00</updated>
<author>
<name>Alan Ott</name>
<email>alan@signal11.us</email>
</author>
<published>2010-08-17T04:44:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=25de680b83ee668dd4d7c3d530217cb70cf58833'/>
<id>urn:sha1:25de680b83ee668dd4d7c3d530217cb70cf58833</id>
<content type='text'>
commit c29771c2d8ceb907ed45eb8c7fc0450308140aca upstream.

When I made commit 29129a98e6fc89 ("HID: Send Report ID when numbered
reports are sent over the control endpoint"), I didn't account for *buf
not being the report ID anymore, as buf is incremented.

Signed-off-by: Alan Ott &lt;alan@signal11.us&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>HID: Send Report ID when numbered reports are sent over the control endpoint.</title>
<updated>2010-07-11T21:13:15+00:00</updated>
<author>
<name>Alan Ott</name>
<email>alan@signal11.us</email>
</author>
<published>2010-06-30T13:50:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=29129a98e6fc892d63bf7b8efcb458a258fe1683'/>
<id>urn:sha1:29129a98e6fc892d63bf7b8efcb458a258fe1683</id>
<content type='text'>
The Report ID wasn't sent as part of the payload for reports which were sent
over the control endpoint. This is required by section 8.1 of the HID spec.

Signed-off-by: Alan Ott &lt;alan@signal11.us&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: Enable HID_QUIRK_MULTI_INPUT for Retro Adaptor</title>
<updated>2010-07-11T20:11:42+00:00</updated>
<author>
<name>Peter Edwards</name>
<email>samwise@bagshot-row.org</email>
</author>
<published>2010-07-11T16:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1f45e3249cd4720ab72c3bea82c27162a2d8b577'/>
<id>urn:sha1:1f45e3249cd4720ab72c3bea82c27162a2d8b577</id>
<content type='text'>
Patch for linux-2.6.35-rc4 mainline kernel to enable Paul Qureshi's
Retro Adapter [http://keio.dk/retroadapter.html], an open source USB
device which allows controllers and joysticks from classic computers
and consoles to work on modern PCs, to appear as two separate devices
under Linux.
Signed-off-by: Peter Edwards &lt;samwise@bagshot-row.org&gt;
Acked-by: Paul Qureshi &lt;retro@world3.net&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: add support for CH Eclipse yoke</title>
<updated>2010-07-11T19:52:06+00:00</updated>
<author>
<name>Jonathan Rockway</name>
<email>jon@jrock.us</email>
</author>
<published>2010-07-03T07:59:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c8e846461184c130fa4db90f1d218e1dffb97612'/>
<id>urn:sha1:c8e846461184c130fa4db90f1d218e1dffb97612</id>
<content type='text'>
This USB flight yoke needs the NOGET quirk, like most of CH's other
products. This patch adds that.

Signed-off-by: Jonathan Rockway &lt;jon@jrock.us&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: eliminate a double lock in debug code</title>
<updated>2010-06-21T11:41:54+00:00</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2010-06-20T11:24:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ca9fe1588427f246ad4c389b0170b29a432804b6'/>
<id>urn:sha1:ca9fe1588427f246ad4c389b0170b29a432804b6</id>
<content type='text'>
The path around the loop ends with the lock held, so the call to mutex_lock
is moved before the beginning of the loop.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@locked@
expression E1;
position p;
@@

read_lock(E1@p,...);

@r exists@
expression x &lt;= locked.E1;
expression locked.E1;
expression E2;
identifier lock;
position locked.p,p1,p2;
@@

*lock@p1 (E1@p,...);
... when != E1
    when != \(x = E2\|&amp;x\)
*lock@p2 (E1,...);
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: ntrig: add support for new firwmare versions</title>
<updated>2010-06-21T11:41:13+00:00</updated>
<author>
<name>micki</name>
<email>micki@micki-laptop.(none)</email>
</author>
<published>2010-06-19T08:37:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6e32819e12ffbd507eced11a1871700a387d5407'/>
<id>urn:sha1:6e32819e12ffbd507eced11a1871700a387d5407</id>
<content type='text'>
Signed-off-by: Micki Balanga &lt;micki@n-trig.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
