/[linux-patches]/genpatches-2.6/tags/2.6.34-10/2605_support-eject-dell-studio-1555.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.34-10/2605_support-eject-dell-studio-1555.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1771 - (show annotations) (download)
Tue Aug 31 14:13:10 2010 UTC (4 years ago) by mpagano
File size: 1007 byte(s)
2.6.34-10 release
1 From: Islam Amer <pharon@gmail.com>
2 Date: Thu, 24 Jun 2010 17:39:47 +0000 (-0400)
3 Subject: dell-wmi: Add support for eject key on Dell Studio 1555
4 X-Git-Tag: v2.6.36-rc1~579^2~64
5 X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=d5164dbf1f651d1e955b158fb70a9c844cc91cd1
6
7 dell-wmi: Add support for eject key on Dell Studio 1555
8
9 Fixes pressing the eject key on Dell Studio 1555 does not work and produces
10 message :
11
12 dell-wmi: Unknown key 0 pressed
13
14 Signed-off-by: Islam Amer <pharon@gmail.com>
15 ---
16
17 diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c
18 index 66f53c3..12a8e6f 100644
19 --- a/drivers/platform/x86/dell-wmi.c
20 +++ b/drivers/platform/x86/dell-wmi.c
21 @@ -221,7 +221,7 @@ static void dell_wmi_notify(u32 value, void *context)
22 return;
23 }
24
25 - if (dell_new_hk_type)
26 + if (dell_new_hk_type || buffer_entry[1] == 0x0)
27 reported_key = (int)buffer_entry[2];
28 else
29 reported_key = (int)buffer_entry[1] & 0xffff;

  ViewVC Help
Powered by ViewVC 1.1.20