Linux ACPI
 help / color / mirror / Atom feed
From: Nikita Krasnov <nikita.nikita.krasnov@gmail.com>
To: Armin Wolf <W_Armin@gmx.de>,
	linux-acpi@vger.kernel.org, linux-input@vger.kernel.org,
	platform-driver-x86@vger.kernel.org, linux@weissschuh.net,
	fengwk94@gmail.com
Subject: Re: Missing ACPI driver for a keyboard button in Xiaomi RedmiBook Pro 16
Date: Tue, 22 Jul 2025 15:48:57 +0300	[thread overview]
Message-ID: <b1f1fa0f-fd32-4e5d-a9df-9ac2af428a86@gmail.com> (raw)
In-Reply-To: <68cc7f60-39b1-47f3-9120-82f8b0f26d9c@gmx.de>


[-- Attachment #1.1.1: Type: text/plain, Size: 1420 bytes --]

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 #1.1.2: acpidump.zip --]
[-- Type: application/zip, Size: 137174 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2025-07-22 12:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-19 23:39 Missing ACPI driver for a keyboard button in Xiaomi RedmiBook Pro 16 Nikita Krasnov
2025-07-20 10:58 ` Nikita Krasnov
2025-07-20 23:17   ` Armin Wolf
2025-07-20 23:23 ` Armin Wolf
2025-07-22 12:48   ` Nikita Krasnov [this message]
2025-07-22 16:09     ` Armin Wolf
2025-07-27 11:23       ` Nikita Krasnov
2025-07-27 22:24         ` Armin Wolf
2025-07-27 23:36           ` Nikita Krasnov
2025-07-28 21:22             ` Armin Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b1f1fa0f-fd32-4e5d-a9df-9ac2af428a86@gmail.com \
    --to=nikita.nikita.krasnov@gmail.com \
    --cc=W_Armin@gmx.de \
    --cc=fengwk94@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux@weissschuh.net \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox