[Bug 609234] Re: Multimedia and battery keys do not work on Dell Studio 1557

Mark Smith 609234 at bugs.launchpad.net
Tue Aug 17 17:35:29 UTC 2010


Just wanted to paste the patch here, in case the mailing list
disappears.  I haven't been able to test the patch since I've switched
back to Ubuntu 10.04 for the time being, but I will be testing the
current liveCD on my Studio today.

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 [at] gmail> 
--- 

--- 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; 
--

-- 
Multimedia and battery keys do not work on Dell Studio 1557
https://bugs.launchpad.net/bugs/609234
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list