2010-06-24 17:22:33

by Islam Amer

[permalink] [raw]
Subject: [ patch ] dell-wmi : Dell studio eject key

Fixes pressing the eject key on Dell Studio 1555 does not work and
produces message :
dell-wmi: Unknown key 0 pressed

Signed-off-by: Islam Amer <[email protected]>
---

--- linux-sidux-2.6-2.6.34/drivers/platform/x86/dell-wmi.c.orig 2010-06-03
00:02:17.418824168 +0300
+++ linux-sidux-2.6-2.6.34/drivers/platform/x86/dell-wmi.c 2010-06-03
00:01:40.641833249 +0300
@@ -221,7 +221,7 @@ static void dell_wmi_notify(u32 value, v
return;
}

- if (dell_new_hk_type)
+ if (dell_new_hk_type || buffer_entry[1] == 0x0)
reported_key = (int)buffer_entry[2];
else
reported_key = (int)buffer_entry[1] & 0xffff;


2010-06-24 17:41:29

by Matthew Garrett

[permalink] [raw]
Subject: Re: [ patch ] dell-wmi : Dell studio eject key

Applied, thanks.

--
Matthew Garrett | [email protected]

2010-06-24 22:52:27

by Islam Amer

[permalink] [raw]
Subject: Re: [ patch ] dell-wmi : Dell studio eject key

Thanks to you :)

On Thu, Jun 24, 2010 at 8:41 PM, Matthew Garrett <[email protected]> wrote:
> Applied, thanks.
>
> --
> Matthew Garrett | [email protected]
>