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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2b7d8dca-b476-19c8-0bfb-7f3c0ccd2323@linux.intel.com>
Date: Thu, 20 Nov 2025 12:44:02 +0200 (EET)
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: Werner Sembach <wse@...edocomputers.com>
cc: W_Armin@....de, Hans de Goede <hansg@...nel.org>, 
    platform-driver-x86@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 1/2] platform/x86/uniwill: Handle more WMI events
 required for TUXEDO devices

On Wed, 19 Nov 2025, Werner Sembach wrote:

> 
> Am 18.11.25 um 16:02 schrieb Werner Sembach:
> > Handle some more WMI events that are triggered on TUXEDO devices.

To avoid another round-trip and a version, please write a bit more what 
this is about than extremely vague "some".

-- 
 i.

> > 
> > Signed-off-by: Werner Sembach <wse@...edocomputers.com>
> > ---
> >   drivers/platform/x86/uniwill/uniwill-acpi.c | 19 ++++++++++++++++++-
> >   drivers/platform/x86/uniwill/uniwill-wmi.h  |  2 ++
> >   2 files changed, 20 insertions(+), 1 deletion(-)
> > 
> > diff --git a/drivers/platform/x86/uniwill/uniwill-acpi.c
> > b/drivers/platform/x86/uniwill/uniwill-acpi.c
> > index 014960d16211b..4efb5a909f717 100644
> > --- a/drivers/platform/x86/uniwill/uniwill-acpi.c
> > +++ b/drivers/platform/x86/uniwill/uniwill-acpi.c
> > @@ -371,9 +371,11 @@ static const struct key_entry uniwill_keymap[] = {
> >     	/* Reported in manual mode when toggling the airplane mode status */
> >   	{ KE_KEY,       UNIWILL_OSD_RFKILL,                     { KEY_RFKILL
> > }},
> > +	{ KE_IGNORE,    UNIWILL_OSD_RADIOON,                    { KEY_UNKNOWN
> > }},
> > +	{ KE_IGNORE,    UNIWILL_OSD_RADIOOFF,                   { KEY_UNKNOWN
> > }},
> >     	/* Reported when user wants to cycle the platform profile */
> > -	{ KE_IGNORE,    UNIWILL_OSD_PERFORMANCE_MODE_TOGGLE,    { KEY_UNKNOWN
> > }},
> > +	{ KE_KEY,       UNIWILL_OSD_PERFORMANCE_MODE_TOGGLE,    { KEY_F14 }},
> >     	/* Reported when the user wants to adjust the brightness of the
> > keyboard */
> >   	{ KE_KEY,       UNIWILL_OSD_KBDILLUMDOWN,               {
> > KEY_KBDILLUMDOWN }},
> > @@ -382,11 +384,19 @@ static const struct key_entry uniwill_keymap[] = {
> >   	/* Reported when the user wants to toggle the microphone mute status
> > */
> >   	{ KE_KEY,       UNIWILL_OSD_MIC_MUTE,                   { KEY_MICMUTE
> > }},
> >   +	/* Reported when the user wants to toggle the mute status */
> > +	{ KE_IGNORE,    UNIWILL_OSD_MUTE,                       { KEY_MUTE }},
> > +
> >   	/* Reported when the user locks/unlocks the Fn key */
> >   	{ KE_IGNORE,    UNIWILL_OSD_FN_LOCK,                    { KEY_FN_ESC
> > }},
> >     	/* Reported when the user wants to toggle the brightness of the
> > keyboard */
> >   	{ KE_KEY,       UNIWILL_OSD_KBDILLUMTOGGLE,             {
> > KEY_KBDILLUMTOGGLE }},
> > +	{ KE_KEY,       UNIWILL_OSD_KB_LED_LEVEL0,              {
> > KEY_KBDILLUMTOGGLE }},
> > +	{ KE_KEY,       UNIWILL_OSD_KB_LED_LEVEL1,              {
> > KEY_KBDILLUMTOGGLE }},
> > +	{ KE_KEY,       UNIWILL_OSD_KB_LED_LEVEL2,              {
> > KEY_KBDILLUMTOGGLE }},
> > +	{ KE_KEY,       UNIWILL_OSD_KB_LED_LEVEL3,              {
> > KEY_KBDILLUMTOGGLE }},
> > +	{ KE_KEY,       UNIWILL_OSD_KB_LED_LEVEL4,              {
> > KEY_KBDILLUMTOGGLE }},
> >     	/* FIXME: find out the exact meaning of those events */
> >   	{ KE_IGNORE,    UNIWILL_OSD_BAT_CHARGE_FULL_24_H,       { KEY_UNKNOWN
> > }},
> > @@ -395,6 +405,9 @@ static const struct key_entry uniwill_keymap[] = {
> >   	/* Reported when the user wants to toggle the benchmark mode status */
> >   	{ KE_IGNORE,    UNIWILL_OSD_BENCHMARK_MODE_TOGGLE,      { KEY_UNKNOWN
> > }},
> >   +	/* Reported when the user wants to toggle the webcam */
> > +	{ KE_IGNORE,    UNIWILL_OSD_WEBCAM_TOGGLE,              { KEY_UNKNOWN
> > }},
> > +
> >   	{ KE_END }
> >   };
> >   @@ -1247,6 +1260,10 @@ static int uniwill_notifier_call(struct
> > notifier_block *nb, unsigned long action
> >   		}
> >   		mutex_unlock(&data->battery_lock);
> >   +		return NOTIFY_OK;
> > +	case UNIWILL_OSD_DC_ADAPTER_CHANGED:
> > +		// noop for the time being
> Sorry forgot to edit comment style here, will do for v3 but first waiting for
> ack of the rest.
> > +
> >   		return NOTIFY_OK;
> >   	default:
> >   		mutex_lock(&data->input_lock);
> > diff --git a/drivers/platform/x86/uniwill/uniwill-wmi.h
> > b/drivers/platform/x86/uniwill/uniwill-wmi.h
> > index 2bf69f2d80381..48783b2e9ffb9 100644
> > --- a/drivers/platform/x86/uniwill/uniwill-wmi.h
> > +++ b/drivers/platform/x86/uniwill/uniwill-wmi.h
> > @@ -113,6 +113,8 @@
> >     #define UNIWILL_OSD_BENCHMARK_MODE_TOGGLE	0xC0
> >   +#define UNIWILL_OSD_WEBCAM_TOGGLE		0xCF
> > +
> >   #define UNIWILL_OSD_KBD_BACKLIGHT_CHANGED	0xF0
> >     struct device;
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