From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-182.mta0.migadu.com (out-182.mta0.migadu.com [91.218.175.182]) (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 DE97F299950 for ; Thu, 12 Feb 2026 22:03:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770933782; cv=none; b=janZw7dG2EAajdA++0HTFWSHXZiO3N2gNJ5Qiz0Jw1szntMM4x1PdydeeXKyoRjJLwSdbmYY1He/8Jf7/A7YUomzRTr8Yi8EaoUqx2ig+EhGcf74v6CcKKmJwLp0PEsUlVQWOS9FhqBGybBumIHJ3L36I8ORLcT7/4bT+0ABYjU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770933782; c=relaxed/simple; bh=90QYMoiUroft8GQim75RnnuFDAeylxr6/CWp0Fw4UhY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TWx6ERsBohanHaTtShwDD0Kq8jVyDjZh9fSNHCp1dYh9UUqf3ELkavVuas4V5FcMEeWbrG0yTzMBJ8sQrdItw5fDePeuIcOnFQdqaJSiKk7l+DdpNEMIbR9Pzdx0wDrH0BNBwQ2ZObymF1z4NF2HVQp4P5C+qDVPT0tY7f/Nq0Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=c8PC9iMq; arc=none smtp.client-ip=91.218.175.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="c8PC9iMq" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1770933777; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Sf+hOtmM1l3ObM5YHGeZApVVQMU4eoSoKfTIbHypsZQ=; b=c8PC9iMqNj8fgb6NTBIHr8iFIaNG7hF1ToIo8JvZdv003U9uVBqxAfW5eNwENtY2QZZVCx JIOJvB6rTRjMmXnyoQVBegQN+zq2zSDfgRMLq/WSFTxo9D+Vok38ogYm5s46744gi/aAnm 0Kb6zn57D+ywWvkirXlM7Bd/0GsvPUY= From: Denis Benato To: linux-kernel@vger.kernel.org Cc: platform-driver-x86@vger.kernel.org, "Hans de Goede" , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , "Luke D . Jones" , "Mateusz Schyboll" , "Denis Benato" , Denis Benato Subject: [PATCH 0/2] platform/x86: asus-wmi: fix screenpad brightness/power management Date: Thu, 12 Feb 2026 23:02:50 +0100 Message-ID: <20260212220252.1526337-1-denis.benato@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Fix up some inconsistent behaviour involving the screenpad on some ASUS laptops. This fixes: - illogical screen off control (0/1 flipped depending on WMI state) - bad brightness depending on the last screenpad power state - incorrect brightness scaling Changelog: - v1 - Initial submission - v2 - Split patch in two - Remove a redundant variable copy Denis Benato (2): platform/x86: asus-wmi: adjust screenpad power/brightness handling platform/x86: asus-wmi: fix screenpad brightness scaling drivers/platform/x86/asus-wmi.c | 50 +++++++++++++-------------------- 1 file changed, 19 insertions(+), 31 deletions(-) -- 2.53.0