rpms/kernel/F-10 linux-2.6-hid-adjust-fixup-for-ms-1028-receiver.patch, NONE, 1.1.2.1 kernel.spec, 1.1206.2.12, 1.1206.2.13
Chuck Ebbert
cebbert at fedoraproject.org
Tue Feb 3 21:28:56 UTC 2009
- Previous message (by thread): rpms/kernel/devel patch-2.6.29-rc3-git5.bz2.sign, NONE, 1.1 .cvsignore, 1.1002, 1.1003 kernel.spec, 1.1257, 1.1258 sources, 1.964, 1.965 upstream, 1.876, 1.877 patch-2.6.29-rc3-git3.bz2.sign, 1.1, NONE use-per_cpu-module-references.patch, 1.2, NONE
- Next message (by thread): rpms/kernel/F-10 linux-2.6-usb-option-add-pantech-cards-R.patch, NONE, 1.1.2.1 kernel.spec, 1.1206.2.13, 1.1206.2.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26601
Modified Files:
Tag: private-fedora-10-2_6_27
kernel.spec
Added Files:
Tag: private-fedora-10-2_6_27
linux-2.6-hid-adjust-fixup-for-ms-1028-receiver.patch
Log Message:
Fix media keys on MS wireless keyboard (#475398)
linux-2.6-hid-adjust-fixup-for-ms-1028-receiver.patch:
--- NEW FILE linux-2.6-hid-adjust-fixup-for-ms-1028-receiver.patch ---
From: Jiri Kosina <jkosina at suse.cz>
Date: Wed, 14 Jan 2009 02:03:21 +0000 (+0100)
Subject: HID: adjust report descriptor fixup for MS 1028 receiver
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=0fb21de0799a985d2da3da14ae5625d724256638
HID: adjust report descriptor fixup for MS 1028 receiver
Report descriptor fixup for MS 1028 receiver changes also values for
Keyboard and Consumer, which incorrectly trims the range, causing correct
events being thrown away before passing to userspace.
We need to keep the GenDesk usage fixup though, as it reports totally bogus
values about axis.
Reported-by: Lucas Gadani <lgadani at gmail.com>
Signed-off-by: Jiri Kosina <jkosina at suse.cz>
[Backport to 2.6.27: cebbert at redhat.com]
---
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -30,7 +30,7 @@
#define MS_NOGET 0x10
/*
- * Microsoft Wireless Desktop Receiver (Model 1028) has several
+ * Microsoft Wireless Desktop Receiver (Model 1028) has
* 'Usage Min/Max' where it ought to have 'Physical Min/Max'
*/
static void ms_report_fixup(struct hid_device *hdev, __u8 *rdesc,
@@ -38,19 +38,11 @@ static void ms_report_fixup(struct hid_device *hdev, __u8 *rdesc,
*/
static void usbhid_fixup_microsoft_descriptor(unsigned char *rdesc, int rsize)
{
- if (rsize == 571 && rdesc[284] == 0x19
- && rdesc[286] == 0x2a
- && rdesc[304] == 0x19
- && rdesc[306] == 0x29
- && rdesc[352] == 0x1a
- && rdesc[355] == 0x2a
- && rdesc[557] == 0x19
+ if (rsize == 571 && rdesc[557] == 0x19
&& rdesc[559] == 0x29) {
printk(KERN_INFO "Fixing up Microsoft Wireless Receiver Model 1028 report descriptor\n");
- rdesc[284] = rdesc[304] = rdesc[557] = 0x35;
- rdesc[352] = 0x36;
- rdesc[286] = rdesc[355] = 0x46;
- rdesc[306] = rdesc[559] = 0x45;
+ rdesc[557] = 0x35;
+ rdesc[559] = 0x45;
}
}
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1206.2.12
retrieving revision 1.1206.2.13
diff -u -r1.1206.2.12 -r1.1206.2.13
--- kernel.spec 2 Feb 2009 23:48:03 -0000 1.1206.2.12
+++ kernel.spec 3 Feb 2009 21:28:25 -0000 1.1206.2.13
@@ -632,6 +632,7 @@
Patch454: linux-2.6-input.git-i8042-add-xps-m1530-to-nomux.patch
Patch455: linux-2.6-input-atkbd-broaden-dell-signatures.patch
Patch456: linux-2.6-input-atkbd-samsung-nc10-key-repeat-fix.patch
+Patch457: linux-2.6-hid-adjust-fixup-for-ms-1028-receiver.patch
Patch460: linux-2.6-serial-460800.patch
Patch510: linux-2.6-silence-noise.patch
@@ -1231,6 +1232,8 @@
ApplyPatch linux-2.6-input-atkbd-broaden-dell-signatures.patch
# fix key repeats on Samsung NC10
ApplyPatch linux-2.6-input-atkbd-samsung-nc10-key-repeat-fix.patch
+# fix ms wireless kbd (F10 #475398)
+ApplyPatch linux-2.6-hid-adjust-fixup-for-ms-1028-receiver.patch
# Allow to use 480600 baud on 16C950 UARTs
ApplyPatch linux-2.6-serial-460800.patch
@@ -1923,6 +1926,9 @@
%kernel_variant_files -k vmlinux %{with_kdump} kdump
%changelog
+* Tue Feb 03 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.14-170.2.13
+- Fix media keys on MS wireless keyboard (#475398)
+
* Mon Feb 02 2009 Chuck Ebbert <cebbert at redhat.com> 2.6.27.14-170.2.12
- Fix slow data upload with USB wireless modem (#473252)
- Previous message (by thread): rpms/kernel/devel patch-2.6.29-rc3-git5.bz2.sign, NONE, 1.1 .cvsignore, 1.1002, 1.1003 kernel.spec, 1.1257, 1.1258 sources, 1.964, 1.965 upstream, 1.876, 1.877 patch-2.6.29-rc3-git3.bz2.sign, 1.1, NONE use-per_cpu-module-references.patch, 1.2, NONE
- Next message (by thread): rpms/kernel/F-10 linux-2.6-usb-option-add-pantech-cards-R.patch, NONE, 1.1.2.1 kernel.spec, 1.1206.2.13, 1.1206.2.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list