<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hid/hid-microsoft.c, branch linux-3.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-05-31T20:20:29Z</updated>
<entry>
<title>Revert "HID: microsoft: Add ID's for Surface Type/Touch Cover 2"</title>
<updated>2014-05-31T20:20:29Z</updated>
<author>
<name>Derya</name>
</author>
<published>2014-03-31T17:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=346f2b1eae0cf0d0d34458d26a9f32df46e8641a'/>
<id>urn:sha1:346f2b1eae0cf0d0d34458d26a9f32df46e8641a</id>
<content type='text'>
commit f3b0cbce01cd5c242b420d986b208d306bdc5083 upstream.

This reverts commit 117309c51dca42121f70cacec801511b76acf75c.

The MS Surface Pro 2 has an USB composite device with 3 interfaces
- interface 0 - sensor hub
- interface 1 - wacom digitizer
- interface 2 - the keyboard cover, if one is attached
This USB composite device changes it product id dependent on if and which
keyboard cover is attached. Adding the covers to hid_have_special_driver
prevents loading the right hid drivers for the other two interfaces, all 3
get loaded with hid-microsoft. We don't even need hid-microsoft for the
keyboards. We have to revert this to load the right hid modules for each
interface.

Signed-off-by: Derya &lt;derya.kiran@yahoo.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>HID: microsoft: Add ID's for Surface Type/Touch Cover 2</title>
<updated>2014-01-28T15:18:59Z</updated>
<author>
<name>Reyad Attiyat</name>
</author>
<published>2014-01-28T15:17:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=117309c51dca42121f70cacec801511b76acf75c'/>
<id>urn:sha1:117309c51dca42121f70cacec801511b76acf75c</id>
<content type='text'>
The Microsoft Surface Type/Touch cover 2 devices have the flag HID_DG_CONTACTID
in their reports.This causes the device to bind to the hid-multitouch driver,
which doesn't handle generic keyboard/mouse input events.  The patch adds
the hardware id's of the device to hid-microsoft and to the HID special
driver array, which makes the device get handled by hid-generic/hid-input
properly.

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

