Skip to content

toshiba_acpi: Hotkey handling and keymap updates

Azael Avalos lkml platform-driver-x86 2 versions – Applied

Status from this message: Queued, thank you Azael.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied
  2. v13 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- Renamed HCI_HOTKEY_EVENT_TYPE to HCI_SYSTEM_INFO definition to better reflect what the call does, and also the HCI_HOTKEY_EVENT_* types
- Fixed a typo in the error description
- Added a comment block explaining a bit why we also use the "Special Functions" as a check for keymap selection

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3toshiba_acpi: Add Hotkey Event Type function and definitionsdrivers/platform/x86/toshiba_acpi.c+25 -00 replies
2/3toshiba_acpi: Use the Hotkey Event Type function for keymap choosingdrivers/platform/x86/toshiba_acpi.c+32 -380 replies
3/3toshiba_acpi: Fix the enabling of the Special Functionsdrivers/platform/x86/toshiba_acpi.c+24 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] toshiba_acpi: Hotkey handling and keymap updates

These patches add support to a new function that queries the supported Hotkey Event Type, making the use of the DMI matching unnecessary and also fixes the "Special Functions" mode on some laptops.

Changes since v1:
- Renamed HCI_HOTKEY_EVENT_TYPE to HCI_SYSTEM_INFO definition to better reflect what the call does, and also the HCI_HOTKEY_EVENT_* types
- Fixed a typo in the error description
- Added a comment block explaining a bit why we also use the "Special Functions" as a check for keymap selection

Azael Avalos (3):
toshiba_acpi: Add Hotkey Event Type function and definitions
toshiba_acpi: Use the Hotkey Event Type function for keymap choosing
toshiba_acpi: Fix the enabling of the Special Functions

 drivers/platform/x86/toshiba_acpi.c | 118 ++++++++++++++++++++++++------------
 1 file changed, 80 insertions(+), 38 deletions(-)
Signature · 1 line
2.2.2