Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5180537rwd; Mon, 12 Jun 2023 00:50:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6stOKdFFVcXK7derV4laK15L5K+wnmBGrmnS5xJh3Po5AaCKs2cAR/2+08KnkQy6yIhuxc X-Received: by 2002:a05:6808:317:b0:39a:bcc2:d451 with SMTP id i23-20020a056808031700b0039abcc2d451mr3067754oie.58.1686556258117; Mon, 12 Jun 2023 00:50:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686556258; cv=none; d=google.com; s=arc-20160816; b=wiUg1/chF6Qvgwkde5RHqcC3ohOjKRHZyEBqZpz9HBV96BsomYeMY856ADGpcTFVBt BUmkznWxEACMEl+CDv0yTQbk1eiRtWjG9AYwBAGqpbL96b3IuOnwbr9NDj+qPQlhPddA bGmnKkiAOMe1FMDf7/eWzLihCKyVUppFvgWVsHLFujAJpn/sbYkAI36lO/Ao+LGuP4JQ zsQw7iZw7YhweBmoo96ZWMzt3x3ou04/lO55hDWHAtdzLMh72iZDLg3E1fiZbkF/Ts5q TDdzBWnE0XZHdRQs1DuiOFEBWtz5CjjQ1DGTMnN61f50PSJERCQZOhYIqiDM8q7b0Vi7 sCNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=n0HDrWgvD4HqmaIgi7g4bM5/q2e4Sl3rubWdK1Ml8hM=; b=AYEuPoijErumUeeQqTh8ZTSk/3qedVzLXMS/RbCp11oW2voHPvEJ5VXE23+OU5tu+E jG4JbbzNThH30I8r40MtkpFsUY8/d6o5xQkwthtYEsLFV1Ydklvn6mFragvclbWQzPfx G93LkBVSlTEKTNflYUBHFUW26yJde4fX1z5WAJdf72CB8eUXGILUImKIpA8I3gnQGm8A d32zsvkghbNmbPyo6FXNIHHJURE5iEMcVlL6buZmZkWUUFyxcR9IGmcQT67wdtJsrdKX 9/KmE6lXw7CEMDHr6f5RIbp85vIMzatKIjWWShgdN0EqfAbKWjjG9zsg1vdTjo8xrbtN EbuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oWe83oGy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w27-20020a63af1b000000b00543ad8b8807si3286641pge.826.2023.06.12.00.50.45; Mon, 12 Jun 2023 00:50:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oWe83oGy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234805AbjFLHmS (ORCPT + 99 others); Mon, 12 Jun 2023 03:42:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235128AbjFLHmH (ORCPT ); Mon, 12 Jun 2023 03:42:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D97B10E3; Mon, 12 Jun 2023 00:41:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3735661FC8; Mon, 12 Jun 2023 07:39:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC41AC4339E; Mon, 12 Jun 2023 07:39:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686555554; bh=MVdRnRhrlhbl8xnpIjlqH8jg3Cbp1KqmCllhJz17e9Y=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=oWe83oGypAiCr3xshi2DRx5t/wqAqJGeq5EIwW7fyalcGhH6i4uhCW9btAKHfd0c5 FjUD3KhyZsTest07qQw2V82ssuyDiF6IoBRSl3N3fLvJER8OUDdAAaFXlx5Yghhj/i GfXVQsFzYgLJL9PCEvgzjDdaaSpshu75CDvH1ryQ5jLk+AVdY4c44G0DkYhZzuAjsa 4Tsk/nQZ5R9jURjsHG6o2EhDUhgcWfqf3xvmMl+/yDXvDl2c4nutYuvoPOJ0C4KmIi 7n2qaQXW6RW96YsmU8PgydLRLrAJSIsMtggAkTPk+bHIViHTbk2jMFyfOaXlp9sT6z 1KoaiHM564LVg== Date: Mon, 12 Jun 2023 09:39:10 +0200 (CEST) From: Jiri Kosina To: srinivas pandruvada cc: Daniel Thompson , Jonathan Cameron , Benjamin Tissoires , Bjorn Andersson , linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] HID: sensor-hub: Allow multi-function sensor devices In-Reply-To: <51dfdee66713e470d9a925ac5a8f8ae1da644462.camel@linux.intel.com> Message-ID: References: <20230528092427.42332-1-daniel.thompson@linaro.org> <51dfdee66713e470d9a925ac5a8f8ae1da644462.camel@linux.intel.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 11 Jun 2023, srinivas pandruvada wrote: > > > The Lenovo Yoga C630 has a combined keyboard and accelerometer that > > > interfaces via i2c-hid. Currently this laptop either has a working > > > keyboard (if CONFIG_HID_SENSOR_HUB is disabled) or a working > > > accelerometer. only works on kernels. Put another way, most distro > > > kernels enable CONFIG_HID_SENSOR_HUB and therefore cannot work on > > > this device since the keyboard doesn't work! > > > > > > Fix this by providing a richer connect mask during the probe. With > > > this change both keyboard and screen orientation sensors work > > > correctly. > > > > > > Signed-off-by: Daniel Thompson > > > > Srinivas, are you aware of any multi-function device that this patch > > might break? > I tried two systems, one with ISH and another with external hub. Didn't > break anything. I don't have 5+ years old systems, to confirm if it will > break something on older systems with external hub. Thanks a lot. Can I take the above as an equivalent of Acked-by: Srinivas Pandruvada ? :) -- Jiri Kosina SUSE Labs