mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/4] platform/x86: asus-wmi: fix screenpad backlight regression
@ 2026-09-16 14:38 Denis Benato
  2026-09-16 14:38 ` [PATCH v1 1/4] platform/x86: asus-wmi: fix unclear usage of bd->props.power Denis Benato
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Denis Benato @ 2026-09-16 14:38 UTC (permalink / raw)
  To: platform-driver-x86
  Cc: linux-kernel, Ilpo Järvinen, Hans de Goede, Corentin Chary,
	Luke Jones, Hugo Baigue, Ponali,
	Manuel A. R. de Orúe Ríos, Salvatore Bonaccorso,
	Thorsten Leemhuis, Denis Benato, Denis Benato

Hi all,

I have touched ScreenPad handling code based on latest Luke's work
and in doing so I caused some regressions in the screenpad backlight
handling.

This patchset attempts to amend those regressions while also
improving the support based on feedbacks and suggestions
I have received.

The screenpad backlight regression introduced by 130d29c5627c
("platform/x86: asus-wmi: adjust screenpad power/brightness handling")
left the ScreenPad panel unusable on several models: the panel is
powered off at probe time or bl_power writes have inverted effects.
Patches 1 and 2 fix the regression, patch 3 makes the screenpad
backlight honor the core blank and suspend states and patch 4 removes
dead code left behind by the same rework.

I would ask everybody involved to test these changes again and
provide feedback.

Thanks to everyone who provided feedback and helped
identify the regressions, especially Hugo Baigue that also
provided values straight from the hardware and suggestions.

The use of AI here is to review the content and to research
relevant links, putting the correct tags at the end of
each patch and referencing the correct people,
the rest comes either from me or from Hugo.

Honestly I am a bit unsure on what older DUO models might
make of these changes, but it's impossible for them to work
worse than they are doing now due to me inverting
the backlight logic, so I'm willing to hear any brightness
misbehavior and to resolve them on a per-model basis if
this works well in newer laptops.

Best regards,
Denis Benato

Link: https://lore.kernel.org/regressions/178362762638.911488.8564892548331679884@eldamar.lan/ (X532FA regression, Debian #1141604)
Link: https://bugs.debian.org/1141604
Link: https://lore.kernel.org/all/CAO84+xJLVW_9_D9-8cwJYv_Vz+LK7nJqRaG-1P4_eeLrQmSiWw@mail.gmail.com/ (UX5400EA power state report)
Link: https://lore.kernel.org/all/CAO84+x+P2_xyHP89+nGVSMV6bL+dy0P9=vyEEfZGnFhv0hBNWw@mail.gmail.com/ (UX5400EA tests, brightness fix and DSDT analysis)
Link: https://lore.kernel.org/all/985b98f7-04a3-449b-ab6e-7f23e29e4b43@gmail.com/ (X532FA confirming patch 1 works)

Denis Benato (4):
  platform/x86: asus-wmi: fix unclear usage of bd->props.power
  platform/x86: asus-wmi: fix screenpad power state detection
  platform/x86: asus-wmi: use backlight_is_blank() for screenpad power
  platform/x86: asus-wmi: remove unused screenpad_brightness

 drivers/platform/x86/asus-wmi.c | 50 ++++++++++++++++-----------------
 drivers/platform/x86/asus-wmi.h |  1 -
 2 files changed, 24 insertions(+), 27 deletions(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-16 14:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-16 14:38 [PATCH v1 0/4] platform/x86: asus-wmi: fix screenpad backlight regression Denis Benato
2026-09-16 14:38 ` [PATCH v1 1/4] platform/x86: asus-wmi: fix unclear usage of bd->props.power Denis Benato
2026-09-16 14:38 ` [PATCH v1 2/4] platform/x86: asus-wmi: fix screenpad power state detection Denis Benato
2026-09-16 14:38 ` [PATCH v1 3/4] platform/x86: asus-wmi: use backlight_is_blank() for screenpad power Denis Benato
2026-09-16 14:38 ` [PATCH v1 4/4] platform/x86: asus-wmi: remove unused screenpad_brightness Denis Benato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®