From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D39BD265623; Mon, 20 Oct 2025 15:23:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760973814; cv=none; b=oqS460sUAroOyfzgcWte8dN5klE1qMgY3mIzbbZxm3STBoZpwydhjXtayri6WNGGEXi0XMciffc2b6bU8ZKr56xIsMAM2q1/cS1OJvPUe9zxXr4XsOHZqlTkXwecyB0PPPkevVVNKXvG2qtSi4Az3H+OFtw03O/ce5Vfciv5bsc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760973814; c=relaxed/simple; bh=KQzmSRLR4RxsZ1lriusRZsCbqnxL0Gc4qoTBJ287psU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AIWM5prElzywnoCH14uD2V57PUatBuHL8OKirNhY3PA2/Pgxk5ARLL5ynKdNA9jCOO+NWqw5yxtoFZ5kCLbY9QkZbVcK1+FTzF7oLwhAjanVTuLW29qgljX7CEvfC9K2No1c92o0SUWmEDzwZ+XGOfEBFFHiFmq+mblzekVFo9k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pHWUxWmZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pHWUxWmZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 191A9C4CEF9; Mon, 20 Oct 2025 15:23:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1760973814; bh=KQzmSRLR4RxsZ1lriusRZsCbqnxL0Gc4qoTBJ287psU=; h=From:To:Cc:Subject:Date:From; b=pHWUxWmZIqF+Ll9g010kRrKxgRR59/wyrnvvYii8MdlNNuYQmXSWQETyT6tmXQ9NR DUXq+HHAQ98+vaHvC+1AQATP2dh9jXHkYXeCXJ9dz6saccUJuLvN4jA2sOFD7MBR1Q 0LNvFH32egkrv6d7tOL13TotirFFkOAqmg3wkuyNdMYL0OrI0kceFwnOIw3k1fKXJz WIocZqPV67VLoRdPRsRVmwcal5YX62Ltv43K70SLcw6tIcR7nSno/rgGfJfPG7pbrM gWY8aLQOxk+TTx4S3UlC78t00HvN03XGDgjJ2z1s4pTApV+Ej3Muue5VoZ1O8ByZ2G EFgXFswFlbnLg== From: Hans de Goede To: Dmitry Torokhov , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Andy Shevchenko Cc: Hans de Goede , linux-input@vger.kernel.org, platform-driver-x86@vger.kernel.org Subject: [PATCH 0/2] Input: Add keycodes for electronic privacy screen on/off an use these in dell-wmi Date: Mon, 20 Oct 2025 17:23:29 +0200 Message-ID: <20251020152331.52870-1-hansg@kernel.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: platform-driver-x86@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(+) -- 2.51.0