Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp501302rdb; Thu, 21 Dec 2023 16:28:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IEEOR2+W7AUSl7SkzlEc29rbXVxnVBdd3BQO132nYXkMwRP2gr73ZTpMQ0VuR7/Q99gPzzH X-Received: by 2002:a05:651c:32c:b0:2cc:6f37:491a with SMTP id b12-20020a05651c032c00b002cc6f37491amr148822ljp.79.1703204915795; Thu, 21 Dec 2023 16:28:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703204915; cv=none; d=google.com; s=arc-20160816; b=EkvX+bidkutRegeyOsDSIni6qUmte54ktQILbmZCP999CTE/XopRz4m2oZwNGJVDBw 1clXTRENHOr1+ouFuwyuNQgfFXFOM4Ns76RIrmD3/eNHFMGWMC/FZFuaC8mgo1chhZ1m e47Vm3jZkKsGwbTStgNV6gEWltso74BWPkJ489asH4xytjW9Snlb/QQ3zUjapBAI1ed3 8ci9UUwYXNMPDnM6Z5iBKZGDUTovbOQ50d0Jre2hOpJ1nq/6t9o+Hv+o6hQ3YgxhIpv7 AXCqRrTxRs5aT4x3WXvksIQWv3UDnVxK08k/Ell4yD0h5BpZUkZprMiVz+iHnjuogk3r CI8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qII+fXoJ9UHaC296MjMF1zxwvUEcQFkT7xL8XRdq+lg=; fh=A+TDhX0KYzOg5n/je8iWszZtGCeX2Ki39aFPnK5FBsA=; b=F80TmEezyXMNwusRF+GWFpIxpkOE+3IHazY8C4eXCqqcxeu/F7LnkLDwqzYm8/83y/ rLKRkX3Z9TxA6L5DgculUbnpPg8chvbxcAJxTr7Jf5U18vOLT5O/xCU/pSkBXkDH2bJl 5nsF+XAQ2j1iIiWZGsK6eXiLFSpDqRT3il8fAB7ZWQzNxyxoyJu/uAyoDTxfMqx9JAKf FVV7NVu1QjFDdNIq9D689WiKLClZv5fIEzoeF9LcvtQwp2XyjAqVC4zkGLRTNK3sIhfH FKx38os4GqAwwpHW9BVxgHsB2/6pXg9xKHKC9PYx9P2kkT3kyr8ZdzKcjeUGdrynTzo7 h5vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hi4Mu4cZ; spf=pass (google.com: domain of linux-kernel+bounces-9206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 17-20020a508e11000000b0055400e1f047si1339915edw.311.2023.12.21.16.28.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 16:28:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hi4Mu4cZ; spf=pass (google.com: domain of linux-kernel+bounces-9206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 861051F217D5 for ; Fri, 22 Dec 2023 00:28:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 633A2819; Fri, 22 Dec 2023 00:28:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Hi4Mu4cZ" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92A0438B; Fri, 22 Dec 2023 00:28:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD1F9C433C8; Fri, 22 Dec 2023 00:28:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703204907; bh=SqKDW5o4SkZ1lpgESCyFwZdgpuX2II7+pO/GgJAr1ng=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Hi4Mu4cZF1U8ScsKkTJo11CBOrljdjdk0crjTwNk8cZeuX92OfovmKMxzHELCLiYN 6QCpQegBdyFh4rlIq3VnSUIhZ68GsZZGZOLFxsVogH0WF1yaXABXSyJG4Ubata4ehV Kw/cKfQQBXPuJnWp01c9So1KoOc+ga/5oZeJfB0//FHSUNB017inOIWy5BJ9WWSTdT zniEPG78ILDfKYMbFgImctOu2rFkYCtZ6EtpIx2C6ve5SNtCVujGD2rDewqaAuTQBR kZ8OJpfWGSmRC7wZ6pgOHFug3FvAhkdQv11YXU3tDORtXuyoukn0BppFreL1xIkr08 QMD/LnPHKQkLQ== Date: Fri, 22 Dec 2023 01:28:24 +0100 From: Andi Shyti To: Paul Menzel Cc: Jean Delvare , Pali =?utf-8?B?Um9ow6Fy?= , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] i2c: i801: Add 0x29 as =?utf-8?B?ScKy?= =?utf-8?Q?C?= address for lis3lv02d in Dell XPS 15 7590 Message-ID: <20231222002824.ka2ahpeov5qwi7sr@zenone.zhora.eu> References: <20231220161003.68310-1-pmenzel@molgen.mpg.de> <20231220161003.68310-2-pmenzel@molgen.mpg.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231220161003.68310-2-pmenzel@molgen.mpg.de> Hi Paul, On Wed, Dec 20, 2023 at 05:10:02PM +0100, Paul Menzel wrote: > On the Dell XPS 15 7590/0VYV0G, BIOS 1.24.0 09/11/2023, Linux prints the > warning below. > > i801_smbus 0000:00:1f.4: Accelerometer lis3lv02d is present on SMBus but its address is unknown, skipping registration > > Following the same suggestions by Wolfram Sang as for the Dell Precision > 3540 [1], the accelerometer can be successfully found on I?C bus 2 at > address 0x29. > > $ echo lis3lv02d 0x29 | sudo tee /sys/bus/i2c/devices/i2c-2/new_device > lis3lv02d 0x29 > $ dmesg | tail -5 > [ 549.522876] lis3lv02d_i2c 2-0029: supply Vdd not found, using dummy regulator > [ 549.522904] lis3lv02d_i2c 2-0029: supply Vdd_IO not found, using dummy regulator > [ 549.542486] lis3lv02d: 8 bits 3DC sensor found > [ 549.630022] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input35 > [ 549.630586] i2c i2c-2: new_device: Instantiated device lis3lv02d at 0x29 > > So, the device has that accelerometer. Add the I?C address to the > mapping list, and test it successfully on the device. > > [1]: https://lore.kernel.org/linux-i2c/97708c11-ac85-fb62-2c8e-d37739ca826f@molgen.mpg.de/ > > Signed-off-by: Paul Menzel Reviewed-by: Andi Shyti Thanks, Andi