From nobody Thu Feb 2 09:36:01 2023 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 4P6twk4PV7z3cT3X for ; Thu, 2 Feb 2023 09:37:10 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P6twj6YRwz3rPk for ; Thu, 2 Feb 2023 09:37:09 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="L8LZjiv/"; spf=pass (mx1.freebsd.org: domain of parv.0zero9@gmail.com designates 2a00:1450:4864:20::636 as permitted sender) smtp.mailfrom=parv.0zero9@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x636.google.com with SMTP id dr8so4146129ejc.12 for ; Thu, 02 Feb 2023 01:37:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=pDJuC+ivA3WcVlGfdFVvwk2ymN+6wMKLeaNoQgz3Dms=; b=L8LZjiv/siRcVUOA+cOgzAALXx41iIowjmfuqN8Aa23VOrGNvHrASgVEAUfX6LhBRy MSswncan1kAWo1OkvtAwGc/ZV2e5YCTdVV51qzZrWuPYS3pz6pHTLcuz7Rsgbg7OSMzW S3GdybDuVYl/zm0Clbo0xHe/tGt96hc+Na0pgU5MdINPE3Qhq04aoL/rS51R1V/FHDGC HIyqEAxN+B8+hgPs0pj3KY8FFWzpvdF8et+TzBaIa/W72TQN610Kk82FPN9ZS9RDk96n //kboEUbci6OKwOVxQ2iBAIOzskKmPzSTQ0UgRnN/ceZ/Zn1FNXtKoI0vqO40TY/XmCr LvVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pDJuC+ivA3WcVlGfdFVvwk2ymN+6wMKLeaNoQgz3Dms=; b=4yt/vV1BPgmUXHcOTY6Ek7zZhxqKjOo2EIlDkwMKmUa9BnSx+YkQlAqPLvGLrmwluc yZ/gw7WL5FX6n8IlZTFM6nbQ4+pLsJkY3dPCq72CVeno6mU06aQ8L3GzAHMgIdbIVUTX Z7rC3INju/XSRQjUDXRWhkewwsU/NpJqthBr275kmOov0HLRWvOlAjXVlBABn+4afIFG XRN12YlmoWu9wXohEsUkTbp5GNUHkZ4KLFp8Nxgd5mtl8rlk16bMCicTmUeBjBp5cBlG 1WVbdhO+lyyUYvfbAB8A1bAcT7Jplo9gGwt70Vc9DjIwXekGsGKJ6XLB1CiotTBcg8cv RR/A== X-Gm-Message-State: AO0yUKUsyJz4h0xzCNdkIWgQmXiLyi7xD0LkP+TpTakaNnpSQ4of0GnW winRSoh57moxV590KRp6cpkxiNjW4nFgm3oDiBe7h/9Qvyk= X-Google-Smtp-Source: AK7set9ejgtQE+Ax15cRtCwdF6e9vRGrFznJj2f10hls+dHCkkpHnAOdlzqxWqQoAjs+WOSHclT9UWREDg1fT88Al8E= X-Received: by 2002:a17:906:71d3:b0:84d:28da:f3a with SMTP id i19-20020a17090671d300b0084d28da0f3amr1559291ejk.76.1675330628584; Thu, 02 Feb 2023 01:37:08 -0800 (PST) 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 References: In-Reply-To: From: "parv/FreeBSD" Date: Wed, 1 Feb 2023 23:36:01 -1000 Message-ID: Subject: Re: Could not change brightness anymore with i915kms & acpi_video modules c 202211 To: freebsd-current@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ff875805f3b44e8e" X-Spamd-Result: default: False [-3.40 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.40)[-0.404]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::636:from]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[freebsd]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4P6twj6YRwz3rPk X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --000000000000ff875805f3b44e8e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I should have requested in OP to CC to me as I have subscribed to -current@ list without receiving email. So here is my attempt to craft a reponse from the web page ... https://lists.freebsd.org/archives/freebsd-current/2023-January/003142.html > Oleksandr Kryvulia wrote on 20230131-092359 UTC > > 31.01.23 09:52, parv/FreeBSD =D0=BF=D0=B8=D1=88=D0=B5: > > > > Since around 2022-11, I am unable to change display brightness > > of the display of a Framework laptop (Intel i5-1135G7, Iris > > Xe iGPU) with "i915kms" module (from "drm-510-kmod" package/port) > > & "acpi_video" (FreeBSD) kernel module. > > > > Earlier I was able to change brightness via "hw.acpi.video" MIB ... > > > > # - Need to have both "i915kms" & "acpi_video" modules already loaded. > > # > > # 20221120 - These MIBs do not work anymore as they are missing. > > hw.acpi.video.lcd0.economy=3D10 > > hw.acpi.video.lcd0.fullpower=3D40 > > hw.acpi.video.lcd0.brightness=3D15 ... > Does backlight(8) works for you? Thanks for the clue. It does! It does ... - I get the same number back via "backlight" without any arguments as what I gave it earlier. There was no reporting of value being subtracted by one; - with 0, everything was near-black, dark enough for not being able to read anything on the console; - with 100, screen was surely damn bright *oh my eyes* - unlike Poul-Hennig K's experience ... https://lists.freebsd.org/archives/freebsd-current/2023-January/003143.html ... when running with & without AC (for short periods) I did not see any change in "backlight" behaviour. The brightness did not change unless I had changed it myself. Thanks again. FreeBSD here is ... FreeBSD luna 14.0-CURRENT FreeBSD 14.0-CURRENT #6 main-n260169-34ac629b40e6: Fri Jan 20 07:05:01 HST 2023 root@luna:/build/world/freebsd/src/amd64.amd64/sys/GENERIC-Light amd64 - parv -- --000000000000ff875805f3b44e8e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I should have requested in OP to CC to me as I have subscribed to
-cu= rrent@ list without receiving email.

