* [ patch ] dell-wmi : Dell studio eject key
@ 2010-06-24 17:14 Islam Amer
2010-06-24 17:41 ` Matthew Garrett
0 siblings, 1 reply; 3+ messages in thread
From: Islam Amer @ 2010-06-24 17:14 UTC (permalink / raw)
To: Matthew Garrett; +Cc: linux-kernel, platform-driver-x86, akpm
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 <pharon@gmail.com>
---
--- 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;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ patch ] dell-wmi : Dell studio eject key
2010-06-24 17:14 [ patch ] dell-wmi : Dell studio eject key Islam Amer
@ 2010-06-24 17:41 ` Matthew Garrett
2010-06-24 22:52 ` Islam Amer
0 siblings, 1 reply; 3+ messages in thread
From: Matthew Garrett @ 2010-06-24 17:41 UTC (permalink / raw)
To: Islam Amer; +Cc: linux-kernel, platform-driver-x86, akpm
Applied, thanks.
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ patch ] dell-wmi : Dell studio eject key
2010-06-24 17:41 ` Matthew Garrett
@ 2010-06-24 22:52 ` Islam Amer
0 siblings, 0 replies; 3+ messages in thread
From: Islam Amer @ 2010-06-24 22:52 UTC (permalink / raw)
To: Matthew Garrett; +Cc: linux-kernel, platform-driver-x86, akpm
Thanks to you :)
On Thu, Jun 24, 2010 at 8:41 PM, Matthew Garrett <mjg59@srcf.ucam.org> wrote:
> Applied, thanks.
>
> --
> Matthew Garrett | mjg59@srcf.ucam.org
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-24 22:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-24 17:14 [ patch ] dell-wmi : Dell studio eject key Islam Amer
2010-06-24 17:41 ` Matthew Garrett
2010-06-24 22:52 ` Islam Amer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).