From nobody Mon May 23 14:59:07 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 67C9C1B4F39B for ; Mon, 23 May 2022 14:59:16 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L6L834RvCz4bjb for ; Mon, 23 May 2022 14:59:15 +0000 (UTC) (envelope-from pete@nomadlogic.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1653317948; 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=vUA77dWFiqvy6+8AF517wCuPEX590+lHwpDe93AhlmE=; b=qdvwJubbb3XFqHobckXXkQEGKZfwrZLVu6AXBIHJobdbnW6LVG/9ZkR8XPdNbaFPedJInv wZlwK3+poRkYCu3lIxE78UHLQe32xwpdADSliKPtLJ86dlmk7rgqLTjGF4GW1ZEv/S7kjv 7jAVbc1bPg0ela9Bu4XPv2q2ij8m+m0= Received: from [192.168.1.160] (cpe-24-24-168-214.socal.res.rr.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 5ff7cdf2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 23 May 2022 14:59:08 +0000 (UTC) Message-ID: Date: Mon, 23 May 2022 07:59:07 -0700 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: no hw.acpi.video.lcd0 with graphics/drm-510-kmod Content-Language: en-US To: Emmanuel Vadot Cc: FreeBSD Current References: <279458c5-74ce-55ec-9dac-de4a064243a9@nomadlogic.org> <20220523093745.ab74225307d0ec8981849acd@bidouilliste.com> From: Pete Wright In-Reply-To: <20220523093745.ab74225307d0ec8981849acd@bidouilliste.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4L6L834RvCz4bjb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=qdvwJubb; dmarc=pass (policy=quarantine) header.from=nomadlogic.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-2.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.03)[0.029]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[nomadlogic.org:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; MLMMJ_DEST(0.00)[freebsd-current]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 5/23/22 00:37, Emmanuel Vadot wrote: > On Sun, 22 May 2022 09:08:12 -0700 > Pete Wright wrote: > >> hello, >> i have a lenovo P43s laptop running current.  i've noticed that since >> graphics/drm-510-kmod became available hw.acpi.video.lcd0 ceases to >> exist (which makes it impossible to adjust screen brightness).  i've >> installed graphics/drm-54-kmod and things work as expected.  previously >> i was running drm-devel-kmod without issues, so i think it's probably an >> issue with the 5.10 driver? >> >> i can file a bug report for this (or just test out patches here if >> that's easier), but wanted to see if anyone here had observed this on >> other laptops first. >> >> cheers, >> -pete >> >> -- >> Pete Wright >> pete@nomadlogic.org >> @nomadlogicLA >> >> > Not sure what's happening as this sysctl is exposed by acpi_video(4) > and not related to drm. > But you shouldn't need this, backlight(8) should work everywhere once > drm is loaded. yea that's why i was confused, i investigated acpi_video changes and didn't see anything obvious. before i started trying to bisect recent acpi changes i thought it would be a good idea to test the drm-54-kmod port, which restored that sysctl knob.  sounds like i should continue to try to bisect the acpi kernel changes under 5.10 and see what i can find though. cheers, -p -- Pete Wright pete@nomadlogic.org @nomadlogicLA