From: Armin Wolf <W_Armin@gmx.de>
To: KentoNion <kento@kekto.ru>, platform-driver-x86@vger.kernel.org
Cc: "Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Mingyou Chen" <qby140326@gmail.com>,
"Gladyshev Ilya" <foxido@foxido.dev>,
linux-kernel@vger.kernel.org,
"Nabil Danial" <nabildanial.93@gmail.com>,
"Nika Krasnova" <nika@nikableh.moe>
Subject: Re: [RESEND PATCH 0/5] platform/x86: bitland-mifs-wmi: MIFS v2 firmware support (Xiaomi Book Pro 14 2026)
Date: Fri, 28 Aug 2026 00:04:45 +0200 [thread overview]
Message-ID: <34048264-7db9-46b2-b199-202ab6c09f4a@gmx.de> (raw)
In-Reply-To: <20260826132922.179563-1-kento@kekto.ru>
Am 26.08.26 um 15:29 schrieb KentoNion:
> Hi Armin,
>
> On Thu, Jul 30, 2026 at 11:24:14 +0200, Armin Wolf wrote:
>> can you share the output of "acpidump" on your machine? Missing Lid
>> events usually indicate a deeper problem with the ACPI handling on a
>> given machine.
> Same product as 4/5 (Xiaomi Book Pro 14 2026, DMI board_name=TM2424,
> SKU TM2424-77080, BIOS XMAPT4B0P0707 03/12/2026). acpidump.dat.xz is
> 416K, too large for vger; I can send it off-list or put it on GitHub.
> Decoded DSDT excerpts below.
>
> ECON is declared External in the DSDT and is not defined in any of
> the 34 SSDTs. The only references are _STA on Q_EC, ADP1 and LID0:
>
> External (ECON, IntObj)
>
> Device (Q_EC) /* _HID PNP0C09 */
> {
> Method (_STA, 0, NotSerialized)
> {
> If ((ECON == One))
> {
> Return (0x0F)
> }
> Return (Zero)
> }
>
> OperationRegion (ERAM, SystemMemory, 0xFE0B0300, 0x0100)
> /* LSTE is bit 0 at offset 0x14 of ERAM */
>
> Method (_GPE, 0, NotSerialized)
> {
> If (ESPI)
> {
> Local0 = 0x6E
> }
> Return (Local0)
> }
>
> Method (_Q0C, 0, NotSerialized) /* lid close */
> {
> LIDS = Zero
> ^^^GFX0.CLID = Zero
> Notify (LID0, 0x80)
> }
>
> Method (_Q0D, 0, NotSerialized) /* lid open */
> {
> LIDS = One
> ^^^GFX0.CLID = 0x03
> Notify (LID0, 0x80)
> }
>
> Device (LID0) /* _HID PNP0C0D */
> {
> Method (_STA, 0, NotSerialized)
> {
> If ((ECON == One))
> {
> Return (0x0F)
> }
> Return (Zero)
> }
> }
> }
>
> So _STA would return 0 even if ECON existed and were zero, and today
> it AE_NOT_FOUNDs:
>
> ACPI BIOS Error (bug): Could not resolve symbol
> [\_SB.PC00.LPCB.Q_EC._STA.ECON], AE_NOT_FOUND
> (same for Q_EC.ADP1._STA and Q_EC.LID0._STA)
>
> That does not stop the boot DSDT EC or the lid button on this BIOS:
>
> ACPI: EC: EC started
> ACPI: \_SB_.PC00.LPCB.Q_EC: Boot DSDT EC used to handle transactions
> ACPI: EC: interrupt unblocked
> ACPI: EC: event unblocked
> ACPI: EC: GPE=0x6e
> ACPI: \_SB_.PC00.LPCB.Q_EC: EC: Used to handle transactions and events
> input: Lid Switch as .../PNP0C09:00/PNP0C0D:00/input/input0
> ACPI: button: Lid Switch [LID0]
>
> LID0 is \_SB_.PC00.LPCB.Q_EC.LID0.
> /proc/acpi/button/lid/LID0/state reads "open" (SW_LID on event0).
> I have not yet captured a close/open pair under acpi_listen; I can
> if that is useful.
>
> 4/5's claim that "the ACPI EC driver therefore never binds" is not
> true here. Polling LSTE and evaluating _Q0C/_Q0D from bitland-mifs-wmi
> would be the wrong layer. I am not putting that in the TM2424
> follow-up on Mingyou's v5. The remaining bug is the missing ECON
> object used by _STA.
>
> Thanks,
> Kento
Interesting, i would suggest a BIOS update. Unfortunately this would likely require you
to also install Windows on this machine, because Xiaomi distributes BIOS updates thru
Windows Update :/.
Thanks,
Armin Wolf
next prev parent reply other threads:[~2026-08-27 22:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-28 18:09 孙 誉铭
2026-07-28 18:09 ` [RESEND PATCH 1/5] platform/x86: bitland-mifs-wmi: validate WMAA status, never abort suspend 孙 誉铭
2026-08-24 15:42 ` Ilpo Järvinen
2026-08-26 13:26 ` KentoNion
2026-08-26 13:29 ` KentoNion
2026-07-28 18:09 ` [RESEND PATCH 2/5] platform/x86: bitland-mifs-wmi: support MIFS v2 perf-mode mapping 孙 誉铭
2026-07-30 10:56 ` Mingyou Chen
2026-08-16 22:18 ` kento
2026-07-28 18:10 ` [RESEND PATCH 3/5] platform/x86: bitland-mifs-wmi: read fan tach from EC window on MIFS v2 孙 誉铭
2026-08-24 15:48 ` Ilpo Järvinen
2026-07-28 18:10 ` [RESEND PATCH 4/5] platform/x86: bitland-mifs-wmi: drive lid switch via EC poll on Xiaomi Book Pro 14 孙 誉铭
2026-08-24 16:00 ` Ilpo Järvinen
2026-08-26 13:26 ` KentoNion
2026-08-26 13:29 ` KentoNion
2026-07-28 18:10 ` [RESEND PATCH 5/5] Documentation: wmi: bitland-mifs-wmi: document MIFS v2 firmware variant 孙 誉铭
2026-07-30 9:24 ` [RESEND PATCH 0/5] platform/x86: bitland-mifs-wmi: MIFS v2 firmware support (Xiaomi Book Pro 14 2026) Armin Wolf
2026-08-26 13:26 ` KentoNion
2026-08-26 13:29 ` KentoNion
2026-08-27 22:04 ` Armin Wolf [this message]
2026-08-26 21:45 ` 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=34048264-7db9-46b2-b199-202ab6c09f4a@gmx.de \
--to=w_armin@gmx.de \
--cc=foxido@foxido.dev \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=kento@kekto.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=nabildanial.93@gmail.com \
--cc=nika@nikableh.moe \
--cc=platform-driver-x86@vger.kernel.org \
--cc=qby140326@gmail.com \
/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
all inboxes | Powered by JetHome®