Hello again! Sorry for taking so long. Real life stuff gets in the way :( On Tue, Jul 22, 2025 at 07:09:37PM +0300 Armin Wolf wrote: > Take a look at https://docs.kernel.org/wmi/driver-development-guide.html. Thanks! Coupled with articles [1] and [2] this was a very good introduction to WMI and ACPI. > Sure, but you have to develop a new WMI driver for your device because after looking at the > ACPI tables (SSDT20 in particular) i came to the conclusion that the xiaomi-wmi driver cannot > be used in this case. Why is that? Is it because xiaomi-wmi is using deprecated GUID-based WMI interface? Btw, it's so weird for me that there are many laptop models, but only one *-wmi.c file per manufacturer (be it Xiaomi, ThinkPad, MSI or Asus). Is it because most of the time we write a driver for a specific piece of hardware that may be reused in different laptop models? > I suggest that you write a skeleton driver first that basically prints > the content of this buffer to the kernel log using print_hex_dump_bytes(). About that... Would you be okay with me implementing this driver in Rust? I assume it's you, an ACPI WMI DRIVER maintainer, whose permission needs to be granted to green-light this? [1]: https://lwn.net/Articles/391230/ [2]: https://lwn.net/Articles/367630/ -- Nikita Krasnov