Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2363537ybi; Sun, 9 Jun 2019 09:55:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxsGjjyBUcRC0CMw5kDw2I5fa3oB99XUQ+WOuHpZ+uqBPiP1V9TngvydEatgRTFE1uMzzrZ X-Received: by 2002:a65:5685:: with SMTP id v5mr12337628pgs.184.1560099333932; Sun, 09 Jun 2019 09:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560099333; cv=none; d=google.com; s=arc-20160816; b=Id7i3MUt1M8kHcL4rO7G6kuWW1klrDTZ+hv3jGKwfreGZfYQTb8P1Izrkyc59K5zt8 0C7NGmmSYzOXMyntI+m/3YMLBG9VvvTu7qhFu55jklFHsRBp/1S5fws5MIqNvKO7UfeK Kh76jlv0GVVrjX1ZKMz3kvWY+SNXiYvzkHbiLHe8oS06gQRKyx7btNfjDaYAs2kpLewl E3SYbWkofNnbKYXbScVqie6hNBKLvT2cJ0BxfmAOSbYNu6ReNhYe993EYV5ODYHSOp83 1Su0jSSG6jCeIHAXp/odPPrDtWn5D0IetD7Ju9BzroW+qrERcvIUgVX6ll8G2o69hs1d snkA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VlNF8neRI0nw9XEMnVceaIeivPxB/S7CyWZXCdEDsCs=; b=EMWaz2YMI9o8NmJ0fjfkaYc5RD7TvZ+iqzNLS59x8an8DISkDh5RKVDYjwyRj102XJ Pj4gr3haCKH2UjIQWUbeeGX8IN5q3WKDgu7wT4KFoXj+XbrgsisvaZdP7pea/RsnOTNi wHNCmk507+avzOg+tiQiHXlPk9dKwbXPBc9TrmpMZLvtAYDLj9oJISn16T0+vRmHRLFN cKchHkWgAqnO8KY43iInGLDzRoqH88Vj6jHt+nm1Sbk0ZUDFSnrieCFHTz+4GvKYpsF8 9QxqT8dL5PP4Q67Oavr6xWd/vRRosYTSKvG8ps1BdA3N5QDRGEphYNloYwr6Jm7GhVr6 QuXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tx94w3+b; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si8014814pfb.1.2019.06.09.09.55.18; Sun, 09 Jun 2019 09:55:33 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tx94w3+b; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732405AbfFIQx2 (ORCPT + 99 others); Sun, 9 Jun 2019 12:53:28 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:34707 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731903AbfFIQxX (ORCPT ); Sun, 9 Jun 2019 12:53:23 -0400 Received: by mail-pg1-f193.google.com with SMTP id q15so1551399pgr.1; Sun, 09 Jun 2019 09:53:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=VlNF8neRI0nw9XEMnVceaIeivPxB/S7CyWZXCdEDsCs=; b=tx94w3+b4ucLl04HofbpsDZolPVN89TBIVubZZeE5sjQUUyC2PWuBz1y8pUyNBtKuL SoEuo1lPAEwgw+BMeiC3U12lmAOQo/kk4CyWZ6QCF4egNYXG5y5upkxE32Wy3Q8s3w7u 1nIYHAx3qm2NQjWhb3XBav9pZlLkYkcluL+lQDjOsHuL06a+2eJh7HNZAFzLDuWjCTIj sCzAuUa8M/DUlZObzqPajmcQo+gii3M/EPjwN48BSh8Eflw/Vr19D1rsUXe9W0mh9jsO P91bFqyAZvI5qXbgNAc7hucNCFMfciEWJ495+ih9fHscj3AAT489sGJNO8xPd/rYTohR eTBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=VlNF8neRI0nw9XEMnVceaIeivPxB/S7CyWZXCdEDsCs=; b=FdhWik1nFgGf4lHZkAb9nWZixNrqThKGlCYDsZbpVmqt0WsRTN+OxMPtGVZkT6A01B 5pkWVAtBhInjYs+a0yFJWHNW+HVtfhUmFsHRyxUH+tzCcDo33up/xbgFJJlQ27NFHZtf h+GAzIFIvz6QZposusGbdxR9JrmOqOq7w+S4hiGfudZG5djyJC0c9AIPqthjToIhroim oYrKga5gDXViPWlOocQdy9au9LB7EYqTN+dGSR/2qQNINDB0DOQxzWE8zA14D7pgtItZ 2+/LrLRNiskHnuctbI222SkIJswq+l6qYMHl3cBGUWwJZWLXzEVfEtPAmzzcpHxRS7a+ B5Dw== X-Gm-Message-State: APjAAAUWfTq63MdimFUAesr015yOhs6tPfuAlwMKxdVg4Nx3+O3p0TRa P4+R5iRVDUjiakb9w1dkDF4= X-Received: by 2002:a63:2c4a:: with SMTP id s71mr12211976pgs.343.1560099202186; Sun, 09 Jun 2019 09:53:22 -0700 (PDT) Received: from dtor-ws ([2620:15c:202:201:3adc:b08c:7acc:b325]) by smtp.gmail.com with ESMTPSA id c6sm13686904pfm.163.2019.06.09.09.53.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 09 Jun 2019 09:53:21 -0700 (PDT) Date: Sun, 9 Jun 2019 09:53:19 -0700 From: Dmitry Torokhov To: Aaron Ma Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Cheiny@synaptics.com, aduggan@synaptics.com, benjamin.tissoires@redhat.com Subject: Re: [PATCH 2/2] Input: synaptics-rmi4 - export nosleep of f01 via sysfs Message-ID: <20190609165319.GA90002@dtor-ws> References: <20190220164200.31044-1-aaron.ma@canonical.com> <20190220164200.31044-2-aaron.ma@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190220164200.31044-2-aaron.ma@canonical.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 Hi Aaron, On Wed, Feb 20, 2019 at 05:42:00PM +0100, Aaron Ma wrote: > Some of ThinkPad X1C6 touchpads didn't wakeup after resume. > Forcing enable nosleep make touchpad back. > Add nosleep via sysfs, so user can control it to workaround issue. > > /sys/devices/rmi4-00/nosleep can be written non-zero will enable > nosleep mode. I do not think that noseleep attribute is a good solution as users will have very hard time finding and activating it. If nosleep is absolutely required, it has to be activated automatically. However from the discussion on the 1st patch it is my understanding that this patch was not really required, so I will not be applying it. Thanks. -- Dmitry