From: Mingyou Chen <qby140326@gmail.com>
To: okluar <okluar@gmail.com>
Cc: platform-driver-x86@vger.kernel.org
Subject: Re: [BUG] platform/x86: bitland-mifs-wmi: performance profile fails on TIMI A30 (USB-C only)
Date: Tue, 3 Nov 2026 22:51:02 +0800 [thread overview]
Message-ID: <ccc319f4-24aa-496b-8366-fcfdbd5dbce6@gmail.com> (raw)
In-Reply-To: <CAFbNUuJGjo5OW1JZhO=uXqk07fmzE8yo2Qibe5PoOtHCmoQXpQ@mail.gmail.com>
On 11/3/26 16:41, okluar wrote:
> Hello,
>
> I am reporting an issue with the platform_profile interface on a
> USB-C-only machine.
>
> Hardware:
> - Model: TIMI A30 (Xiaomi Mi Notebook Pro X 15, 2021)
> - CPU: 11th Gen Intel(R) Core(TM) i7-11370H
> - iGPU: Intel Iris Xe Graphics
> - dGPU: NVIDIA GeForce RTX 3050 Ti Mobile
> - Charging: USB-C PD only (130W). No barrel-jack DC input.
> - Kernel: 7.3.1-1-cachyos (Arch-based)
> - Driver: bitland_mifs_wmi
>
> Problem:
> platform_profile_choices correctly lists:
> low-power balanced balanced-performance performance
>
> However, switching to performance fails, regardless of whether the
> USB-C charger is connected:
> $ powerprofilesctl set performance
> Failed to communicate with power-profiles-daemon: ... Failed to
> write to acpi_platform_profile:
> Error writing '/sys/firmware/acpi/platform_profile': Operation not
> supported (15)
>
> Direct write also fails:
> $ echo performance | sudo tee /sys/firmware/acpi/platform_profile
> tee: /sys/firmware/acpi/platform_profile: Operation not supported
>
> Analysis:
> This appears to be the same root cause as other USB-C only models: the
> function bitland_check_performance_capability() requires
> WMI_SYSTEM_AC_CIRCULARHOLE (barrel-jack DC), which is physically
> impossible on this USB-C-only machine. The driver advertises the
> profile in choices but rejects writes in profile_set().
>
> I am happy to test any patches on this model. Please let me know if
> further ACPI tracing is needed.
>
> Thank you.
Hi, this problem is being fixed with the following patch series.
Please add your model to the quirks table before you test the patches.
Link to the patches:
https://lore.kernel.org/all/20261028112742.674847-1-qby140326@gmail.com/
I take a look at your timi_a30_acpi.dat attachment, here's the quirk for
your machine:
static const struct bitland_profile_entry timi_a30_profile_entries[] = {
/* Change this information if it doesn't match your device. */
{ PLATFORM_PROFILE_LOW_POWER, 2 },
{ PLATFORM_PROFILE_BALANCED, 1 },
{ PLATFORM_PROFILE_PERFORMANCE, 0 },
};
static const struct bitland_mifs_quirks timi_a30_quirks = {
.profile_entries = timi_a30_profile_entries,
.num_profile_entries = ARRAY_SIZE(timi_a30_profile_entries),
.return_code_at_end = false,
.skip_ac_type_check = true,
};
static const struct dmi_system_id bitland_mifs_dmi_table[] = {
{
.matches = {
/* Change this information if it doesn't match your device. */
DMI_MATCH(DMI_SYS_VENDOR, "TIMI"),
DMI_MATCH(DMI_PRODUCT_NAME, "A30"),
},
.driver_data = (void*)&timi_a30_quirks,
},
{}
};
next prev parent reply other threads:[~2026-11-03 14:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 8:41 [BUG] platform/x86: bitland-mifs-wmi: performance profile fails on TIMI A30 (USB-C only) okluar
2026-11-03 14:51 ` Mingyou Chen [this message]
2026-11-03 22:26 ` okluar
2026-11-06 14:53 ` Mingyou Chen
2026-11-08 20:19 ` okluar
2026-11-09 10:16 ` Mingyou Chen
2026-11-09 13:07 ` okluar
2026-11-11 13:17 ` Mingyou Chen
2026-11-11 14:29 ` okluar
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=ccc319f4-24aa-496b-8366-fcfdbd5dbce6@gmail.com \
--to=qby140326@gmail.com \
--cc=okluar@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.