Gentoo Archives: gentoo-commits

From: "Mike Pagano (mpagano)" <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] linux-patches r1753 - genpatches-2.6/trunk/2.6.35
Date: Fri, 20 Aug 2010 00:05:38
Message-Id: 20100820000530.7FFC12004C@flycatcher.gentoo.org
1 Author: mpagano
2 Date: 2010-08-20 00:05:29 +0000 (Fri, 20 Aug 2010)
3 New Revision: 1753
4
5 Added:
6 genpatches-2.6/trunk/2.6.35/2600_support-eject-dell-studio-1555.patch
7 Modified:
8 genpatches-2.6/trunk/2.6.35/0000_README
9 Log:
10 Patch to support eject on dell studio 1555
11
12 Modified: genpatches-2.6/trunk/2.6.35/0000_README
13 ===================================================================
14 --- genpatches-2.6/trunk/2.6.35/0000_README 2010-08-20 00:00:16 UTC (rev 1752)
15 +++ genpatches-2.6/trunk/2.6.35/0000_README 2010-08-20 00:05:29 UTC (rev 1753)
16 @@ -47,6 +47,10 @@
17 From: http://www.kernel.org
18 Desc: Linux 2.6.35.2
19
20 +Patch: 2600_support-eject-dell-studio-1555.patch
21 +From: http://bugs.gentoo.org/show_bug.cgi?id=333379
22 +Desc: Add support for eject key on Dell Studio 1555
23 +
24 Patch: 2900_xconfig-with-qt4.patch
25 From: http://bugs.gentoo.org/show_bug.cgi?id=320761
26 Desc: xconfig patch for qt4 - thanks to Sam Iam
27
28 Added: genpatches-2.6/trunk/2.6.35/2600_support-eject-dell-studio-1555.patch
29 ===================================================================
30 --- genpatches-2.6/trunk/2.6.35/2600_support-eject-dell-studio-1555.patch (rev 0)
31 +++ genpatches-2.6/trunk/2.6.35/2600_support-eject-dell-studio-1555.patch 2010-08-20 00:05:29 UTC (rev 1753)
32 @@ -0,0 +1,30 @@
33 +From: Islam Amer <pharon@×××××.com>
34 +Date: Thu, 24 Jun 2010 17:39:47 +0000 (-0400)
35 +Subject: dell-wmi: Add support for eject key on Dell Studio 1555
36 +X-Git-Tag: v2.6.36-rc1~579^2~64
37 +X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=d5164dbf1f651d1e955b158fb70a9c844cc91cd1
38 +
39 +dell-wmi: Add support for eject key on Dell Studio 1555
40 +
41 +Fixes pressing the eject key on Dell Studio 1555 does not work and produces
42 +message :
43 +
44 +dell-wmi: Unknown key 0 pressed
45 +
46 +Signed-off-by: Islam Amer <pharon@×××××.com>
47 +---
48 +
49 +diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c
50 +index 66f53c3..12a8e6f 100644
51 +--- a/drivers/platform/x86/dell-wmi.c
52 ++++ b/drivers/platform/x86/dell-wmi.c
53 +@@ -221,7 +221,7 @@ static void dell_wmi_notify(u32 value, void *context)
54 + return;
55 + }
56 +
57 +- if (dell_new_hk_type)
58 ++ if (dell_new_hk_type || buffer_entry[1] == 0x0)
59 + reported_key = (int)buffer_entry[2];
60 + else
61 + reported_key = (int)buffer_entry[1] & 0xffff;
62 +