<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hid/hid-core.c, branch linux-2.6.23.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.23.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-07-09T12:03:35Z</updated>
<entry>
<title>HID: make debugging output runtime-configurable</title>
<updated>2007-07-09T12:03:35Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2007-05-30T13:07:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58037eb961f859607b161c50d9d4ecb374de1e8f'/>
<id>urn:sha1:58037eb961f859607b161c50d9d4ecb374de1e8f</id>
<content type='text'>
There have been many reports recently about broken HID devices, the
diagnosis of which required users to recompile their kernels in order
to be able to provide debugging output needed for coding a quirk for
a particular device.

This patch makes CONFIG_HID_DEBUG default y if !EMBEDDED and makes it
possible to control debugging output produced by HID code by supplying
'debug=1' module parameter.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>header cleaning: don't include smp_lock.h when not used</title>
<updated>2007-05-08T18:15:07Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2007-05-08T07:28:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e63340ae6b6205fef26b40a75673d1c9c0c8bb90'/>
<id>urn:sha1:e63340ae6b6205fef26b40a75673d1c9c0c8bb90</id>
<content type='text'>
Remove includes of &lt;linux/smp_lock.h&gt; where it is not used/needed.
Suggested by Al Viro.

Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jikos/hid</title>
<updated>2007-04-30T15:58:21Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2007-04-30T15:58:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d6454706c382ab74e2ecad7803c434cc6bd30343'/>
<id>urn:sha1:d6454706c382ab74e2ecad7803c434cc6bd30343</id>
<content type='text'>
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jikos/hid: (21 commits)
  USB HID: don't warn on idVendor == 0
  USB HID: add 'quirks' module parameter
  USB HID: add support for dynamically-created quirks
  USB HID: clarify static quirk handling as squirks
  USB HID: encapsulate quirk handling into hid-quirks.c
  USB HID: EMS USBII device needs HID_QUIRK_MULTI_INPUT
  HID: update copyright and authorship macro
  HID: introduce proper zeroing of unused bits in output reports
  USB HID: add support for WiseGroup MP-8800 Quad Joypad
  USB HID: add FF support for Logitech Force 3D Pro Joystick
  USB HID: numlock quirk for dell W7658 keyboard
  USB HID: Logitech MX3000 keyboard needs report descriptor quirk
  USB HID: extend quirk for Logitech S510 keyboard
  USB HID: usbkbd/usbmouse - handle errors when registering devices
  USB HID: add QUIRK_HIDDEV for Belkin Flip KVM
  HID: enable dead keys on a belkin wireless keyboard
  USB HID: Thustmaster firestorm dual power v1 support
  USB HID: specify explicit size for hid_blacklist.quirks
  USB HID: fix retry &amp; reset logic
  USB HID: consolidate vendor/product ids
  ...
</content>
</entry>
<entry>
<title>Merge branch 'field-zeroing' into for-linus</title>
<updated>2007-04-29T20:19:02Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2007-04-29T20:19:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=11941a321d49cd2cafc8e64f66cbfed60fc1c691'/>
<id>urn:sha1:11941a321d49cd2cafc8e64f66cbfed60fc1c691</id>
<content type='text'>
</content>
</entry>
<entry>
<title>HID: update copyright and authorship macro</title>
<updated>2007-04-16T09:29:28Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2007-04-16T09:29:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f142b3a4f64eca235f5890d9cecb68482f62ed26'/>
<id>urn:sha1:f142b3a4f64eca235f5890d9cecb68482f62ed26</id>
<content type='text'>
Updates Copyright and DRIVER_AUTHOR in HID and USB HID sources.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: introduce proper zeroing of unused bits in output reports</title>
<updated>2007-04-11T08:36:36Z</updated>
<author>
<name>Simon Budig</name>
</author>
<published>2007-03-12T12:52:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=46386b587086c8d2698222a031bf749688464032'/>
<id>urn:sha1:46386b587086c8d2698222a031bf749688464032</id>
<content type='text'>
Some HID devices are looking on the unused bits in the HID reports they
receive. This is violating the specification, but we want to make those
devices work. Well-behaving devices are unaffected, as they don't care
about the unused bits.

If bitsused % 8 is 0 all bits in data[] get used and we don't need to
clear anything. Otherwise (bitsused % 8) bits of the last byte get used.
By shifting 1 for (bitsused % 8) bits and subtracting 1 we create a mask
consisting of (bitsused % 8) ones and remaining zeroes. By ANDing we
clear the upper unused bits.

Signed-off-by: Simon Budig &lt;simon@budig.de&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: Do not discard truncated input reports</title>
<updated>2007-04-05T14:06:30Z</updated>
<author>
<name>Adam Kropelin</name>
</author>
<published>2007-04-05T14:06:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8da7d1bae512aee155ef02f7ab1266358842e1fd'/>
<id>urn:sha1:8da7d1bae512aee155ef02f7ab1266358842e1fd</id>
<content type='text'>
Truncated reports should not be discarded since it prevents buggy
devices from communicating with userspace.

Prior to the regession introduced in 2.6.20, a shorter-than-expected
report in hid_input_report() was passed thru after having the missing
bytes cleared. This behavior was established over a few patches in the
2.6.early-teens days, including commit
cd6104572bca9e4afe0dcdb8ecd65ef90b01297b.

This patch restores the previous behavior and fixes the regression.

Signed-off-by: Adam Kropelin &lt;akropel1@rochester.rr.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jikos/hid</title>
<updated>2007-03-15T17:50:54Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2007-03-15T17:50:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ab27c6bf38d5ff71dafeca77b79e7c284804b75'/>
<id>urn:sha1:6ab27c6bf38d5ff71dafeca77b79e7c284804b75</id>
<content type='text'>
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jikos/hid:
  HID: zeroing of bytes in output fields is bogus
  HID: allocate hid_parser in a proper way
</content>
</entry>
<entry>
<title>[PATCH] hid-core endianness annotations</title>
<updated>2007-03-14T22:27:50Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2007-03-14T09:19:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b87496aa493a540b9c084b16b73f915705ebdbcc'/>
<id>urn:sha1:b87496aa493a540b9c084b16b73f915705ebdbcc</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>HID: zeroing of bytes in output fields is bogus</title>
<updated>2007-03-12T13:55:26Z</updated>
<author>
<name>Jiri Kosina</name>
</author>
<published>2007-03-10T21:45:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d108d4fe34730135647fe32a4f8091491d3542ea'/>
<id>urn:sha1:d108d4fe34730135647fe32a4f8091491d3542ea</id>
<content type='text'>
This patch removes bogus zeroing of unused bits in output reports,
introduced in Simon's patch in commit d4ae650a.
According to the specification, any sane device should not care
about values of unused bits.

What is worse, the zeroing is done in a way which is broken and
might clear certain bits in output reports which are actually
_used_ - a device that has multiple fields with one value of
the size 1 bit each might serve as an example of why this is
bogus - the second call of hid_output_report() would clear the
first bit of report, which has already been set up previously.

This patch will break LEDs on SpaceNavigator, because this device
is broken and takes into account the bits which it shouldn't touch.
The quirk for this particular device will be provided in a separate
patch.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
