Received: by 10.223.164.202 with SMTP id h10csp877210wrb; Thu, 9 Nov 2017 16:22:55 -0800 (PST) X-Google-Smtp-Source: ABhQp+Qbp1zfiT4h/RwzSbxBTlEqDvyFV9KnXpwq20q2i9cT9ZIAfbIi5fEppCSv6/BJOlWlxQr6 X-Received: by 10.99.126.92 with SMTP id o28mr2189714pgn.38.1510273374978; Thu, 09 Nov 2017 16:22:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510273374; cv=none; d=google.com; s=arc-20160816; b=GqhGiMFHu/vuwc89MaFjk38FlkShXsdpowUZpfgNv6Ae8z+na2dXxr7GxW5+uF1aTn gFydggxCNTkquJEfV8GYEqMh5TMqPNBB7G2Wbk3mvJBZcCF26MgG0nn92uMFioWiUFJi 3YZriwSCcxsiXCvgqy9J73erG22qMrGGZTtkDnr49Pg2AnoAHldkwYscdJRqVmEbVPrM ZFCLw0I7BVgC+Fjc9UMinJ/hXsPey/HyiDlcwpieVCr0SwVS1m0XKMUS0vLNH1Ftk/AI ajAs1NWCBFcvokpQbZ6DFHrAuBabVWNIOMnLU1vdL9N132PRydhFtpuR0sNxsyBA2FDB ZfAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=SSTVYeVHNurk3bRfHJTXwDc9IlR5EccnRNp4+VLqNKk=; b=v7T9sWlWebjwvfhRUMDR7jzB23eUU24geQngVw0x4eIHQUmTS1EMLTLe4YaVG8zFyJ ZQW3wOoLXbMbNrMnnR1leam3h9vf1fgCqGPVDk4FeyKN4uXqoJdERcLoNKaPBKGH6uqU 11wzfb5slZ9M87eF2CD5BrL36QNEQLQ2J6npKrPDQPVuuj/3zqJJt+CSxEC9B3+K4cfZ yZG6AoROlKKqpH1370vCeF3FK0hyf+d4ODoeD6BDYialCkHjiswFqW9HN2dLBNHS1EYB Q83RpBymbVTb1KqThp/JRpLW9DdxwCUbtRn8ucZIW00j0MmtAd6LuFVbIcmLaACTXnEJ E4CA== 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 d188si7060135pgc.436.2017.11.09.16.22.42; Thu, 09 Nov 2017 16:22:54 -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; 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 S1755474AbdKJAV6 (ORCPT + 83 others); Thu, 9 Nov 2017 19:21:58 -0500 Received: from mail-out-1.itc.rwth-aachen.de ([134.130.5.46]:51770 "EHLO mail-out-1.itc.rwth-aachen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755161AbdKJAVy (ORCPT ); Thu, 9 Nov 2017 19:21:54 -0500 X-IronPort-AV: E=Sophos;i="5.44,371,1505772000"; d="asc'?scan'208";a="22971644" Received: from rwthex-w2-a.rwth-ad.de ([134.130.26.158]) by mail-in-1.itc.rwth-aachen.de with ESMTP; 10 Nov 2017 01:21:53 +0100 Received: from pebbles.localnet (78.49.52.200) by rwthex-w2-a.rwth-ad.de (2002:8682:1a9e::8682:1a9e) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.26; Fri, 10 Nov 2017 01:21:52 +0100 From: Stefan =?ISO-8859-1?Q?Br=FCns?= To: Bastien Nocera CC: , , AceLan Kao , Andy Shevchenko , Darren Hart , Subject: Re: [PATCH v2 5/5] platform/x86: intel-vbtn: support panel front button Date: Fri, 10 Nov 2017 01:21:51 +0100 Message-ID: <1625791.nSucaqoEJ0@pebbles> In-Reply-To: <1510270833.2624.52.camel@hadess.net> References: <20171109224436.16472-1-stefan.bruens@rwth-aachen.de> <7c072721-1bd8-4921-b759-70bafb2ec894@rwthex-w2-a.rwth-ad.de> <1510270833.2624.52.camel@hadess.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8258186.OfJ9pR5HK6"; micalg=pgp-sha1; protocol="application/pgp-signature" X-Originating-IP: [78.49.52.200] X-ClientProxiedBy: rwthex-s3-b.rwth-ad.de (2002:8682:1aa1::8682:1aa1) To rwthex-w2-a.rwth-ad.de (2002:8682:1a9e::8682:1a9e) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart8258186.OfJ9pR5HK6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" On Friday, November 10, 2017 12:40:33 AM CET Bastien Nocera wrote: > On Thu, 2017-11-09 at 23:44 +0100, Stefan Br=FCns wrote: > > The Lenovo Helix 2 and Dell XPS 12 (9Q33) have an extra button on the > > front showing a 'Windows' logo, both reporting event codes 0xC2/0xC3 > > on press/release. On the Dell, both press/release are distinct events > > while on the Helix 2 both events are generated on release. > >=20 > > Tested on XPS 12, for info on the Helix 2 see: > > https://www.spinics.net/lists/ibm-acpi-devel/msg03982.html > >=20 > > Signed-off-by: Stefan Br=FCns >=20 > Same problem as mentioned in patch 3. Pretty sure you need to set the > Windows key release to KEY_IGNORE. >=20 > Or better, teach the intel-vbtn driver which buttons should be > autoreleased, and which ones should send key presses and key releases > separately. This would allow handling long presses in the upper layers. =46irst, I explicitly mentioned on the XPS 12, press/release are distinct=20 events. Care to read? Second, if you read patch 2/5, you see support for press/release vs=20 autorelease. Regards, Stefan =2D-=20 Stefan Br=FCns / Bergstra=DFe 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 --nextPart8258186.OfJ9pR5HK6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSwWRWIpJbl0W4DemNvf0o9jP6qUwUCWgTxHwAKCRBvf0o9jP6q U94yAKCBZk/i9cy59xOiPaW154ywTiX5AQCgh/lOQ+1KZz4RKzwz3h317lty0Og= =/pd+ -----END PGP SIGNATURE----- --nextPart8258186.OfJ9pR5HK6-- From 1583633863431701125@xxx Thu Nov 09 23:42:22 +0000 2017 X-GM-THRID: 1583630322258862530 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread