Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp731871imm; Thu, 13 Sep 2018 06:59:27 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZa4CQLu7c3y5ds2xU6/EYn+3u7z7oWHKpmVCSpLR15UlcjZc+vV1LLy6AmSwl70Rdvbu8p X-Received: by 2002:a62:f909:: with SMTP id o9-v6mr7615204pfh.141.1536847167845; Thu, 13 Sep 2018 06:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536847167; cv=none; d=google.com; s=arc-20160816; b=T9GwhKEU1FrRt5bY15V/3xSGbL4/qDqFGPo5V/edmlwY+/axWHSsHCLBmdpS2RvMto Ur5r6VbUoaGofoz/K7GoUucNFNqVq+WW+WW01rRftrmwGtaLnS29jRoXRRKT3u4wKjge JK0HGypXadS4enrLYMXNXgpdTdzBPLzt2YHGsdnNUP0Kz+4Qx9Fer6lqgSINTg2Jj8a3 p+9xeepJY/CNOmpn52USUDw2c9NSg814NuhDpwt9waCZLjoXbF7uD408JzGjLxoU4T42 SLTTCTZyglf6IsBBhUHiH4Ov4pBaL31+wKKqB2oH9+pY0S4VQn2xLz1Mtz1MIUOp1zQz Zn0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=MxUwdaZKq7Co2YuEUrswwVzzUmHrp0CH+rRi56xLOYY=; b=En2B72fv+VKYG8oOuLV+zeyhck2MGCxL9qbLZCOTrpMhZAzjIb+6x7G6iqj23eLTOK qshf6DiO9mjjiBRvledSXNLeSMCMG4s0txw3VCumoUyDPTZPefIHpJD+ckcUczQ3/dA5 rkoc8XZlE3rsLspHjmMAmT7YOXXko6e8FZklbGx4phntHCVAjiLEg/B5Z+ssbQwLT400 Ta6PpBe5XKmT+vaGBVlV6Q9mUC2f5XFQeEFdgLQTmGVTKnKug5JrDyJSyWRfjRw3Jmq9 MPLT6gyA4wnHqbtFo3Hr7SHhlE1bUFyOImoKQHdVtF+7kBigeC1GwAoXCRc32kqg7XTI mSog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m76-v6si4170883pfg.323.2018.09.13.06.59.12; Thu, 13 Sep 2018 06:59:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731491AbeIMTHQ (ORCPT + 99 others); Thu, 13 Sep 2018 15:07:16 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34404 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728566AbeIMTHP (ORCPT ); Thu, 13 Sep 2018 15:07:15 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 9E411D15; Thu, 13 Sep 2018 13:57:38 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Aleh Filipovich , Andy Shevchenko , Sasha Levin Subject: [PATCH 4.18 074/197] platform/x86: asus-nb-wmi: Add keymap entry for lid flip action on UX360 Date: Thu, 13 Sep 2018 15:30:23 +0200 Message-Id: <20180913131844.484991440@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131841.568116777@linuxfoundation.org> References: <20180913131841.568116777@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Aleh Filipovich [ Upstream commit 880b29ac107d15644bf4da228376ba3cd6af6d71 ] Add entry to WMI keymap for lid flip event on Asus UX360. On Asus Zenbook ux360 flipping lid from/to tablet mode triggers keyscan code 0xfa which cannot be handled and results in kernel log message "Unknown key fa pressed". Signed-off-by: Aleh Filipovich Signed-off-by: Andy Shevchenko Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/platform/x86/asus-nb-wmi.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -496,6 +496,7 @@ static const struct key_entry asus_nb_wm { KE_KEY, 0xC4, { KEY_KBDILLUMUP } }, { KE_KEY, 0xC5, { KEY_KBDILLUMDOWN } }, { KE_IGNORE, 0xC6, }, /* Ambient Light Sensor notification */ + { KE_KEY, 0xFA, { KEY_PROG2 } }, /* Lid flip action */ { KE_END, 0}, };