From nobody Fri Feb 3 08:46:28 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 4P7Tlr006Lz2nMP2 for ; Fri, 3 Feb 2023 08:46:31 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4P7Tlq4b10z4cWZ for ; Fri, 3 Feb 2023 08:46:31 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Authentication-Results: mx1.freebsd.org; none Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id 452A589281; Fri, 3 Feb 2023 08:46:29 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.17.1/8.16.1) with ESMTPS id 3138kSOx006054 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 3 Feb 2023 08:46:28 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.17.1/8.16.1/Submit) id 3138kSMO006053; Fri, 3 Feb 2023 08:46:28 GMT (envelope-from phk) Message-Id: <202302030846.3138kSMO006053@critter.freebsd.dk> To: Emmanuel Vadot cc: "parv/FreeBSD" , freebsd-current@freebsd.org Subject: Re: Could not change brightness anymore with i915kms & acpi_video modules c 202211 In-reply-to: <20230203084017.b1e8dc1f9116d8a55a1c2cfd@bidouilliste.com> From: "Poul-Henning Kamp" References: <202302022058.312Kwwj8003814@critter.freebsd.dk> <20230203084017.b1e8dc1f9116d8a55a1c2cfd@bidouilliste.com> 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 Content-Type: text/plain; charset="us-ascii" Content-ID: <6051.1675413988.1@critter.freebsd.dk> Date: Fri, 03 Feb 2023 08:46:28 +0000 X-Rspamd-Queue-Id: 4P7Tlq4b10z4cWZ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[freebsd]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N -------- Emmanuel Vadot writes: > On Thu, 02 Feb 2023 20:58:58 +0000 > "Poul-Henning Kamp" wrote: > > > -------- > > parv/FreeBSD writes: > > > > > > 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; > > > > Sorry for the delay in reporting back. > > > > I consistently read one less back, except for 0 and 100. > > Even 50 ? # backlight brightness: 0 # backlight 50 # backlight brightness: 49 # backlight 25 # backlight brightness: 24 # backlight 75 # backlight brightness: 74 yes > So if you have, let's say brightness at 50%, and you plug an external > monitor, brightness goes up to 100% ? No, plugging and unplugging does not change the backlight. But when the screen saver has kicked in, and I wake it up again, it comes back at 100, (and reads back as 100) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.