So here is my attempt to craft = a reponse from the web page ...

=C2=A0 https://lists.fr= eebsd.org/archives/freebsd-current/2023-January/003142.html


= > Oleksandr Kryvulia wrote on 20230131-092359 UTC
>
> 31.01.= 23 09:52, parv/FreeBSD =D0=BF=D0=B8=D1=88=D0=B5:
> >
> > = Since around 2022-11, I am unable to change display brightness
> >= of the display of a Framework laptop (Intel i5-1135G7, Iris
> > X= e iGPU) with "i915kms" module (from "drm-510-kmod" pack= age/port)
> > & "acpi_video" (FreeBSD) kernel module= .
> >
> > Earlier I was able to change brightness via &qu= ot;hw.acpi.video" MIB ...
> >
> > # - Need to have b= oth "i915kms" & "acpi_video" modules already loaded= .
> > #
> > # 20221120 - These MIBs do not work anymore a= s they are missing.
> > hw.acpi.video.lcd0.economy=3D10
> &g= t; hw.acpi.video.lcd0.fullpower=3D40
> > hw.acpi.video.lcd0.bright= ness=3D15
...
> Does backlight(8) works for you?

Thanks for= the clue. It does! It does ...

- I get the same number back via &qu= ot;backlight" without any arguments as
=C2=A0 what I gave it earlie= r. There was no reporting of value being
=C2=A0 subtracted by one;
- with 0, everything was near-black, dark enough for not being able to=C2=A0 read anything on the console;

- with 100, screen was surely = damn bright *oh my eyes*

- unlike Poul-Hennig K's experience ...=

=C2=A0 =C2=A0 https://lists.freebsd.org/archives/freeb= sd-current/2023-January/003143.html

=C2=A0 ... when running with= & without AC (for short periods) I did not see
=C2=A0 any change in= "backlight" behaviour. The brightness did not change
=C2=A0 u= nless I had changed it myself.

Thanks again.


FreeBSD here= is ...

=C2=A0 FreeBSD luna 14.0-CURRENT FreeBSD 14.0-CURRENT #6
= =C2=A0 main-n260169-34ac629b40e6: Fri Jan 20 07:05:01 HST 2023
=C2=A0 ro= ot@luna:/build/world/freebsd/src/amd64.amd64/sys/GENERIC-Light
=C2=A0 am= d64


- parv

--

--000000000000ff875805f3b44e8e--