Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1833641ybn; Thu, 26 Sep 2019 02:57:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkN/ZGs/x/LtUoVC+8Ntrh7l3B9iZH41bR8x2N6O/fmizLGYJ8XujHL7mp/g0E85CScquL X-Received: by 2002:a50:8a9a:: with SMTP id j26mr2552045edj.251.1569491837574; Thu, 26 Sep 2019 02:57:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569491837; cv=none; d=google.com; s=arc-20160816; b=aZkXrIUzTKuv1JHfWBpDMCt+gvRhpYsqeidIKr+2I0R2Vk06UzspQW6Np3rGuBP9nv vlB2+ORyfqCtYv+fA4i0ydg8386ulYOP/P7SDVJWbWVnz3fHLDcWCN8Sf/tS53rcL68J pI/LloHVblRMGwMlYeCGBzuUUYTnORqvt9LUEhC7mXulqAcgos8Gj2slR4YLinz/XXlZ QZAHFxGAUtPqLd3c+A1W+ugaashor0ZXUv3ct+Q0UrjG9ji7ndmSJPl5MpsQNq6EzjSU 7yi2fFCAfqii07br3UJi7PZF3sjtAFpHT6GO85zKp/rVW7kG/3SXhp8HdEdNw7NUss5H kG1A== 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 :in-reply-to:references:mime-version:dkim-signature; bh=fHcbuntDnsVUfFhGW0BGHBxzBHdnDjeNwAIplYLCMj8=; b=GzH7xaRXhWlE2p2V4ZKspMVgdWlQZ4GY6BIsc9UpUbnhj4eSqU4mp8yKKmUvt/0Cep 2SNrOBa9/A6ZtYdUxMoYiJ/jWAZxvxTnfxJmyZ9wIRI+pPzG3QCTRSrulsPko6ULRGmh R2yFGw0Ihia1U+Le0VT8GT6CfDiMgLL/L4XtbsYPSG1FLGAqR8OCqRTSN1j1gRVrPoJj HdnWY1aSIN2CtokPiQVW1+ohWNR1ccTb9iD4o8a7XG9LJ8ikFl2LU6OzuhgKi/5nRvv6 AG0coUiYjan3q+2FwTfBvyvj/mJZVhn0FJLOBgq9iwO6DPjVALhy2Xn86TVjavMy0Aht xgeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Uss1/B4K"; 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 l22si1077774edb.241.2019.09.26.02.56.54; Thu, 26 Sep 2019 02:57:17 -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="Uss1/B4K"; 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 S2392904AbfIYUL3 (ORCPT + 99 others); Wed, 25 Sep 2019 16:11:29 -0400 Received: from mail-lf1-f46.google.com ([209.85.167.46]:44926 "EHLO mail-lf1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726062AbfIYUL2 (ORCPT ); Wed, 25 Sep 2019 16:11:28 -0400 Received: by mail-lf1-f46.google.com with SMTP id q11so5175264lfc.11; Wed, 25 Sep 2019 13:11:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fHcbuntDnsVUfFhGW0BGHBxzBHdnDjeNwAIplYLCMj8=; b=Uss1/B4KqOaSpr6tQBBN9sky6FM3tYRCnNj9bWQS+INaaGSFUR56mpbIV9kPbRtKEa HVaPOnrEnv+FhGW4tuZ0oL9ZkvI49KYNbpWcRR1Q6HCdjt5t+e7wo7mwCNvqQ+urNa4/ 3Xs4nYzRtcECBZLv3x43dVjXAfsc9ZFUpjsrNCWnqnA3NAtZuwh0AH2u/yH9jn2mejDj tcgbRJXWMU6dwoUgdpC5C9/UHoaYrcedM8Q/PVWfPZ08NwYIYrpqA2xVaYiZ7dytabZ8 D4McVZRUaX5/xxVqYgyYuuxOvJiJBeTdQdjKGB/46Q1y/yF2YUd4/U+Nr5Q7OpbrtXgz 9Ggg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fHcbuntDnsVUfFhGW0BGHBxzBHdnDjeNwAIplYLCMj8=; b=V3ZkwRMZztH5J87VAYXYZbeNkwl3trPgH7g0HgmbCGoaTg3gtELe89ag/g7FD9kso9 tArApylNTriNW6MzHZneM7f019dInI8W2PN+kE8K1LM6I8av85UQrzL/WGKXzX7kvqaI jjRYBMo9h4jd8UtzBnrOHMJVEiw9LhLW1AF8bBoI/cE2STcazFWy3k0IorjBr42g5k5k vZiMHVbKRI73qMYXJq5/1QZrco+zUPM4d7aQfCPeFnhA/j009XFRD4Ajz35+9FaxqiJ1 wgrp5TLJI2Pu4tByECY1OdqTrM9kPRrRExXKBpYvdqVVR0vUtaAPfeCQdYyqlzpKxCcU nOrA== X-Gm-Message-State: APjAAAVsokjf6/U5BeNmh/W0N/fgow2AS3e2nqf+F9jR7QOEuWO6Dkux 0w1E7El+M4dFjxSIK6n86h0+da+sZcXDstuGDA== X-Received: by 2002:ac2:554e:: with SMTP id l14mr7688848lfk.32.1569442286852; Wed, 25 Sep 2019 13:11:26 -0700 (PDT) MIME-Version: 1.0 References: <20190925075026.GY3878@linux-l9pv.suse> In-Reply-To: <20190925075026.GY3878@linux-l9pv.suse> From: Gabriel C Date: Wed, 25 Sep 2019 22:10:55 +0200 Message-ID: Subject: Re: acer_wmi: Unknown function(s) on Acer Nitro 5 (AN515-43-R8BF) To: Joey Lee Cc: "platform-driver-x86@vger.kernel.org" , Andy Shevchenko , Darren Hart , LKML 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 Am Mi., 25. Sept. 2019 um 09:53 Uhr schrieb Joey Lee : > > Hi Gabriel, > > On Mon, Sep 23, 2019 at 09:45:05PM +0200, Gabriel C wrote: > > Hi guys, > > > > I noticed some warning in dmesg on this Laptop. > > > > Fn+right, Fn+left is BrightnessDown/Up and produce the following warning: > > > > acer_wmi: Unknown function number - 4 - 0 > > > > The brightness has some other issue on this Laptop but not sure > > who to blame on this. Probably amdgpu.? > > > > /sys/class/backlight/amdgpu_bl1/brightness <-> actual_brightness > > seems to mismatch. EG: when brightness is 0 actual_brightness is still 5140. > > > > Base on _BCM and _BQC in your DSDT. The backlight control is handled by EC. > But, in some Acer machines that the _BCM is broken. You can try to modify > brighess by echo to sys/class/backlight/acpi_video0/brightness Unfortunately, the only thing in /sys/class/backlight is amdgpu_bl1. Basically I should have 2 , acpi_video0 & acpi_video1 however none there. > > > Unplugging the AC gives the following warning: > > > > acer_wmi: Unknown function number - 8 - 0 > > > > When plugging the AC back I see; > > > > acer_wmi: Unknown function number - 8 - 1. > > > > I uploaded a dump of the acpi tables and dmidecode of the box. > > > > https://www.frugalware.org/~crazy/nitro5/ACPI > > https://www.frugalware.org/~crazy/nitro5/DMI > > > > Please let me know if you need any other informations. > > > > Thanks for your report the behavior for the function 4 and function 8. > Maybe we can use the platform event to do something. e.g. expose key code > to userland. Unfortunately my working list is too long that I do not have > time for it currently. > Is fine, no worry. Take your time. Things are working more or less so no rush. Just one thing. While it is fine to report the Unknow functions/keys by default once reported upstream the user may want to silence these until implemented. In my case using the keys for the brightness floods the dmesg with these messages. Would be maybe is possible to have some 'do_not_bug_me' module parameter to silence the Unknow functions/keys messages? > Thanks a lot! > Joey Lee BR, Gabriel C