Received: by 10.223.176.5 with SMTP id f5csp1297061wra; Wed, 31 Jan 2018 04:26:03 -0800 (PST) X-Google-Smtp-Source: AH8x227FwxB9yHa6LqaBS1v8ekM0ZXAb+X1dxJO7aPRvFG4GWynzkvqfAkkZSEQ0Fgbq/1juhZEz X-Received: by 10.98.152.149 with SMTP id d21mr33439799pfk.108.1517401563382; Wed, 31 Jan 2018 04:26:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517401563; cv=none; d=google.com; s=arc-20160816; b=Ok3+MoZhBO1pANLEReT/+5AMc3PMKytjYPQaCTbdEIyilIYz5sAY/e+CfWFasrSJ/S Lqz/TsqMuB/dogQ1GvJYeyQOCdtylmVxDHVReqorntWIJvQATR+z6JctS4uUSvHIA/O/ SXSHkiBVIBnEgV9ITqsHMVIaDjaRuBw/yQx7fzqJ5oLxq9ImVN28q75NPLCSZ2GedEW9 DUt3yNnSVlw1d5fFrqjy282xrnPnwKSASdd6CuXGzPIlXpuLVFh+hHzWp8Q49FY/T0vJ Ar9Pspg1Pu18DH0bkJR+88ie8XO5hmfgdcjZZD7vOlgJXG+Ee6DeGduAeP8F/6KEkGdt voVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=OuAvK5lay0xcueD2WacoqeZQXidbblS+82JRCtFGQxI=; b=1B98v/nbwRu85vZXuiWtUEDt5q8Yj0NfYbGVNnYOIJNPyTDt8y9QnJklQO4vmrrx2F nZMJ5GEAJ0vmvS8FDyfp+epz7JxcROFiikCNCgJkjRdNecT+RhNt/N/J4fHSjPrNqgtH X1xvYqWUbBy84/e9fjb7+NG4lfy4UuWrl8VBvRVChbAW59ZX9VVnhBqbzzOfQ8qKUoB9 v9oa2SEPFsXhM7c+YTVDol6qYPaXvNKcBB781tqANabpO5oqMDwNzEQIHh8/1vItvqmJ AxyNJJOhcwYYfBjxcyKLTuhOH5Cw8VqpNt8u+3XxBUH7dgAoGBG0Dhb72LLMXmm8lybB PhHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kg+/zg3T; 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=NONE 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 f130si1035682pgc.57.2018.01.31.04.25.48; Wed, 31 Jan 2018 04:26:03 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kg+/zg3T; 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=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752401AbeAaMZT (ORCPT + 99 others); Wed, 31 Jan 2018 07:25:19 -0500 Received: from mail-qt0-f181.google.com ([209.85.216.181]:42491 "EHLO mail-qt0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752447AbeAaMZQ (ORCPT ); Wed, 31 Jan 2018 07:25:16 -0500 Received: by mail-qt0-f181.google.com with SMTP id c2so21510180qtn.9; Wed, 31 Jan 2018 04:25:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=OuAvK5lay0xcueD2WacoqeZQXidbblS+82JRCtFGQxI=; b=kg+/zg3Tf9ydKofOxczS3ep8QZE+Q6meHa9Qg3ka7TFPmdGO07hQOHBef1GtDpsLZi 3+4HRcrcLuY6Q0/6GcIMQEAPRfruhQDVFAEtfgn/StRBDIA+v+p/euncQFXBR6W8aYDU hZJo6A0CX0AKrV78GbR5nFo6DF/jL6hw+bBj6gVZ2SXdCsMl+N3jhvTJqw8hqIEYIw/y CtZT2hCOJK5lW2MC9wVvGeFTn/Vl1P2TVPo5JoNRVyWlLCdmq/KW9U9UU/a2I0W4XAKl uCg3dgvCTsmcaeBugPX7SEu2elt8fYvkKdycbSeLGmC1iWIPTzVMxuTgoWcGUBIcM5lr oUdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=OuAvK5lay0xcueD2WacoqeZQXidbblS+82JRCtFGQxI=; b=Lv8eSi7ITHrY03+qEMiWlj8RoiLifzvvuM2J3rGTfhtfnesiVSWVduO/qvw1x59pD0 rObY/wmdRlAFbaHXzZBDLPreP18el3pYqL6o+XpQ6yk0luXZcpt+3XzTFgdXjlecliZM tTv6IImTYq6lOBEZgJhQr6zH8zYUjstHHkA7lVSiDLj2/YLdiP3mhtCCmUcxXhgZlDuT iiq7eU6zuZhmEkpXaTqYn2z/KSyCPYlwc1MmXvSP8HQACP7CL5F91986aLO0UT3TVOd9 5HXQ5CrE1nR5XU0gglT03BogTPREC4UqQI63tQZ5GdT1j4UBJNTLxaU1PACr2CazCfX0 UNdQ== X-Gm-Message-State: AKwxytclRnNsC+ApCLduQ0j8DSkpc22phg0p9W1gFOC5vCqieNxvHa+U xp5Sc7/9bh+IhZppZVRjgyPQp4F0IjrlGZ/OMFw= X-Received: by 10.200.22.187 with SMTP id r56mr48621670qtj.190.1517401515117; Wed, 31 Jan 2018 04:25:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.175.35 with HTTP; Wed, 31 Jan 2018 04:25:14 -0800 (PST) In-Reply-To: <9171d401-32de-b334-40da-5e80a00e24d9@redhat.com> References: <010001602cf53153-39ad69f1-1b39-4e6d-a748-9455a16c2fbd-000000@email.amazonses.com> <20171210182152.70ad8fbf@archlinux> <01000160dccefcb4-25edfd89-56f3-486f-88a4-cb8c07253974-000000@email.amazonses.com> <20180114104330.2aa7c1fd@archlinux> <20180128094021.572ab366@archlinux> <20180130160107.000006df@huawei.com> <9171d401-32de-b334-40da-5e80a00e24d9@redhat.com> From: Andy Shevchenko Date: Wed, 31 Jan 2018 14:25:14 +0200 Message-ID: Subject: Re: [PATCH v2] iio: accel: bmc150: Check for a second ACPI device for BOSC0200 To: Hans de Goede Cc: Steve Presser , Hartmut Knaack , Jeremy Cline , Jonathan Cameron , Jonathan Cameron , Lars Kellogg-Stedman , Lars-Peter Clausen , Linux Kernel Mailing List , Mika Westerberg , Peter Meerwald-Stadler , Wolfram Sang , linux-iio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 31, 2018 at 1:43 PM, Hans de Goede wrote: > On 01/30/2018 06:38 PM, Andy Shevchenko wrote: >> On Tue, Jan 30, 2018 at 7:25 PM, Steve Presser >> wrote: >> Yep. See chapter 8.2. Isn't enough proof? Or you believe in two >> accelerometers with off-by-one conflicting address on a cheap laptop >> with left unused two magnetometers on the same time? > This is not a cheap device, this has been seen on a Lenovo Yoga 11e, > the yoga's typically have an accelerometer in both the base and the display > and have no use for a magnetometer. Not saying that you're wrong, Yep, Steve explained to me. Thanks! > but my expectations are different. Anyways we need to find someone to > test this, I asked Jeremy to write a patch for this because we had > Yoga 11e user (Lars Kellogg-Stedman in the CC) asking question and > Jeremy did ask that Lars to test. > > It looks like we will need to reach out to Lars and get some testing done > to figure this out one way or the other. > > Lars if you're reading this can you please reply. If you've trouble > building your own kernels for testing, would you be willing to install > Fedora so that we can provide test kernels for you? Have you chance a look at the branch I pushed yesterday? > For reference here is the relevant DSDT blurb from the Yoga 11e: Yes, I have googled something like this yesterday, but it doesn't clarify what kind of devices behind this entry. > Device (ACC) > { > Name (_ADR, Zero) // _ADR: Address > Name (_HID, "BOSC0200") // _HID: Hardware ID > Name (_CID, "BOSC0200") // _CID: Compatible ID > Name (_DDN, "Accelerometer") // _DDN: DOS Device Name > Name (_UID, One) // _UID: Unique ID > Method (_CRS, 0, NotSerialized) // _CRS: Current Resource > Settings > { > Name (RBUF, ResourceTemplate () > { > I2cSerialBusV2 (0x0019, ControllerInitiated, > 0x00061A80, > AddressingMode7Bit, "\\_SB.PCI0.I2C3", > 0x00, ResourceConsumer, , Exclusive, > ) > I2cSerialBusV2 (0x0018, ControllerInitiated, > 0x00061A80, > AddressingMode7Bit, "\\_SB.PCI0.I2C3", > 0x00, ResourceConsumer, , Exclusive, > ) > }) > Return (RBUF) /* \_SB_.PCI0.I2C3.ACC_._CRS.RBUF */ > > } -- With Best Regards, Andy Shevchenko