Re: Missing ACPI driver for a keyboard button in Xiaomi RedmiBook Pro 16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 21, 2025 at 02:23:32AM +0300 Armin Wolf wrote:
> please share the whole output of acpidump as the DSDT contains only two unrelated
> WMI devices.

Sure! I've attached a ZIP archive with the output of the `acpidump -b`.

> I think that we do not need another driver in this case, as the xiaomi-wmi driver
> is responsible for handling WMI events on Xiaomi devices. I can check what needs
> to be done in order to add support for those additional keyboard events, but for
> that i need the full output of acpidump.

Btw, I'd appreciate if you didn't patch the driver yourself and instead
let me do it. This is a golden opportunity for me to gain some
experience! :D

If you may, there are some questions I have about this issue:

 1. From what I saw on the internet, ACPI is a protocol
    (specification?) for how the power management is done on the modern
    hardware. What do keyboard events have to do with ACPI? Is it
    because the keypress here is handled by the firmware?

 2. Where in the kernel source tree can I seem some similar drivers?
    Something to understand there general structure and internals.

 3. What is WMI? Primarily in the context of the Linux kernel, of
    course There is Documentation/driver-api/wmi.rst, but it hard to
    understand what exactly is it talking about if you had no prior
    experience with writing drivers.

-- 
Nikita Krasnov

Attachment: acpidump.zip
Description: Zip archive

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux