lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260211173421.1206478-1-fabiobaltieri@chromium.org>
Date: Wed, 11 Feb 2026 17:34:19 +0000
From: Fabio Baltieri <fabiobaltieri@...omium.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>,
	Benson Leung <bleung@...omium.org>,
	Guenter Roeck <groeck@...omium.org>
Cc: Fabio Baltieri <fabiobaltieri@...omium.org>,
	Tzung-Bi Shih <tzungbi@...nel.org>,
	Simon Glass <sjg@...omium.org>,
	linux-input@...r.kernel.org,
	chrome-platform@...ts.linux.dev,
	linux-kernel@...r.kernel.org
Subject: [PATCH v7 0/2] Input: cros_ec_keyb - add function key support

Changes from v6:
  - Fixed a bug where normal key were sending the wrong MSC scancode
  - Added setkeycode handling so fn functionality is recomputed in
    runtime when the keymap is changed

Changes from v5:
  - minor renames/cosmetic changes
  - dropped the *_key_status array, tracking using the idev->key bitmask

Changes from v4:
  - just a comment tweak

Changes from v3:
  - implemented fn layer runtime detection
  - tweaked cros_ec_keyb_fn_code to return back the correct position
    code

Changes from v2:
  - renamed the dt property to use-fn-map, dropped the example
  - added few function comments
  - added a helper for obtaining the fn code
  - reordered, dt patch first

Changes from v1:
  - change struct to short types
  - refactored the fn key handling in its own function
  - changed props to use the google, prefix
  - reworked the properties to use an overlay map rather than a
    dedicated one

Fabio Baltieri (2):
  Input: export input_default_setkeycode
  Input: cros_ec_keyb - add function key support

 drivers/input/input.c                 |   9 +-
 drivers/input/keyboard/cros_ec_keyb.c | 191 +++++++++++++++++++++++---
 include/linux/input.h                 |   4 +
 3 files changed, 185 insertions(+), 19 deletions(-)

-- 
2.53.0.239.g8d8fc8a987-goog


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