https://bugzilla.kernel.org/show_bug.cgi?id=215835

            Bug ID: 215835
           Summary: Linux does not pick up EC queries from brightness
                    hotkeys (ideapad 5 15ITL05)
           Product: ACPI
           Version: 2.5
    Kernel Version: 5.18-rc2
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: EC
          Assignee: acpi...@kernel-bugs.osdl.org
          Reporter: johannes.pens...@gmail.com
        Regression: No

Created attachment 300753
  --> https://bugzilla.kernel.org/attachment.cgi?id=300753&action=edit
acpidump

In Linux the brightness hotkeys on my laptop do not generate any sort of
response. No key code, ACPI event, WMI event, etc...

In Windows 11, event viewer shows that pressing the keys calls one of these
methods:

            Method (_Q11, 0, NotSerialized)  // _Qxx: EC Query, xx=0x00-0xFF
            {
                P80B = 0x11
                Notify (^^^GFX0.DD1F, 0x87) // Device-Specific
                Notify (VPC0, 0x80) // Status Change
            }

            Method (_Q12, 0, NotSerialized)  // _Qxx: EC Query, xx=0x00-0xFF
            {
                P80B = 0x12
                Notify (^^^GFX0.DD1F, 0x86) // Device-Specific
                Notify (VPC0, 0x80) // Status Change
            }

This results in an ACPI brightness event being generated. Calling these methods
directly in Linux via the AML kernel debugger results in the same behaviour.
But for some reason, this cannot be triggered by pressing the keys like in
Windows. In contrast to other EC-controlled actions such as toggling fn-lock or
changing keyboard backlight level, all of which generate EC queries, there
seems to be absolutely no such response from the EC when pressing the
brightness keys, other than a register increasing/decreasing in value. (logged
with this command: echo -n 'file ec.c +p' | sudo tee
/sys/kernel/debug/dynamic_debug/control)

The usual commandline parameters such as acpi_backlight and acpi_osi have no
effect either. Backlight control is exposed through the intel_backlight sysfs
device and works fine otherwise.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to