Singed-off-by: Reyad Attiyat &lt;reyad.attiyat@gmail.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: microsoft: no fallthrough in MS ergonomy 0xff05 usage</title>
<updated>2013-12-15T17:25:26Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2013-12-15T17:25:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2b98ea87a8d82d1100200324ace989970a92423'/>
<id>urn:sha1:b2b98ea87a8d82d1100200324ace989970a92423</id>
<content type='text'>
For 0xff05 usage in MS ergonomy keyboard quirk, we are falling through
and returning 0 instread of properly (because we've performed new mapping)
returning 1. Fix that.

Reported-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: Add PID for Japanese version of NE4K keyboard</title>
<updated>2013-04-29T08:16:55Z</updated>
<author>
<name>Adam Jiang</name>
</author>
<published>2013-04-29T04:27:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89759e20d9571e0496c7e12fc4a3ce2a5233f18e'/>
<id>urn:sha1:89759e20d9571e0496c7e12fc4a3ce2a5233f18e</id>
<content type='text'>
This patche adds PID of Japanese Natual Ergonomic Keyboard 4000. HID
NE4K driver depends on this PID for determining its quirks. F14-F18 keys
would not work without the patch.

Signed-off-by: Adam Jiang &lt;jiang.adam@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: Use module_hid_driver macro</title>
<updated>2013-01-03T09:27:31Z</updated>
<author>
<name>H Hartley Sweeten</name>
</author>
<published>2012-12-17T22:28:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f425458eafd51b6b5ab64f407922e1198c567cb2'/>
<id>urn:sha1:f425458eafd51b6b5ab64f407922e1198c567cb2</id>
<content type='text'>
Use the new module_hid_driver macro in all HID drivers that have
a simple register/unregister init/exit.

This also converts the hid drivers that test for a failure of
hid_register_driver() and report the failure. Using module_hid_driver
in those drivers removes the failure message.

Signed-off-by: H Hartley Sweeten &lt;hsweeten@visionengravers.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: microsoft: do not use compound literal - fix build</title>
<updated>2012-11-12T14:34:59Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-11-12T09:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6b90466cfec2a2fe027187d675d8d14217c12d82'/>
<id>urn:sha1:6b90466cfec2a2fe027187d675d8d14217c12d82</id>
<content type='text'>
In patch "HID: microsoft: fix invalid rdesc for 3k kbd" I fixed
support for MS 3k keyboards. However the added check using memcmp and
a compound statement breaks build on architectures where memcmp is a
macro with parameters.

hid-microsoft.c:51:18: error: macro "memcmp" passed 6 arguments, but takes just 3

On x86_64, memcmp is a function, so I did not see the error.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Reported-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: microsoft: fix invalid rdesc for 3k kbd</title>
<updated>2012-10-31T09:42:32Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-10-19T11:28:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3ccc60f9d8c39180c205dba1a020735bda1b2491'/>
<id>urn:sha1:3ccc60f9d8c39180c205dba1a020735bda1b2491</id>
<content type='text'>
Microsoft Digital Media Keyboard 3000 has two interfaces, and the
second one has a report descriptor with a bug. The second collection
says:
05 01 -- global; usage page -- 01 -- Generic Desktop Controls
09 80 -- local; usage -- 80 -- System Control
a1 01 -- main; collection -- 01 -- application

85 03 -- global; report ID -- 03
19 00 -- local; Usage Minimum -- 00
29 ff -- local; Usage Maximum -- ff
15 00 -- global; Logical Minimum -- 0
26 ff 00 -- global; Logical Maximum -- ff
81 00 -- main; input

c0 -- main; End Collection

I.e. it makes us think that there are all kinds of usages of system
control. That the keyboard is a not only a keyboard, but also a
joystick, mouse, gamepad, keypad, etc. The same as for the Wireless
Desktop Receiver, this should be Physical Min/Max. So fix that
appropriately.

References: https://bugzilla.novell.com/show_bug.cgi?id=776834
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: remove Paul Walmsley's copyright from places where it shouldn't be</title>
<updated>2012-09-05T08:46:36Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2012-09-04T11:31:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f43f8749ebaeb4934f73a6f864fcbb60ce9f48a'/>
<id>urn:sha1:2f43f8749ebaeb4934f73a6f864fcbb60ce9f48a</id>
<content type='text'>
Paul Walmsley has implemented dynamic quirk handling back in 2007 through
commits:

2eb5dc30eb ("USB HID: encapsulate quirk handling into hid-quirks.c")
8222fbe67c ("USB HID: clarify static quirk handling as squirks")
8cef908235 ("USB HID: add support for dynamically-created quirks")
876b9276b9 ("USB HID: add 'quirks' module parameter")

and as such, his copyright rightly belongs to
drivers/hid/usbhid/hid-quirks.c file.

However when generic HID code has been converted to bus and individual
quirks separated out to individual drivers on the bus, the copyright has
been blindly transfered into all the tiny drivers, which actually don't
contain any of Pauls' copyrighted code.

Remove the copyright from those sub-drivers.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Acked-by: Paul Walmsley &lt;paul@pwsan.com&gt;
</content>
</entry>
<entry>
<title>HID: fix horizontal wheel for ms comfort mouse 4500</title>
<updated>2011-07-12T08:31:56Z</updated>
<author>
<name>Ari Savolainen</name>
</author>
<published>2011-07-11T18:42:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=23c10becdbc712de3fb35d0c7ec105a81d21f4c7'/>
<id>urn:sha1:23c10becdbc712de3fb35d0c7ec105a81d21f4c7</id>
<content type='text'>
Microsoft comfort mouse 4500 report descriptor contains duplicate
usages for horizontal wheel. This patch fixes the wrong mapping
caused by that.

Signed-off-by: Ari Savolainen &lt;ari.m.savolainen@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: add support for MS Digital Media 3000</title>
<updated>2011-06-14T08:46:51Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2011-06-13T20:08:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3b83d71a1b1a1569dba774c3a4f6e2a3b9fef99'/>
<id>urn:sha1:f3b83d71a1b1a1569dba774c3a4f6e2a3b9fef99</id>
<content type='text'>
The Digital Media 3000 keyboard (USB id: 0x0730) features the same 1-5
Application Launch keys that the Natural Ergonomic 4000 has. Add its
usb id to the list of quirks.

Reported-by: Khelben Blackstaff &lt;eye.of.the.8eholder@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
