lkml.org 
[lkml]   [2010]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[72/80] dell-wmi: Add support for eject key on Dell Studio 1555
    2.6.35-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Islam Amer <pharon@gmail.com>

    commit d5164dbf1f651d1e955b158fb70a9c844cc91cd1 upstream.

    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>
    Cc: Kyle McMartin <kyle@mcmartin.ca>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/platform/x86/dell-wmi.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/platform/x86/dell-wmi.c
    +++ b/drivers/platform/x86/dell-wmi.c
    @@ -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;



    \
     
     \ /
      Last update: 2010-09-27 20:09    [W:2.835 / U:0.640 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site