Skip to content

Input: Add keycodes for electronic privacy screen on/off an use these in dell-wmi

Hans de Goede linux-input platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Input: Add keycodes for electronic privacy screen on/off hotkeysinclude/uapi/linux/input-event-codes.h+12 -01 reply
2/2platform/x86: dell-wmi-base: Handle electronic privacy screen on/off eventsdrivers/platform/x86/dell/dell-wmi-base.c+12 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDmitry Torokhov
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Input: Add keycodes for electronic privacy screen on/off an use these in dell-wmi

Hi All,

Here is a patch series for adding support for the electronic privacy screen on/off events send on e.g. Dell Latitude 7300 models.

On these laptops the firmware does not allow querying the presence nor the status of the eprivacy screen at boot. This makes it impossible to implement the drm connector eprivacy properties API (1) since drm objects do not allow adding new properties after creation and the presence of the eprivacy cannot be detected at boot.

So instead this series adds 2 evdev keycodes for eprivacy screen on + off and modifies the dell-wmi driver to use these, so that we can still propagate these events to userspace for e.g. a DE to show an OSD.

Dmitry, can we get your ack for the addition of the 2 new keycodes? I think it will be easiest if Ilpo merges the entire series through the pdx86 tree with your ack for the keycodes.

Regards,

Hans

1) https://www.kernel.org/doc/html/latest/gpu/drm-kms.html#standard-connector-properties

Hans de Goede (2):
Input: Add keycodes for electronic privacy screen on/off hotkeys platform/x86: dell-wmi-base: Handle electronic privacy screen on/off
events

 drivers/platform/x86/dell/dell-wmi-base.c | 12 ++++++++++++
 include/uapi/linux/input-event-codes.h    | 12 ++++++++++++
 2 files changed, 24 insertions(+)
Signature · 1 line
2.51.0