From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14E21C63697 for ; Thu, 19 Nov 2020 15:16:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BC1C622268 for ; Thu, 19 Nov 2020 15:16:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728015AbgKSPQ2 (ORCPT ); Thu, 19 Nov 2020 10:16:28 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:49017 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726791AbgKSPQ1 (ORCPT ); Thu, 19 Nov 2020 10:16:27 -0500 X-Originating-IP: 82.255.60.242 Received: from [192.168.0.28] (lns-bzn-39-82-255-60-242.adsl.proxad.net [82.255.60.242]) (Authenticated sender: hadess@hadess.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id BEE151C000C; Thu, 19 Nov 2020 15:16:24 +0000 (UTC) Message-ID: <96e2c4ebd7e826b6ea52f72f301fb5e8c33479d5.camel@hadess.net> Subject: Re: [External] Using IIO to export laptop palm-sensor and lap-mode info to userspace? From: Bastien Nocera To: Dmitry Torokhov , Hans de Goede Cc: Jonathan Cameron , Mark Pearson , linux-iio@vger.kernel.org, Nitin Joshi1 , linux-input@vger.kernel.org Date: Thu, 19 Nov 2020 16:16:24 +0100 In-Reply-To: <20201112062348.GF1003057@dtor-ws> References: <9f9b0ff6-3bf1-63c4-eb36-901cecd7c4d9@redhat.com> <5a646527-7a1f-2fb9-7c09-8becdbff417b@lenovo.com> <20201007083602.00006b7e@Huawei.com> <218be284-4a37-e9f9-749d-c126ef1d098b@redhat.com> <20201112062348.GF1003057@dtor-ws> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.1 (3.38.1-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org On Wed, 2020-11-11 at 22:23 -0800, Dmitry Torokhov wrote: > > I am not sure if multiplexing all proximity switches into one evdev > node > is that great option, as I am sure we'll soon have devices with 2x > palmrest switches and being capable finely adjusting transmit power, > etc. Hans, Mark, so is there a consensus to how we should export the "lap- mode"? I had nearly finished working on updated code and all the test suite changes needed to use an input device with switches when IIO started being discussed, so I stopped in my tracks.