Re: [PATCH v14 RESEND 0/6] Merge redmi-wmi into bitland-mifs-wmi

From: Chris Taraszka

Date: Mon Oct 26 2026 - 16:26:22 EST


On Mon, 26 Oct 2026, Hans de Goede wrote:
> Hmm, I wonder if this maybe sends some scan-code on the PS/2 atkbd
> interface? Windows must get an event somehow ...

Hi Hans,

It does, but only the plain Space scancode: Fn+Space gives scan 0x39 /
KEY_SPACE on the atkbd device, the same as Space alone, and Fn on its
own sends nothing. So there is nothing that tells it apart from Space.

> Ack, this sounds like a case for calling platform_profile_cycle() if
> platform-profile support is present.

I can send a patch for that on top of Mingyou's series and my TM2424
patches.

> Hmm, if the value-low toggles I wonder if the firmware also mutes
> the mic itself ? This may need some special handling.

It does not. I played a 1 kHz tone through the speakers and recorded it
with the internal microphone while pressing mic mute, with the PipeWire
source forced unmuted: the level stayed the same with the key's LED on.

The LED is driven by the firmware and follows its own toggle state,
which is what value_low reports. It does not follow the OS mute: muting
the source from userspace leaves the LED off. So the two can get out of
sync, but nothing in the audio path needs special handling.

Thanks,
Chris