Skip to contentSkip to conversation

hardware-privacy-implementation-for-dell-laptop

PATCH Superseded Perry Yuan 1 participant 1 message Mar 22, 2021 x86 platform drivers

v5 of 8 Superseded Latest is v8 →

lore
Share & tools
lore

Perry Yuan

author
#0 lore raw

v5 cover hardware-privacy-implementation-for-dell-laptop

From: Perry Yuan <[email protected]>

Hi All,
This patch set is a new driver for Dell mobile platform that has the hardware privacy feature including micmute,camera mute.

For micmute led control, the hotkey is Fn + F4, it is a hardware based mute state, and new privacy will prevent micphone void input from hardware layer, any application cannot get voice data when micmute activated.

Camera mute use a new hardware design to control the camrea shutter. When video is muted, no OS application should be functionally able to capture images of the person/environment in front of the system

Older history:
[1]https://patchwork.kernel.org/project/platform-driver-x86/patch/[email protected]/ [2]https://patchwork.kernel.org/project/alsa-devel/patch/[email protected]/#23733605 [3]https://www.spinics.net/lists/alsa-devel/msg120537.html [4]https://github.com/thesofproject/linux/pull/2660 [5]https://github.com/thesofproject/linux/issues/2496

Perry Yuan (2):
platform/x86: dell-privacy: Add support for Dell hardware privacy
ASoC: rt715:add micmute led state control supports

 .../testing/sysfs-platform-dell-privacy-wmi   |  32 ++
 drivers/platform/x86/dell/Kconfig             |  16 +
 drivers/platform/x86/dell/Makefile            |   3 +
 drivers/platform/x86/dell/dell-laptop.c       |  23 +-
 drivers/platform/x86/dell/dell-privacy-acpi.c | 164 +++++++++
 drivers/platform/x86/dell/dell-privacy-wmi.c  | 340 ++++++++++++++++++
 drivers/platform/x86/dell/dell-privacy-wmi.h  |  35 ++
 drivers/platform/x86/dell/dell-wmi.c          |  27 +-
 sound/soc/codecs/rt715-sdca.c                 |  11 +
 sound/soc/codecs/rt715.c                      |  12 +
 10 files changed, 650 insertions(+), 13 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-platform-dell-privacy-wmi
 create mode 100644 drivers/platform/x86/dell/dell-privacy-acpi.c
 create mode 100644 drivers/platform/x86/dell/dell-privacy-wmi.c
 create mode 100644 drivers/platform/x86/dell/dell-privacy-wmi.h
Signature · 1 line
2.25.1