From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-188.mta1.migadu.com (out-188.mta1.migadu.com [95.215.58.188]) (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 716FF421EF4 for ; Fri, 10 Jul 2026 12:17:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783685867; cv=none; b=clRXQLOrschVylDpqz9nO9ZmcTWFhiE8UfCxBi5B+XAK6/wY4B/duFkoiV/NFI2DUfA1+4Gnu1SDGk7AQD2XUDTXUwOGh8jw4um06t1Co3H2AOBeOs6V7L+fM2mUnYn29jkiE1SdD7rYDs89Em634b8GoTybYTyqt/D1j9nwkZM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783685867; c=relaxed/simple; bh=Xd+LIjsrX1OWvnvYe+x0CfkSqvNfwoaRAv8uAYDV1Gw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Bwe1dMK5f8HfswlDAFor4Fgr9LqaFZziTSUsHD3eQmndegV/KSVaQu6BnrM/A1LmUT/iiaSZ/gB5hN3YTYl+LzCaWzqkoxquY9c486aiFsP95SOXX9SGITkmwLzk4wL4i8msJoSLzpRBsAZ42kvcWUPh72NAYCGAbbwQNPBCwCA= 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=kZnlcEJh; arc=none smtp.client-ip=95.215.58.188 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="kZnlcEJh" Message-ID: <98dc115b-1dec-4fbb-bab7-2588e8b74bf8@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1783685861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Xd+LIjsrX1OWvnvYe+x0CfkSqvNfwoaRAv8uAYDV1Gw=; b=kZnlcEJhPS0dndovJ7ijsJHEXiC6pXcs7enFkBE4YGba1fowC4m68Jr2RGpcL6KWSSW1yI cgY3ib5TWg5iSn3yfhU2whuWvGM1uUbWchrq0fv0AHg2nBdNRsSGfladGK5T8nxY/vCMjJ dPv2PLuYiRpKeGoNCD1nn8u3/p074VI= Date: Fri, 10 Jul 2026 14:17:12 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: Bug#1141604: linux-image-6.12.94+deb13-amd64: does not detect ScreenPad on ASUS VivoBook To: Salvatore Bonaccorso , Ponali , Luke Jones , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , Corentin Chary , Hans de Goede Cc: 1141604@bugs.debian.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev, stable@vger.kernel.org References: <178340264407.17924.10135409461303815312.reportbug@ananaspc> <178362762638.911488.8564892548331679884@eldamar.lan> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Denis Benato In-Reply-To: <178362762638.911488.8564892548331679884@eldamar.lan> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 7/9/26 22:08, Salvatore Bonaccorso wrote: > Control: forwarded -1 https://lore.kernel.org/regressions/178362762638.911488.8564892548331679884@eldamar.lan > Control: tags -1 + upstream > > Hi, > > Ponali reported in Debian (https://bugs.debian.org/1141604) the > following issue after updating from 6.12.90 to 6.12.94. First quoting > the report: > > On Tue, Jul 07, 2026 at 07:37:24AM +0200, Ponali wrote: >> Package: src:linux >> Version: 6.12.94-1 >> Severity: normal >> Tags: upstream, regression >> X-Debbugs-Cc: ponali2k@gmail.com >> >> Last known working kernel: 6.12.90-1 >> First known broken kernel: 6.12.94-1 >> >> >> Dear Maintainer, >> >> I upgraded all my packages through apt, which also upgraded the linux image >> from 6.12.90 to 6.12.94. >> >> I expected the ScreenPad display to continue to be detected and exposed as a >> DRM output, like on 6.12.90. The ScreenPad being the trackpad with a screen, >> which came with my computer (ASUS VivoBook X532FA_S532FA). >> >> After upgrading and rebooting, the new kernel caused a regression where the >> display of the ScreenPad fails to get recognized by the kernel. The touchpad >> functionality still works. Usually, the ScreenPad would appear as "HDMI-A-1". >> The DRM connector for it still exists (/sys/class/drm/card0-HDMI-A-1), but >> "status" reports "disabled" >> >> I could not get the ScreenPad display to be recognized again on the new kernel, >> so I configured GRUB to automatically boot to the 6.12.90 kernel through the >> "Advanced Options". The ScreenPad is recognized on older kernel versions, so I >> am still able to use it (until a new LPE comes around). >> >> To replicate: >> 1. Boot with 6.12.90. The ScreenPad display is detected as HDMI-A-1. >> 2. Boot with 6.12.94 with the exact same hardware. >> 3. The ScreenPad display is no longer usable. >> >> >> My main display is eDP-1 (1920x1080), though it isn't essential. My GPU is an >> integrated Intel iGPU, and the driver used for both screens is i915. I have >> booted to the new kernel for reportbug to get all the information >> automatically, but i will continue to use the old one until the appropriate >> time. > Now, Ponali did bisect the changes between 6.12.90 and 6.12.94 and > found that the backport of the commit 8d95d1f4aa5c ("platform/x86: > asus-wmi: fix screenpad brightness range") changed the behaviour. > Bisect log is at: https://bugs.debian.org/1141604#22 > > As this change was backported to other stable series as well I asked > Ponali to please test 7.0.y and 7.1.y and confirmed that both 7.0.13 > and as well 7.1.3 show the hehaviour. > > #regzbot introduced: 8d95d1f4aa5c76202b0833a70998769384612488 > #regzbot link: https://bugs.debian.org/1141604 > > Is there anything Ponali can report back to further debug the issue? Hi Salvatore, The commit incriminated is this one: https://lore.kernel.org/all/20260302174431.349816-3-denis.benato@linux.dev/ As you can see that commit changes min/max of the brightness range, but does not touch the detection at all, while the user is complaining about "the display of the ScreenPad fails to get recognised by the kernel" and I can only thing about two things: - I got the range wrong and the kernel is rejecting the device due to wrong min/max - It's not true that the kernel fails to recognise the device and instead it's userspace refusing to expose it (this happened recently with upower for the battery so it can very well be a possibility) >From the dmesg logs I don't see kernel being angry and rejecting the screenpad so I am leaning on the second option: may I ask for the user to try identify the sysfs attribute responsible to control the brightness and get me the range of min/max? Also I would be curious to know if changing desktop like KDE or GNOME changes something. > Regards, > Salvatore