X86 platform drivers
 help / color / mirror / Atom feed
* toshiba_acpi: fn key started working inverse in satellite L50-B
@ 2024-07-01 15:53 kemal
  2024-07-01 17:14 ` Armin Wolf
  0 siblings, 1 reply; 4+ messages in thread
From: kemal @ 2024-07-01 15:53 UTC (permalink / raw)
  To: platform-driver-x86

in my TOSHIBA SATELLITE L50-B, the fn key started working
the inverse of how it should after upgrading to kernel 6.9.7
fn+function key used to emit an actual function key press, now instead
it emits a hotkey press and the key itself emits an actual function key
press. there are some recent commits to toshiba_acpi, but i cant see how
it could affect my hardware.
what could be the reason i lost the old behavior?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: toshiba_acpi: fn key started working inverse in satellite L50-B
  2024-07-01 15:53 toshiba_acpi: fn key started working inverse in satellite L50-B kemal
@ 2024-07-01 17:14 ` Armin Wolf
  2024-07-01 19:09   ` Armin Wolf
  0 siblings, 1 reply; 4+ messages in thread
From: Armin Wolf @ 2024-07-01 17:14 UTC (permalink / raw)
  To: kemal, platform-driver-x86

Am 01.07.24 um 17:53 schrieb kemal:

> in my TOSHIBA SATELLITE L50-B, the fn key started working
> the inverse of how it should after upgrading to kernel 6.9.7
> fn+function key used to emit an actual function key press, now instead
> it emits a hotkey press and the key itself emits an actual function key
> press. there are some recent commits to toshiba_acpi, but i cant see how
> it could affect my hardware.
> what could be the reason i lost the old behavior?

Hi,

it seems that commit 23f1d8b47d12 ("platform/x86: toshiba_acpi: Add quirk for buttons on Z830")
botched up the DMI quirk handling.

The global quick flag is tested in toshiba_acpi_enable_hotkeys(), which is called by
toshiba_acpi_setup_keyboard() before the global quirk flag is properly initialized.

Can you compile kernel modules on your device? If yes, then i can send you a prototype version
of this driver which should fix this issue.

Thanks,
Armin Wolf


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: toshiba_acpi: fn key started working inverse in satellite L50-B
  2024-07-01 17:14 ` Armin Wolf
@ 2024-07-01 19:09   ` Armin Wolf
  2024-07-01 19:41     ` kemal
  0 siblings, 1 reply; 4+ messages in thread
From: Armin Wolf @ 2024-07-01 19:09 UTC (permalink / raw)
  To: kemal, platform-driver-x86

[-- Attachment #1: Type: text/plain, Size: 1406 bytes --]

Am 01.07.24 um 19:14 schrieb Armin Wolf:

> Am 01.07.24 um 17:53 schrieb kemal:
>
>> in my TOSHIBA SATELLITE L50-B, the fn key started working
>> the inverse of how it should after upgrading to kernel 6.9.7
>> fn+function key used to emit an actual function key press, now instead
>> it emits a hotkey press and the key itself emits an actual function key
>> press. there are some recent commits to toshiba_acpi, but i cant see how
>> it could affect my hardware.
>> what could be the reason i lost the old behavior?
>
> Hi,
>
> it seems that commit 23f1d8b47d12 ("platform/x86: toshiba_acpi: Add
> quirk for buttons on Z830")
> botched up the DMI quirk handling.
>
> The global quick flag is tested in toshiba_acpi_enable_hotkeys(),
> which is called by
> toshiba_acpi_setup_keyboard() before the global quirk flag is properly
> initialized.
>
> Can you compile kernel modules on your device? If yes, then i can send
> you a prototype version
> of this driver which should fix this issue.
>
> Thanks,
> Armin Wolf
>
I attached a prototype version of the driver which should fix the issue. You can build the module using
"make" and load the resulting kernel module using "sudo insmod toshiba_acpi.ko" (remember to unload the
old driver first using "sudo modprobe -r toshiba_acpi").

Can you verify that the prototype driver indeed fixes the issue?

Thanks,
Armin Wolf

[-- Attachment #2: toshiba_acpi.zip --]
[-- Type: application/zip, Size: 18982 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: toshiba_acpi: fn key started working inverse in satellite L50-B
  2024-07-01 19:09   ` Armin Wolf
@ 2024-07-01 19:41     ` kemal
  0 siblings, 0 replies; 4+ messages in thread
From: kemal @ 2024-07-01 19:41 UTC (permalink / raw)
  To: Armin Wolf; +Cc: platform-driver-x86

im very sorry, i think i failed to mail my reply to the previous 
message.
also huge thanks for the quick response and fix.

yes, the prototype driver does indeed fix the issue.
On Pzt, Tem 1 2024 at 21:09:40 +02:00:00, Armin Wolf <W_Armin@gmx.de> 
wrote:
> Am 01.07.24 um 19:14 schrieb Armin Wolf:
> 
>> Am 01.07.24 um 17:53 schrieb kemal:
>> 
>>> in my TOSHIBA SATELLITE L50-B, the fn key started working
>>> the inverse of how it should after upgrading to kernel 6.9.7
>>> fn+function key used to emit an actual function key press, now 
>>> instead
>>> it emits a hotkey press and the key itself emits an actual function 
>>> key
>>> press. there are some recent commits to toshiba_acpi, but i cant 
>>> see how
>>> it could affect my hardware.
>>> what could be the reason i lost the old behavior?
>> 
>> Hi,
>> 
>> it seems that commit 23f1d8b47d12 ("platform/x86: toshiba_acpi: Add
>> quirk for buttons on Z830")
>> botched up the DMI quirk handling.
>> 
>> The global quick flag is tested in toshiba_acpi_enable_hotkeys(),
>> which is called by
>> toshiba_acpi_setup_keyboard() before the global quirk flag is 
>> properly
>> initialized.
>> 
>> Can you compile kernel modules on your device? If yes, then i can 
>> send
>> you a prototype version
>> of this driver which should fix this issue.
>> 
>> Thanks,
>> Armin Wolf
>> 
> I attached a prototype version of the driver which should fix the 
> issue. You can build the module using
> "make" and load the resulting kernel module using "sudo insmod 
> toshiba_acpi.ko" (remember to unload the
> old driver first using "sudo modprobe -r toshiba_acpi").
> 
> Can you verify that the prototype driver indeed fixes the issue?
> 
> Thanks,
> Armin Wolf



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-01 19:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01 15:53 toshiba_acpi: fn key started working inverse in satellite L50-B kemal
2024-07-01 17:14 ` Armin Wolf
2024-07-01 19:09   ` Armin Wolf
2024-07-01 19:41     ` kemal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox