Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2266091imu; Sat, 12 Jan 2019 20:52:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN7AzrRhfaqI/CZQJufIqvQuGilYkzb+xYkIhz4BZini9GYsXedmH8pWdFGTwswloC6hNLPF X-Received: by 2002:a63:6d48:: with SMTP id i69mr18014349pgc.215.1547355125330; Sat, 12 Jan 2019 20:52:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547355125; cv=none; d=google.com; s=arc-20160816; b=zgh9P2VcQVtI6AsdklVgNpDSP2J4f6mI+M6w1/pREngeCeLtpXVSlmUfcs/9RI8nDg 8S7QJyazc7CQXH5Phu6wgUYqvQrrx6wOa0HEObXObQuJALD/ccDWYDISe3vD7U/hRhSz TIvLLWb3VXZv1HHREjbnr4HCjot7F7Q9sEqZsCLtBKXwsUOawXW2TZeFx5mrN/otZc81 mIF4asGeLQJQvmOwgpKEq0j6trj5SiF/C2vWM6V7fE45+pXDUWkFe/unnK0LIaMPQX0N 0nsJOhXTKpxprRnFj8gHIoe0D23RADE/T4j8d6OAMnF6Sj41PUJ57bdSLAImtpBHBoF0 U3tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nmFl/uEAqlo3nq4EOSk5n+jO8tNiPVE6ABgNJUh42Dk=; b=gC2m+5GdJf8tXIs08utr2sgDRRybWfShcIPwv8D3SkaFr0FaU8QHyXZhcmuN3m4f5t h0rgnwx0qoLmHaaCdttsfOMAw6679BJIIJnwvBtxVem/tgJAIHDpTYNn8Q/RxXwv1EWa 9ReXaIU9q4pibdaR4VWBe8iQQW8J0yZleiJ4mI1gVNS9jc2TDjdWIgoYPVM5t8jNPezM duih9O7KEx4TJ8x9GIN6YkMNTPs8A5cBCzg6vNhUwKJJkze2sTpOKo/EKwJdYDD9HV3B 2mdYMGHUrQeHqZQf1GtgEeoxaUPjbm88PfcKHTvZ7/r7IEkFDCgDDxkR7tBHbJ3SHj6Z OPPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=XKFEZp2L; 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 a193si19854964pfa.214.2019.01.12.20.51.49; Sat, 12 Jan 2019 20:52:05 -0800 (PST) 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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=XKFEZp2L; 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 S1726759AbfAMEPh (ORCPT + 99 others); Sat, 12 Jan 2019 23:15:37 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:36460 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726525AbfAMEPg (ORCPT ); Sat, 12 Jan 2019 23:15:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=nmFl/uEAqlo3nq4EOSk5n+jO8tNiPVE6ABgNJUh42Dk=; b=XKFEZp2LImrTZjQbAFemcZmpxH TW6HuJLKaVutkaP4k5eRjxbpD5nkfLjiPd+lbyc9Ki75dhlGcsucEPSj+EqiaejM0K3CSEdfURvL5 5+jgN5WmU6xBRe3sQoMMY//9QwEB2RVciAvTrdBQNvqZHYYZC5NKXQ4BAeOve9vTHYUWpeE8svLL6 PK7J7z2eIxRweqQlDE24twR5Nn28raNFG9D3Jj9Xffkx+qn0sO8UN1bP1ctovqxFmFfvJ/nrSwOG/ 9JKIhVrH3YwkJ+9xCqQxubxOoaXOgeAyAqD52A1hGDDKwtlXivZ0TuM8S9K1RFloNlG2C7x86ZTAw qhkFkGtg==; Received: from dvhart by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1giXBO-0004qd-4H; Sun, 13 Jan 2019 04:15:34 +0000 Date: Sat, 12 Jan 2019 20:15:32 -0800 From: Darren Hart To: Mario.Limonciello@dell.com Cc: jerome.debretagne@gmail.com, alex.hung@canonical.com, platform-driver-x86@vger.kernel.org, andy@infradead.org, rjw@rjwysocki.net, cwhuang@android-x86.org, tristian.celestin@outlook.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] platform/x86: intel-hid: Missing power button release on some Dell models Message-ID: <20190113041532.GB1349@wrath> References: <20190106175644.24872-1-jerome.debretagne@gmail.com> <057ab73bef634b4f8c474924eb6db572@ausx13mpc120.AMER.DELL.COM> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <057ab73bef634b4f8c474924eb6db572@ausx13mpc120.AMER.DELL.COM> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 07, 2019 at 03:36:48PM +0000, Mario.Limonciello@dell.com wrote: > > > > -----Original Message----- > > From: platform-driver-x86-owner@vger.kernel.org > owner@vger.kernel.org> On Behalf Of J?r?me de Bretagne > > Sent: Sunday, January 6, 2019 11:57 AM > > To: Alex Hung > > Cc: platform-driver-x86@vger.kernel.org; Andy Shevchenko; Darren Hart; > > Limonciello, Mario; Rafael J. Wysocki; Chih-Wei Huang; Tristian Celestin; linux- > > kernel@vger.kernel.org > > Subject: [PATCH] platform/x86: intel-hid: Missing power button release on some > > Dell models > > > > > > [EXTERNAL EMAIL] > > > > Power button suspend for some Dell models was added in: > > > > commit 821b85366284 (intel-hid: Power button suspend on Dell Latitude 7275) I've addressed this one, but please do run checkpatch and correct reported errors in the future. It checks commit reference format. > > > > by checking against the power button press notification (0xCE) to report > > the power button press event. The corresponding power button release > > notification (0xCF) was caught and ignored to stop it from being reported > > as an "unknown event" in the logs. > > > > The missing button release event is creating issues on Android-x86, as > > reported on the project mailing list for a Dell Latitude 5175 model, since > > the events are expected in down/up pairs. > > > > Report the power button release event to fix this issue. > > > > Link: https://groups.google.com/forum/#!topic/android-x86/aSwZK9Nf9Ro > > Tested-by: Tristian Celestin > > Tested-by: J?r?me de Bretagne > > Signed-off-by: J?r?me de Bretagne Queued for testing, thanks for the patch. -- Darren Hart VMware Open Source Technology Center