1 |
Author: mpagano |
2 |
Date: 2010-08-20 00:00:16 +0000 (Fri, 20 Aug 2010) |
3 |
New Revision: 1752 |
4 |
|
5 |
Added: |
6 |
genpatches-2.6/trunk/2.6.34/2605_support-eject-dell-studio-1555.patch |
7 |
Modified: |
8 |
genpatches-2.6/trunk/2.6.34/0000_README |
9 |
Log: |
10 |
Patch to support eject on dell studio 1555 |
11 |
|
12 |
Modified: genpatches-2.6/trunk/2.6.34/0000_README |
13 |
=================================================================== |
14 |
--- genpatches-2.6/trunk/2.6.34/0000_README 2010-08-16 18:01:44 UTC (rev 1751) |
15 |
+++ genpatches-2.6/trunk/2.6.34/0000_README 2010-08-20 00:00:16 UTC (rev 1752) |
16 |
@@ -63,6 +63,10 @@ |
17 |
From: http://bugs.gentoo.org/show_bug.cgi?id=328527 |
18 |
Desc: Synaptics capability ID check fix |
19 |
|
20 |
+Patch: 2605_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: 2700_nouveau-acpi-lid-open-undefined-fix.patch |
25 |
From: http://bugs.gentoo.org/show_bug.cgi?id=322001 |
26 |
Desc: nouveau: fix acpi_lid_open undefined |
27 |
|
28 |
Added: genpatches-2.6/trunk/2.6.34/2605_support-eject-dell-studio-1555.patch |
29 |
=================================================================== |
30 |
--- genpatches-2.6/trunk/2.6.34/2605_support-eject-dell-studio-1555.patch (rev 0) |
31 |
+++ genpatches-2.6/trunk/2.6.34/2605_support-eject-dell-studio-1555.patch 2010-08-20 00:00:16 UTC (rev 1752) |
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 |
+ |