Re: [REGRESSION] Toshiba Fn keys + lidswitch

"Rafael J. Wysocki" <[email protected]>
Newsgroups dev.linux.lists.regressions,org.kernel.vger.linux-acpi,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm,org.kernel.vger.platform-driver-x86,org.kernel.vger.stable
Message-ID <CAJZ5v0jVQyWYqPo_MiUwNQb7FLNR_Q_++Xq=xA1owcHpcjN=OA@mail.gmail.com>
On Tue, May 12, 2026 at 7:16 PM Nick <[email protected]> wrote:
>
> My Toshiba Tecra X40 laptop's function keys no longer send events.
>
> Specifically the mute ("KEY_MUTE"), lock ("KEY_COFFEE"), "power plan"
> ("KEY_BATTERY"), sleep ("KEY_SLEEP"), mic mute (for some reason this
> reads as "KEY_SUSPEND"), screen switch ("KEY_SWITCHVIDEOMODE"),
> brightness ("KEY_BRIGHTNESSDOWN" and "KEY_BRIGHTNESSUP"), and rfkill
> ("KEY_WLAN") hotkeys -- these are the Fn-shifted versions of Esc, F1,
> F2, F3, F4, F5, F6, F7 and F8 -- keys no longer work. Neither does the
> lid-switch.
>
> Fn+F9, Fn+10, Fn+F11 and Fn+12 still work; those show up on
> /dev/input/event3 like the rest of my keyboard, but the hotkeys show up
> on /dev/input/event6.
>
> I'm on ArchLinux. My keys worked on v6.19.14, I first noticed them
> broken on v7.0.2.
>
> I bisected mainline and found the break is: "ACPI: scan: Use
> acpi_setup_gpe_for_wake() for buttons"
> <https://lore.kernel.org/all/[email protected]/>.
> That is, 57c31e6d620f132dcf610b2c52b4cdbd203c6f4a is bad and
> 88fad6ce090b395af4c654594a54589a386bf24b is good.
>
> #regzbot introduced: 57c31e6d620f132dcf610b2c52b4cdbd203c6f4a
>
> Maybe acpi_mark_gpe_for_wake was initializing something particular to
> Toshiba hardware?

Thanks for reporting!

I think that the problem is acpi_setup_gpe_for_wake() doing too much,
I'll send you a patch to test later today.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.