Re: acer_wmi: Unknown function(s) on Acer Nitro 5 (AN515-43-R8BF)

From: Joey Lee
Date: Wed Sep 25 2019 - 03:53:20 EST


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

> 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.

Thanks a lot!
Joey Lee